What is Viewstate ? What are the advantages and disadvantages of it view state? View state is used to retain the state of the server side objects between post backs. Advantages : -Simple for page level data -Encrypted -Can be set at the control level. Disadvantages : -Overhead in encoding view state values -Makes a ..
Category : .Net Interview Questions
What are the differences between user control and server control User Control 1.Re-usability in web pages 2.Can not add to toolbox 3.Drag and drop from solution explorer to page 3.You can register user control to .aspx page by Register tag 4.This is good for static layout 5.Easier to create 6.Can not compiled into DLL 7.Can ..
Difference between Server.Transfer and Response.Redirect Server.Transfer transfer page processing from one page to another page directory to the next page without making a round trip back to the client browser.This provides a faster response with a little less overhead on the server.Server.Transfer does not update the URL. Response.Redirect is used to redirect the user browser ..
Types of session management Session object is used to store state specific information per user basis.Session object can be configured 3 ways based on availability and scalability of web application. 1). In Process Mode: This is default mode and useful for small application which is hosted on single server. Advantages: -Fastest mode. -Simple configuration. Disadvantages: ..
1 . When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET ‘vision’. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. 2 . What versions of ..