What is ASP.NET?
ASP.Net is a server-side technology used for developing dynamic websites and web applications on the internet. It also produces data-driven web applications.
Microsoft released ASP.NET in 2002 to build dynamic websites and web applications using the .NET framework.
What is the ASP.NET Life Cycle, and list the types of Life Cycle?
When ASP.NET pages run, it goes through several steps of the life cycle, which performs a series of actions like initialization, running, restoring, and rendering.
Life Cycle is classified into two categories.
- Application Life Cycle: The user requests for accessing the application.
- Page Life Cycle: Page Life Cycle has phases like initialization, restoring, execution, and page rendering.
List the languages used for ASP.NET
ASP.NET uses Object-Oriented programming languages that provide a framework and patterns, which are easy to use.
Languages used by ASP.NET Framework are :
- C#
C-Sharp is a programming language developed by Microsoft that runs on the .NET framework.
It is used for developing web applications on the .NET framework.
- VB.NET
VB.NET is a modern object-oriented programming language developed by Microsoft to combine the features of CLR and .NET.
What type of Library is used in ASP.NET?
A library is a pre-coded Object-Oriented Programming template collection used to develop web-based and desktop applications in ASP.NET.
ASP.NET uses a Web Library to develop web applications.
List types of Application Life Cycle.
Application Life Cycle is of five types:
- Application Start: Application Start is a method that you execute when a user makes a request.
- Object Creation: Object Creation contains all the information about current requests and browsing information.
- HTTP Application: HTTP Application processes all subsequent requests sent to the application.
- Dispose: Dispose is responsible for releasing manually unwanted resources.
- Application End: Application End helps to unload the memory of an application.
List the advantages of using ASP.NET
ASP.NET is a development framework is used for developing web applications. It is one of the most preferred web development technologies at present.
There are a lot of benefits of using ASP.NET. Here are some advantages:
- Applications created using ASP.NET show better performance
- ASP.NET provides multi-development modes for the applications
- Applications created using ASP.NET can be used across the globe
- ASP.NET is language independent
List the components of ASP.NET
ASP.NET provides data-driven web applications on the internet using various components.
They are:
- Common Language Runtime
- Language
- Library
- Common Type System
- Windows Forms
What is the difference between ASP and ASP.NET?
ASP |
ASP.NET |
ASP is the first server-side scripting language developed by Microsoft to design dynamic WebForms. |
ASP.NET is a server-side technology used for developing dynamic websites and web applications on the internet. |
ASP uses ADO(ActiveX Data Objects) to communicate with the database. |
ASP.NET uses ADO.NET to communicate with the database. |
ASP is written in VBScript. |
ASP.NET is written in C#. |
What type of protocol is used to call web service?
Web service is a web-based functionality accessed by using protocols. It uses XML to exchange the software using common internet protocols.
Web service in asp.net has three aspects, they are:
- Creating web service
- Creating a proxy
- Consuming the web service
The HTTP protocol is used in ASP.NET to call a Web Service.
What is a Multi-View?
Multi-View is a parent control for the View. It is used to control all types of views.
Multi-View has the prefix mv.
Syntax:
<asp:MultiView ID=”Name” runat=”server”>