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 it's 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 everything 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 reading!
Hey there, it's Rahul Sahay! I'm thrilled to be a platform specialist at Publicis Sapient, where I get to work on some exciting projects. I've been honing my skills in various aspects of the software development life cycle for more than 15 years, with a primary focus on web stack development. I've been fortunate to have contributed to numerous software development initiatives, ranging from client applications to web services and websites. Additionally, I enjoy crafting application architecture from scratch, and I've spent most of my time writing platform agnostic and cloud agnostic code. As a self-proclaimed code junkie, software development is more than just a job to me; it's a passion! And I consider myself lucky to have worked with an array of cutting-edge technologies, from .NetCore to SpringBoot 3, from Angular to React, and from Azure to AWS and many more cousin technologies...
- 🔭 I’m currently working @ below tech stacks
- Microservices,
- Distributed Systems,
- Spring Boot
- Spring Cloud
- System Design,
- Docker,
- Kubernetes,
- Message Queues,
- ELK Stack
- DotNetCore,
- Angular,
- Azure
- 💬 Ask me anything about my articles [My View](https://myview.rahulnivi.net/)
- 📫 How to reach me: [@rahulsahay19](https://twitter.com/rahulsahay19)
- 📫 Github: [@rahulsahay19](https://github.com/rahulsahay19)