ASP.NET FAQS
1 2 3
What are the three types of SessionState modes?
  1.InProc - Session kept as a live object in the web server(aspnet_wp.exe)
2.StateServer - Session serialized and stored in the memory as a seperate process(aspnet_state.exe), we can use it for webfarm architecture
3.SQLServer - Session serialized and stored in the sql server
What are the 6 types of validation controls in ASP.NET?
  1. Required Field Validator 2. Range Validator 3. Regular Expression Validator 4. Compare Validator 5. Custom Validator 6. Validation Summary
Which property to be set for avoiding validations for a button?
  CausesValidation=False
What are the three types of caching in ASP.NET?
  1. Output Caching(Page Caching)- stores the responses from an asp.net page(aspx) or user control(.ascx).
2.Fragment Caching(Partial Caching) - Only stores the portion of a page.
3. Data Caching - is the programmatic way to your objects to a managed cache.
//Add item
Cache["TopProducts"] = objTopProductsDataset;
//Retrieve item
objDataset = Cache["TopProducts"];
How to Manage state in ASP.NET?
  we can manage the state in two ways
Clent based techniques are Viewstate, Query strings and Cookies.
Server based techniques are Application and Session
Which are the two properties on every validation control?
  ControlToValidate & ErrorMessage
What is the different between Server.Transfer and Response.Redirect
  Server.Transfer used to transfer the contents from one page to another(same webserver)
Response.Redirect used to transfer the contents from one server to external server too
What are ASP.NET 2.0 Page Life Cycle Events?
  1.PreInit, 2.Init, 3.InitComplete, 4.PreLoad, 5.Load, 6.Control events, 7.LoadComplete, 8.PreRender, 9. SaveStateComplete, 10. Render, 11.Unload
What are the differences between HTML controls and Web controls?
 
Web Server Controls HTML Server Controls
Web Controls are feature rich controls. Calendar controls,Datagrid,Repeater, validation controls. HTML controls are small and light weight.
Viewstate support No viewstate support
Inherit from System.Web.UI.WebControls Inherit from System.Web.UI.HTMLControls
How can I use IIS to test my pages in VS.NET, and not use the internal server?
  In the Solution Explorer, right-click the name of the Web site for which you
want to specify a Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.

In the Base URL box, type the URL that Visual Web Developer
should start when running the current Web site. You can use localhost.

From that point on, the VS.NET IDE will not use the internal web server,
but will use IIS to open your pages, i.e., if you are working on default.aspx,
it will be opened as : http://localhost/default.aspx
1 2 3
Comments and Discussions
Please feel free To Leave Your Comment
,

shrivalli,
Saturday 7 August 9:59 PM
need ASP.NET FAQs
mclaren, http://homamobile.net
Tuesday 26 October 4:29 AM
7ezzfR http://fiIndn3bco9cklLlaPUbc.com
mclaren, http://homamobile.net
Tuesday 26 October 4:29 AM
7ezzfR http://fiIndn3bco9cklLlaPUbc.com
Viney, http://www.yahoo.com/
Tuesday 3 May 2:52 AM
Thnaks for sharing. What a pleasure to read!
tvicixow, http://iswjihmmlazn.com/
Wednesday 4 May 11:40 AM
nWEthh , [url=http://ledlcgzxvagx.com/]ledlcgzxvagx[/url], [link=http://cyfoyepajpzs.com/]cyfoyepajpzs[/link], http://qfokjxrwygav.com/
Jntglkdl, link
Wednesday 25 January 10:45 PM
I'd like to withdraw $100, please
Jntglkdl, link
Wednesday 25 January 10:45 PM
I'd like to withdraw $100, please
Hqmkuqab, link
Wednesday 25 January 10:46 PM
I'd like to speak to someone about a mortgage
Hqmkuqab, link
Wednesday 25 January 10:46 PM
I'd like to speak to someone about a mortgage
Amnevqno, link
Wednesday 25 January 11:11 PM
A packet of envelopes
Amnevqno, link
Wednesday 25 January 11:11 PM
A packet of envelopes