ASP .NET Interview Questions and Answers
Ques 16. What is the Global.asax used for?
The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.
Is it helpful?
Add Comment
View Comments
Ques 17. What are the Application_Start and Session_Start subroutines used for?
This is where you can set the specific variables for the Application and Session objects.
Is it helpful?
Add Comment
View Comments
Ques 18. Can you explain what inheritance is and an example of when you might use it?
When you want to inherit (use the functionality of) another class.Example: With a base class named Employee, a Manager class could be derived from the Employee base class.
Is it helpful?
Add Comment
View Comments
Ques 19. Whats an assembly?
Assemblies are the building blocks of the .NET framework. Overview of assemblies from MSDN
Is it helpful?
Add Comment
View Comments
Ques 20. Describe the difference between inline and code behind.
Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx 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?