Publishing an ASP.NET Website or Application

Visual Studio provides two sets of tools for ASP.NET deployment. The first, accessed via the Build menu, is called the Web Deployment Tool.

Using the Web Deployment Tool, you can take an existing web application project, compile it, bundle all of the folders, files, settings, and databases that are used by that application into a Web package, and then deploy that package to a web server. One advantage to compiling your website before deploying is that the compiler finds compile-time errors for you before deploying onto the target server. Another advantage you gain by compiling your application is increased page performance. Because all of the pages within the site are precompiled, the need to compile ...

Get Microsoft® Visual Studio® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.