From the course: Deploying ASP.NET Applications
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Deploying using Visual Studio to VM
From the course: Deploying ASP.NET Applications
Deploying using Visual Studio to VM
- [Instructor] Once we have created a virtual machine in Azure, we can just go on and publish our application. And we do like before, right-click on the Website and choose Publish. Here, we need to create a new profile, and then we choose Virtual Machine. We choose which Virtual Machine we need to deploy to, and because I'm already logged into Azure, it will list all the virtual machines that I have access to in Azure. From that list, we are going to choose our newly created virtual machine, and press OK. Now, one thing, instead of going and say directly publish, we need to create first a profile, in order to be able to configure it. And what we need to configure, yes, you guessed right, we need to configure the Connection strings. So let me paste in the connection strings for the application, before we do the actual deployment. And we take the other one. And we paste it in here. And now we save again the profile, and we press Publish. Once we press Publish, it will ask us for the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.