Compiling ASP.Net pages dynamically
Hi,
I've been thinking about how to create a web page on the fly in .Net. Basically, imagine a content management system where the user can opt to create a new page. I can get past creating the page file through strings and stringBuilder and saving the file on the server with right extension and all of that, but how would I go about compiling that .aspx file so it can be viewed in a browser?
Are there classes in .Net that allow this?
As an aside I use VS 2003. Not sure if that wil make a difference or not.
Thanks,
Steve
"I will prepare and one day my chance will come."
__________________
\"I will prepare and one day my chance will come.\"
|