Home Q&A Misc How to to precompile MVC application including code and views.

Login Form



How to to precompile MVC application including code and views.

To do so, you need to install the Visual Studio Web Deployment add-in (see http://www.microsoft.com/downloads/details.aspx?FamilyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&displaylang=en

Then in your MVC solution, right click on the MVC project and select "Add Web Deployment Project..."

 

Besides this add-in, you also can use aspnet_compiler utility. Running the command line utility using aspnet_compiler will do the job.

The command line is:

aspnet_compiler -v  /virtualDirName outputdirectoryName

 
cialis 40mg

Copyright © 2012 SmartSoftwareBits.com. All Rights Reserved.
 

Polls

What is your favourite .NET language?
 

Who's Online

We have 12 guests online