View Full Version : Is it possible?

01-28-2005, 01:57 AM
Is it possible to store ASP.Net pages as compiled machine code in a folder so that when the asp page is requested everytime, the compiled machine code will be executed instead the asp.net being compiled again?

01-28-2005, 02:38 AM

Typically if you are using Visual Studio .Net (or maybe the matrix thing?)
You wind up with an *.aspx and a dll in a bin directory in that folder
and in the /stuff/bin directory is mypage.dll, which is the code-behind stuff in compiled format as a dll.

You still have your aspx page that contains the html, javascript, form, and whatver web controls on it.

Does this answer the question?


01-28-2005, 03:32 AM
No, I want to store everything including the html as a .dll file so when the request is made, that dll file will rapidly execute

01-28-2005, 06:17 AM
I suppose it is possible, but it really goes against the grain for the .NET paridigm....separating the code from the presentation. Why do you need to do this? If you have something that is really, really slow, I'd suggest that it is an inefficiency either in your code or the sql you are running.

Nope - the rendering of the html page by the browser would not be the slow part...the slow part would be grabbing the data and manipulating it into information on the page. Or large graphics placed on the page.....