Publishing an ASP.NET Web Application

Visual Studio provides a dedicated tool/wizard for publishing ASP.NET web applications. Using this tool, you can take an existing web application project, compile it, bundle all 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 the pages within the site are precompiled, the need to compile dynamically during the first page hit is removed.

Let’s continue with a brief ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition 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.