If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Is it possible?

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?

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
i.e.www.mysite.com/stuff/mypage.aspx
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.

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.....