Compile aspx page "on the fly"

Posted by user1122321 on Stack Overflow See other posts from Stack Overflow or by user1122321
Published on 2012-11-17T09:24:52Z Indexed on 2012/11/17 11:03 UTC
Read the original article Hit count: 138

Filed under:

I am trying to build an aspx page at runtime (by another aspx page which finally redirects to the new one). As far as I understand, aspx pages MUST be precompiled before a user can view them. In other words, the aspx page must be compiled to the DLL in the /bin folder.

Is there a away to tell IIS, or to order it by VB.NET code, to compile a page before I am redirecting my user to the page?

Any help would be greatly appriciated.

© Stack Overflow or respective owner

Related posts about ASP.NET