From the course: Deploying ASP.NET Applications

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Xcopy deployment

Xcopy deployment

From the course: Deploying ASP.NET Applications

Start my 1-month free trial

Xcopy deployment

- [Instructor] Now that we have installed IIS and Web Deploy, let's see how can we deploy our application. And we are going to go back to Visual Studio. And open the solution, and we start by right-clicking on our website project, and in there we have one option called Publish. By choosing publish, we are going to get a wizard that will guide us to what we need to do. So let's start from the bottom and we are going to make our way up. We are starting with a folder deployment, and then we just specify where we want the files to be deployed. Deploy, and slash, FolderDeployment. By doing that, when I press publish here, it will compile the application and it will copy all the necessary files into that mentioned folder. Now, one thing that you normally need, if you want to take this application and deploy it, it's to make sure that you modify your web.config. Because, by default, the web.config will point to the local db, and ms localdb, as I said earlier, it's just a database that will…

Contents