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.
Ans. 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.
Is it helpful?
Add Comment
View Comments
Ques 2. What’s the difference between Response.Write() andResponse.Output.Write()?
Ans. Response.Output.Write() allows you to write formatted output.
Is it helpful?
Add Comment
View Comments
Ques 3. What methods are fired during the page load?
Ans. Init() - when the page is instantiatedLoad() - 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.
Is it helpful?
Add Comment
View Comments
Ques 4. When during the page processing cycle is ViewState available?
Ans. After the Init() and before the Page_Load(), or OnLoad() for a control.
Is it helpful?
Add Comment
View Comments
Ques 5. What namespace does the Web page belong in the .NET Framework class hierarchy?
Ans. System.Web.UI.Page
Is it helpful?
Add Comment
View Comments
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?