Sunday, December 4, 2011

Explain the different parts that constitute ASP.NET application.


Content, program logic and configuration file constitute an ASP.NET application.
Content files
Content files include static text, images and can include elements from database.
Program logic
Program logic files exist as DLL file on the server that responds to the user actions.
Configuration file
Configuration file offers various settings that determine how the application runs on the server.

Explain the advantages of ASP.NET.


Following are the advantages of ASP.NET.
Web application exists in compiled form on the server so the execution speed is faster as
compared to the interpreted scripts.
ASP.NET makes development simpler and easier to maintain with an event-driven, server-side
programming model.
Being part of .Framework, it has access to all the features of .Net Framework.
Content and program logic are separated which reduces the inconveniences of program
maintenance.
ASP.NET makes for easy deployment. There is no need to register components because the
configuration information is built-in.
To develop program logic, a developer can choose to write their code in more than 25 .Net
languages including VB.Net, C#, JScript.Net etc.
Introduction of view state helps in maintaining state of the controls automatically between the
postbacks events.
ASP.NET offers built-in security features through windows authentication or other authentication
methods.
Integrated with ADO.NET.
Built-in caching features.

Explain how a web application works.


A web application resides in the server and serves the client’s requests over internet. The client
access the web page using browser from his machine. When a client makes a request, it receives
the result in the form of HTML which are interpreted and displayed by the browser.
A web application on the server side runs under the management of Microsoft Internet
Information Services (IIS). IIS passes the request received from client to the application. The
application returns the requested result in the form of HTML to IIS, which in turn, sends the result
to the client.

Explain the different parts that constitute ASP.NET application.

Content, program logic and configuration file constitute an ASP.NET application. Content files Content files include static text, images ...