Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where is being stored the compiled class of aspx?

Status
Not open for further replies.

vladibo

Programmer
Sep 14, 2003
161
CA
Where is being stored the compiled class of aspx page? Not code behind class. I know code behind classes are stored in a dll located in BIN folder with a name of the project. But how about the aspx pages? Changing them has the great advantage of not reseting the site session, so I started using them a lot - cause I can make changes at any time without worring that session will be reset, as it happends when I change DLL in BIN folder.

But I am wondering where is the assambly of the aspx pages. It is compiled when the page is visited for the first time. Right?

And the main question is weather this assambly as efficient as the one in BIN folder? Can I use it a lot without decreasing the performance?
 
OK I have found it. It was here:
c:\winnt\microsoft.net\framework\v1.1.4322\temporary asp.net files\asptest\18a0d7d1\257210d3\rc6rhk5c.dll

And thats the way to find it:
<%@ Page language="c#" %>
<%@ Import namespace="System.Reflection" %>
<%

Assembly a = Assembly.GetAssembly( this.GetType() );

Response.Write( a.Location );

%>


But still I don't know is it as efficient as the assemblies stored in BIN folder of the server?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top