ASP.NET INTERVIEW QUESTION & ANSWERS
6. |
What is the difference between user and server controls? |
|
User controls are created by the developer to allow for the reuse of controls that need specific functionality, while the Server controls are built-in. |
7. |
What are the types of Authentication technique in Asp.Net? |
|
There are three types of Authentication techniques are :
- Windows Authentication
- Passport Authentication
- Form Authentication
|
8. |
Which are the namespaces that are imported automatically by Visual Studio in ASP.Net? |
|
There are 7 namespaces which are imported automatically :
- System
- System.Collections
- System.IO
- System.Web
- System.Web.UI
- System.Web.UI.HTMLControls
- System.Web.UI.HTMLControls
|
9. |
How can we identify that the page is Post Back? |
|
Page object has an "Ispostback" property, which can be checked to know that is the page posted back. |
10. |
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. |