Precompile ASP.NET

<Assuming c# for everything>

The way I understood it was that you develop the .NET app like any other .NET app, but you have .cs files containing the actual code, and .aspx pages which are just 'fronts' for the code. When you build the project in VS.NET, you get a dll in the bin directory and then the aspx pages that go with it. These can then be copied onto a production server.

Isn't that how you build standard ASP.NET projects?
 
Ahhh Thanks so much. Got it working now. Makes sense. For some reason I assumed the .aspx files would be in this .dll......... :o durr.

Also never saw that 'build' option! :rolleyes:
So don't need to mess around with the command prompt. Thought that was a bit weird as VS does just about everything but make the tea.
 
if ** using 2005 I would just copy all the files up and makesure that the site is not running in debug mode, it will then compile the application on the server, also it will enable you to update small areas of the site without the whole app domain restarting as individual directories are compiled into there own DLL.
 
Back
Top Bottom