GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 149 of 165    Print  
Explain how the page is executed in ASP.NET ?

  
Total Answers and Comments: 2 Last Update: December 01, 2007     Asked by: SIVAKUMAR 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: maverick_dude
 
An ASP.Net page consists of, at a  minimum, a single .aspx file and can contain other files associated also with the page. The .aspx file is called the content file as it has the visual content of the page.

When a browser requests a .aspx file from a web server, the server processes the page. If this is the first time that the page is being requested, ASP.Net runtime compiles from the page a Page class which is derived from System.Web.UI.Page class. The class is then compiled into an assembly, which is then actually run by the framework runtime to render the output to the client. The assembly is cached in the memory of the server, so that the subsequent calls to the page are serviced quicker as no compilation is required.

Above answer was rated as good by the following members:
rangasamymca
October 10, 2007 03:15:17   #1  
anurag_krishnaom Member Since: October 2007   Contribution: 2    

RE: Explain how the page is executed in ASP.NET ?
First the page goes to server and server looks which type of engine should assign for this request( means which (engine) .dll will take care for this page there are several dlls which are catarized that which type of page will handled by this dll).
Engine handle the request and return the result to server and server return this result to client browser.

 
Is this answer useful? Yes | No
December 01, 2007 03:12:45   #2  
maverick_dude Member Since: November 2007   Contribution: 15    

RE: Explain how the page is executed in ASP.NET ?
An ASP.Net page consists of at a minimum a single .aspx file and can contain other files associated also with the page. The .aspx file is called the content file as it has the visual content of the page.

When a browser requests a .aspx file from a web server the server processes the page. If this is the first time that the page is being requested ASP.Net runtime compiles from the page a Page class which is derived from System.Web.UI.Page class. The class is then compiled into an assembly which is then actually run by the framework runtime to render the output to the client. The assembly is cached in the memory of the server so that the subsequent calls to the page are serviced quicker as no compilation is required.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution 
Latest Answer : CLR - Common Language Runtime...Its a virtual machine of Microsoft's .Net,During Compile time the Source code(C#,VB.Net..) is converted into Intermediate Language (MSIL),During Runtime this IL is converted to native code to Operating System by ...

Latest Answer : Server-side code: 1. Code is written in VB, C# or other compiled languages. 2. Code is executed by the server during a roundtrip in response to a user request or action. 3. The server executes server side code and returns HTML code to the client ...

Latest Answer : In ADO, the in-memory representation of data is the recordset. In ADO.NET, it is the dataset. There are important differences between them. A recordset looks like a single table. If a recordset is to contain data from multiple database tables, ...

Latest Answer : Diffgram is the XML format which is used to identify the current and orginal version. ...

Latest Answer : Inheritance means able to inherete the class from base class. The inherete class called derived class.The main advantage of the inheritance if any modification done origanl class safe.This is for reusable. ...

In what order do the events of an ASPX page execute. As a developer is it important to understand these events?

Latest Answer : The process of deriving a new class from an existing class is called Inheritance.   The old class is called the base class and the new class is called derived class.  The derived class inherits some or everything of the base class.  In ...

Latest Answer : You can't turn off cookies in a single pageto turn off the cookies in an application in web.config file ...

Which method do you use to redirect the user to another page without performing a round trip to the client?

Latest Answer : Datgrid's CurrentPageIndex Property ...


 Sponsored Links

 
Related Articles

Explain about TNSPING

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID. Open Command prompt. Write tnsping < SID for the database connectivity you want to check > If you get the message “Used TNSNAMES
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

HR Interview - Do's and Dont's in a HR Interview

Do s and Dont s in a HR Interview There are a number of things that you will want to avoid during the HR interview process While some of these things are directed at the interviewer the other things are directed at the applicant If interviewers fail to follow the proper procedures throughout the int
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape