..
At a time when we practice our skills and develop ASP.NET web application the next step is to relate to the deployment (deployment in English) of the same. Fortunately, once again for this purpose, we find solace in Visual Studio.
As we mentioned at the beginning of the guide there are many website templates that you can use to develop and deploy our applications on various platforms

For many programmers to deploy an application is something to think about the end of the development process and is an entirely separate. Instead of deploying a web application is an activity to be considered early in the process of development since, especially after the advent of cloud computing, you might not have access to the servers on which the application itself will be run.
For this reason, Visual Studio includes several new features that make the deployment of an application a much more manageable than in the past.
Among these new features include:
In previous versions of the development that did not include these features are usually created an installation package for deploying web applications. Although creating a package of this kind is preferable to simply copying files to a web server, the mechanism of the installation package could not take account of certain things such as the fact that the database schema may change in one of the distributions after the first application.
The new feature allows your web packaging to get around these problems. Using this tool you can create a compressed file or folder containing everything you need for the project is deployed on a web server.
A web package includes:
Once you create a Web package you can copy it onto a server and install it manually (using the IIS Manager) or install it using the appropriate commands. In any case, as usual, the best way to understand everything is to proceed with an example. Therefore we create a new web application

and denominiamola WebApplicationDeploy.
The rectory is created starting ASP.NET application that contains, among other things, the Default.aspx Web Form

Assuming that our application is complete we click the right mouse button on the solution and choose the option Package / Publish Settings

We remove the checkmark on the option Create deployment packages as zip files (because we want that the files are placed in a directory and not in a compressed file) and save

Click again with the right mouse button on the solution and choose the option Build Deployment Package

Thus is created in the project directory (in the obj \ Debug \ Package \ PackageTemp) everything you need for application deployment

Then just copy all these elements in a directory to be used as a virtual directory of our site and set up IIS as we saw at the beginning of the guide to allow access to the site by users.
| |
ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €. |
| |
ASP.NET (Course)
Full course for building Web applications from 49 €. |
| |
SQL and Database (Course)
Create and manage relational databases. From 39 €. |