Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-28-2005, 12:57 AM   PM User | #1
BrockLesnar
New Coder

 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
BrockLesnar is an unknown quantity at this point
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?
BrockLesnar is offline   Reply With Quote
Old 01-28-2005, 01:38 AM   PM User | #2
fractalvibes
Regular Coder

 
Join Date: Aug 2002
Location: Texas
Posts: 287
Thanks: 0
Thanked 0 Times in 0 Posts
fractalvibes is an unknown quantity at this point
Well,

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.

Does this answer the question?

fv
fractalvibes is offline   Reply With Quote
Old 01-28-2005, 02:32 AM   PM User | #3
BrockLesnar
New Coder

 
Join Date: Jan 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
BrockLesnar is an unknown quantity at this point
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
BrockLesnar is offline   Reply With Quote
Old 01-28-2005, 05:17 AM   PM User | #4
fractalvibes
Regular Coder

 
Join Date: Aug 2002
Location: Texas
Posts: 287
Thanks: 0
Thanked 0 Times in 0 Posts
fractalvibes is an unknown quantity at this point
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.....

fv
fractalvibes is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:22 PM.


Advertisement
Log in to turn off these ads.