How ASP and ASP.NET page works.

Answers were Sorted based on User's Feedback



How ASP and ASP.NET page works...

Answer / justlogin

When a web browser requests a page from a web server, the
web server (IIS) will first check if the request is for an
HTML page. If it is, the request is fulfilled by fetching
the files from the OS and then returning it to the client
(web browser). If the client is requesting an ASP.NET page,
IIS will pass the request to the ASP.NET runtime, which will
then process the application and return the output to the
client.
ASP.NET pages use the .aspx extension. This is to ensure
that ASP.NET is able to run side by side with classic ASP on
the same server, which uses the extension .asp.
One of the inherent problems with the HTTP protocol is its
stateless nature. Put simply, a request made by a user is
loaded into memory, fulfilled, and then unloaded. Subsequent
requests by the same user are treated just like any request;
the server makes no attempt to remember what the user has
previously requested. This stateless nature makes writing
web applications a challenge, because the application
developer must explicitly devise mechanisms to enable the
server to remember the previous state of the application.
Several mechanisms have been devised over the years, such as
cookies and the use of query strings for passing information
to and from the server and the client.
In classic ASP, you typically need to write pages of code in
order to preserve the state of the page after the user has
posted a value back to the server. In ASP.NET, all of these
mundane tasks (collectively known as state management) are
accomplished by the ASP.NET runtime. You will learn more on
this in the following sections.

Is This Answer Correct ?    10 Yes 1 No

How ASP and ASP.NET page works...

Answer / zeeshan

when a user places the request on web browser it goes to server thru http request which carries the request towards iis or asp.net web server 2.0 at web server then it calls the processrequest() method to complete the request then finally it produces http-response which sent back to the client which has placed the request this http-response first gets converted into html representation form then can easily be displayed on web browser I think it vl help to the beginners.

Is This Answer Correct ?    5 Yes 0 No

How ASP and ASP.NET page works...

Answer / sreyasmn

New in ASP.NET
Better language support
Programmable controls
Event-driven programming
XML-based components
User authentication, with accounts and roles
Higher scalability
Increased performance - Compiled code
Easier configuration and deployment
Not fully ASP compatible

Is This Answer Correct ?    5 Yes 10 No

Post New Answer

More ASP.NET Interview Questions

How can you access the properties and controls of master pages from content pages?

0 Answers  


Why Global.asax is used?

7 Answers   Perot Systems,


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


How do you do client-side validation in .net? How to disable validator control by client side javascript?

0 Answers  


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.

0 Answers  


what are the State management and Its Uses

2 Answers  


Explain what is event bubbling?

0 Answers  


Why we use asp.net for website development?

0 Answers  


Which property is used to identify the Page is Post Back in ASP.NET?

0 Answers   Sans Pareil IT Services,


Disable Session State at the Application Level

2 Answers  


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

0 Answers  


Can session variables be accessed from code-behind?

2 Answers   Microsoft, RMS,


Categories