ASP .NET Interview Questions and Answers
Ques 1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among
other things.When an ASP.NET request is received (usually a file with .aspx extension),
the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual
worker process aspnet_wp.exe.
Ques 2. What’s the difference between Response.Write() andResponse.Output.Write()?
Response.Output.Write() allows you to write formatted output.
Ques 3. What methods are fired during the page load?
Init() - when the page is instantiated
Load() - when the page is loaded into server memory
PreRender() - the brief moment before the page is displayed to the user as HTML
Unload() - when page finishes loading.
Ques 4. When during the page processing cycle is ViewState available?
After the Init() and before the Page_Load(), or OnLoad() for a control.
Ques 5. What namespace does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page
Most helpful rated by users:
- What’s the difference between Response.Write() andResponse.Output.Write()?
- Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
- What methods are fired during the page load?
- What namespace does the Web page belong in the .NET Framework class hierarchy?
- When during the page processing cycle is ViewState available?