1).What is ASP.NET?
ASP.NET is a specification developed by Microsoft to create dynamic Web applications, Web sites, and Web services. It is a part of .NET Framework. You can create ASP.NET applications in most of the .NET compatible languages, such as Visual Basic, C#, and J#. The ASP.NET compiles the Web pages and provides much better performance than scripting languages, such as VBScript.
2). What is the difference between ASP and ASP.NET?
The basic difference between ASP and ASP.NET is that ASP is interpreted; whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses .NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).
3). In which event are the controls fully loaded?
Page load event guarantees that all controls are fully loaded. Controls are also accessed in Page_Init events but you will see that view state is not fully loaded during this event.
4).Which is the parent class of the Web server control?
The System.Web.Ul.Control class is the parent class for all Web server controls.
5). How do you sign out from forms authentication?
The FormsAuthentication.Signout() method is used to sign out from the forms authentication.
6). What is AutoPostBack?
If you want a control to postback automatically when an event is raised, you need to set the AutoPostBack property of the control to True.
7). What is IIS? Why is it used?
Internet Information Services (IIS) is created by Microsoft to provide Internet-based services to ASP.NET Web applications. It makes your computer to work as a Web server and provides the functionality to develop and deploy Web applications on the server. IIS handles the request and response cycle on the Web server. It also offers the services of SMTP and FrontPage server extensions. The SMTP is used to send emails and use FrontPage server extensions to get the dynamic features of IIS, such as form handler.
8).How can you display all validation messages in one control?
The ValidationSummary control displays all validation messages in one control.
9).What is tracing?
Tracing displays the details about how the code was executed. It refers to collecting information about the application while it is running. Tracing information can help you to troubleshoot an application. It enables you to record information in various log files about the errors that might occur at run time. You can analyze these log files to find the cause of the errors.
10). What is the difference between authentication and authorization?
Authentication verifies the identity of a user and authorization is a process where you can check whether or not the identity has access rights to the system. In other words, you can say that authentication is a procedure of getting some credentials from the users and verify the user’s identity against those credentials. Authorization is a procedure of granting access of particular resources to an authenticated user.
11). Differentiate globalization and localization.
The globalization is a technique to identify the specific part of a Web application that is different for different languages and make separate that portion from the core of the Web application. The localization is a procedure of configuring a Web application to be supported for a specific language or locale.
12). What is XHTML? Can ASP.NET Pages be compliant with XHTML?
XHTML is a stricter and cleaner version of HTML. Full form of XHTML is EXtensible Hypertext Markup Language and it is a W3C recommendation.Yes, ASP.NET 2.0 pages are compliant to XHTML. However, the freedom has been given to the user to include the appropriate DOCTYPE.
13). Can we deploy an application without deploying the source code on the server?
Yes. We can obfuscate the source code by using a precompilation process called ‘precompilation for deployment’. We can use the aspnet_compiler.exe to precompile a website. This process builds each page in your web application into an application DLL and some placeholder files. These files can then be deployed to the server.
We can also accomplish the same task using Visual Studio 2005 by using the Build->Publish menu.
For more details you can comment or leave a reply below.