views:

99

answers:

1

I have been asked these question in interviews...

Is it pages will compile in server?

In server pages will compile or execute?

When application object will create?

Can anyone explain them in detail...

+1  A: 
Is it pages will compile in server?

Yes the code behind compiles on server with the first call and product dlls.

In server, pages will compile or execute?

After the pages have been compiled on dlls, on every call the system use the dll + aspx to create the page. You can call it execution, maybe not of the page but of the pool.

Actually the pool, use the strings-html that find on aspx, with the dll of the page that is used to make the cycle of an aspx page and create the final html

When application object will create?

The application object will created when you start the WWW service and signal the Application_OnStart, one object per pool, and is stop when system finds the app_offline.htm, or you close the WWW service and signal the Application_OnEnd.

Aristos