Here you can find ASP.NET Interview Questions and Answers.
In this ASP.NET Interview Questions and Answers section you can learn and practice ASP.NET Interview Questions and Answers to improve your skills in order to face technical inerview by IT companies. By Practicing these interview questions, you can easily crack any ASP.NET interview.
AllIndiaExams provides you lots ASP.NET Interview Questions and Answers with proper explanation. Fully solved examples with detailed answer description. All students, freshers can download ASP.NET Interview Questions and Answers as PDF files and eBooks.
You no need to worry, we have given lots of ASP.NET Interview Questions and Answers and also we have provided lots of FAQ's to quickly answer the questions in the ASP.NET technical interview.
What is ASP?
Active Server Pages(ASP), also known as Classic ASP, is a Microsoft’s server side technology, which helps in creating dynamic and user friendly Web pages. It uses different scripting languages to create dynamic Web pages, which can be run on any type of browser.
What is the difference between Classic ASP and ASP.Net?
ASP is Interpreted language based on scripting languages like Jscript or VBScript. ASP has Mixed HTML and coding logic. Limited development and debugging tools available. Limited OOPS support. Limited session and application state management. ASP.Net is supported by compiler and has compiled language support. Separate code and design logic possible. Variety of compilers and tools available including the Visual studio.Net. Completely Object Oriented. Complete session and application state management. Full XML Support for easy data exchange.
What is ASP.NET?
ASP.NET is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server. 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. The ASP.NET compiles the Web Pages and provides much better performance than scripting languages, such as VBScript. The Web Forms support to create powerful forms based Web pages. ASP.NET Web server controls to create interactive Web applications with the help of Web server controls, you can easily create a Web application.
What is a Cookie?
Cookie is a lightweight executable program, which the server posts to client machines. Cookies store the identity of a user at the first visit of the Web site and validate them later of the next visits for their authenticity. The values of a cookie can be transferred between the user’s request and the server’s response
What is the difference between ASP Session State and ASP.Net Session State?
ASP session state relies on cookies, Serialize all requests from a client, does not survive process shutdown, Can not maintained across machines in a Web farm.
What is the difference between ASP Session and ASP.NET Session?
Asp.net session supports cookie less session & it can span across multiple servers.
What are the major built in objects in Asp.net?
The major built in objects in Asp.net are as follows: Application Request Response Server Session Context Trace
What is the difference between Server.Transfer and Response.Redirect?
Server.Transfer does not send any message to the browser but rather redirects the user directly from the server itself. Response. Redirect sends message to the browser saying it to move to some different page.
What is a PostBack?
The process in which a Web page sends data back to the same page on the server.
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.