In this section, i will demonstrate how to publish your ASP.NET APP on Linux VM using Docker extension of Visual Studio 2015. So, before we begin, we must need VS 2015 RC candidate installed on our machine. Then, we do need Docker extension for visual studio installed on our machine. You can install the same from Extension and Updates as shown below in the screen shot.
Then, I need to create new ASP.NET 5 website as shown below in the screen shot.
Once, site got created successfully; then simply rt-click on the website and say Publish as shown below.
Then, It will provide the below options.
Now, if you don’t have any subscription, then you need to create one and provide the details in the next screen. For privacy reason, my details are hidden.
Then, it will give the below confirmation message.
When you say ok here, it will build the app and prepare for hosting. You can check the status of the same in the output window when Azure is provisioning things for you. This process will take some time.
Once, its completed. It will show the confirmation message as shown below.
Now, I will come to and say publish, this time it will come in connections tab with below VM credentials.
Then you can click on validate Connection for confirming every thing is correct. once verified, then you can go ahead and click next and publish the app.
while building the app, you can check the status in the output window.
Once done. It will launch the same in the browser. Also, it launched in my new Project Spartan browser as i’m running on windows 10 machine.
Thanks for Joining me.
4,380 total views, 1 views today