ASP .NET вопросы и ответы для интервью
Вопрос 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.
Вопрос 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.
Вопрос 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.
Вопрос 19. Whats an assembly?
Assemblies are the building blocks of the .NET framework. Overview of assemblies from MSDN
Вопрос 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.
Самое полезное по оценкам пользователей:
- 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?