I want to create a Dynamic aspx Page in current solution through code-behind..forexample i have a 2 text-boxes one for page-Title another another for page-Content and a button.. whenever that button is pressed, An aspx Page should be created in current solution and should be included in the current solution.
need help…
What exactly are you trying to accomplish? I’m having a hard time understanding when this would be useful.
If you’re trying to simplify file creation during development, then you should probably not be using a web page as your tool. You should consider a VS macro or template or some other IDE-focused process.
If you want end users to create new content, you might consider using a pre-existing Content Management Solution or storing content in the database and retrieving it via a single dynamic page (e.g. Content.aspx or something). This way you don’t have to worry about users creating filenames with invalid names, or duplicate files, or anything like that.
Is there a particular reason you want to use a web page to modify your project files?