Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Is it possible?

  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    Texas
    Posts
    287
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    New Coder
    Join Date
    Jan 2005
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    Regular Coder
    Join Date
    Aug 2002
    Location
    Texas
    Posts
    287
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •