Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:844777
More Search Options
RSS Available
Matching Posts
Re: Classes slows my application down
Using classes generally do not slows down your application. Application goes slow due to bad artichture. You need to find the reason why your site is going slow. Try using profiler or a simple techinque like this to find slow areas in your code:- DateTime startdate = DateTime.Now() /* Code */ DateTime enddate = DateTime.Now() now substract enddate - startdate convert in timespan obj and you will get execution time. First try to figure out what code is slowing down your application, then optimize
Posted to
Getting Started
(Forum)
by
sirdneo
on 11/24/2009
Re: best way to expire session when we not need session is our apps
THere are two methods available to clear session :- Session.Abandon() This functions destroys all the variables in session and destroy session as well. (Session_End event will be fired and incase user request another page, then session_start event will be fired) Session.Clear() This functions only clear all the variables in session but do not destroy the session. (No session_end or start event will be fired in this case) Now you can choose that how to terminate your session based on your scenario
Posted to
State Management
(Forum)
by
sirdneo
on 11/24/2009
Re: My Application Session Gets Expired During Use.
There are different places from where you can set time out in your application. For Details see:- How to set Session Timeout in ASP.Net If you set timeout as mentioned in above article and still you are loosing session before time or loosing session randomly then it might be because of server restarts. For details see:- Why .Net sessions are terminated/loss unexpectedly
Posted to
State Management
(Forum)
by
sirdneo
on 11/10/2009
Re: Internet Information Service
IIS is abbrivation of Internet Information Services. This is used to host web pages which are written in ASP/ASP.net or HTML. If you are new to IIS then look this site:- http://learn.iis.net/
Posted to
Getting Started
(Forum)
by
sirdneo
on 11/10/2009
Re: Website shut down - too much CPU being used
Make sure that you are not sending multiple requests in same time , please share that how you are calling this service. Also check for DOS attacks, for details of DOS attacks see:- http://www.webpronews.com/expertarticles/2007/01/19/aspnet-easily-block-dos-attacks
Posted to
XML Web Services
(Forum)
by
sirdneo
on 11/5/2009
Re: Website shut down - too much CPU being used
Please share the implementation of _Random.RandomNumber. If you are passing a high value to ' Qty' then your code can also be optimized little bit by removing unnecessory Conversion like this:- int n1 = _Random.RandomNumber(Min, Max); int n2 = _Random.RandomNumber(Min, Max); string exp = n1 + "+" + n2; string corrAns = (n1+n2).ToString(); Also check your RandonNumber function if you are implemented something like this:- public int RandomNumber( int min, int max) { Random random
Posted to
XML Web Services
(Forum)
by
sirdneo
on 11/4/2009
Re: Setting values in a single-item box with scrolling controls.
See this ajax numeric updown control:- http://www.asp.net/AJAX/AjaxControlToolkit/Samples/NumericUpDown/NumericUpDown.aspx
Posted to
Web Forms
(Forum)
by
sirdneo
on 11/4/2009
Re: Email Form in C# - not sending
Here is a very simple way to send emails thorugh asp.net with complete code:- http://zeeshanumardotnet.blogspot.com/2009/01/send-mails-via-net_6900.html Also see at the bottom that how to send emails through Gmail account. private const int SmtpPort = 465; private const string SmtpServer = "smtp.gmail.com" ; private const string UserName = "__ USER NAME ___" ; private const string Password = "__ PASSWORD __" ; private const bool EnableSsl = true ;
Posted to
Getting Started
(Forum)
by
sirdneo
on 11/2/2009
Re: nesting repeaters
You have to place repeater inside repeaters to achieve this here is the over view of repeaters:- <Repeater1> <HeaderTemplate> Display HEaders Here </headertemplate> <itemtemplate> Display Employee Details Here </itemtemplate> <footertemplate> display totals here and Place a new repater <repater2> <itemtemplate> DIsplay Employee Vs Department Totals , set this repeater datasource accordingly </itemtemplate> </repater2> <repater3> <itemtemplate>DIsplay
Posted to
Data Presentation Controls
(Forum)
by
sirdneo
on 11/2/2009
Re: Parser Error
Your page directive shows :- CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" but your code file have WebForm11 as class name. It seems that you have renamed your class. To resolve this problem, just create a New Page i.e. MyWebForm. COpy all the HTML from your aspx page (Except the @Page directive line) into MyWebForm.aspx copy all the code which is inside your WebForm11 class to MyWebForm.cs
Posted to
Getting Started
(Forum)
by
sirdneo
on 11/2/2009
Page 1 of 112 (1118 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online