tag:blogger.com,1999:blog-3504675816224870371.post1083716141167657200..comments2023-10-08T04:44:07.653-07:00Comments on Web Master: Handlers vs. ModulesPratap Singhhttp://www.blogger.com/profile/00310023181491568166noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-3504675816224870371.post-43960797160585508622012-03-29T05:16:46.394-07:002012-03-29T05:16:46.394-07:00How ASP .NET different from ASP?- Scripting is sep...How ASP .NET different from ASP?- Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.<br /> What is smart navigation?- The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.<br /> What is view state?- The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control<br /> How do you validate the controls in an ASP .NET page?- Using special validation controls that are meant for this. We have Range Validator, Email Validator.<br /> Can the validation be done in the server side? Or this can be done only in the Client side?- Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.<br /> How to manage pagination in a page?- Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.<br /> What’ is the sequence in which ASP.NET events are processed?- Following is the sequence in which the events occur :-<br />1. Page_Init.<br />2. Page_Load.<br />3. Control events<br />4. Page_Unload event.<br />Page_init event only occurs when first time the page is started, but Page_Load occurs in subsequent request of the page.<br /> What is an application object?-Application object ca be n used in situation where we want data to be shared across users globally.<br /> What’s the difference between Cache object and application object?-The main difference between the Cache and Application objects is that the Cache object provides cache-specific features, such as dependencies and expiration policies.<br /> How can get access to cache object?-The Cache object is defined in the System.Web.Caching namespace. You can get a reference to the Cache object by using the Cache property of the HttpContext class in the System.Web namespace or by using the Cache property of the Page object.Anonymousnoreply@blogger.com