Add new aspx page to published website

I have a .Net site that is published. Now I need to add a new page to the site, but I have no source code, which means I cannot recompile and republish the website. I know I can add an HTML page for this, since the content for the new page is just plain HTML, but this will show the .html extension in the browser, which I don't want. Is there a way to add an aspx page or html page, is this the only option I have?

+3


source to share


2 answers


Yes, you can add pages without recompiling, just make sure the pages do not reference the code file. You will still be able to use the code in the actual page itself, as well as the control controls ( .ascx

).



+2


source


alternatively, you can add an app creation and then add it as an app below the original site. As with IIS, right click on the source site, then add the application; and paste your new application into it. Your new application will have its own application pools and is an application of its own, without using the original site data.



+2


source







All Articles