Thursday, January 11, 2018

Deploying my website to a Windows Virtual Machine aka deploy to an on-premise IIS webserver.

The setup where working with Visual Studio Online and have a customer, how is running everything on-premise has been quite frustrating. But not anymore! After the release of the feature “Deployment groups” it is now the easiest thing to do.

To over simplify the tasks for configuring Deployment groups. You need only to create a new deployment group in Visual Studio Online, “register machine” and run some PowerShell. And you are done Smile

The how-to guide to setup and create Deployment Groups can be found here https://docs.microsoft.com/en-us/vsts/build-release/apps/cd/deploy-webdeploy-iis-deploygroups

N.B. The how-to show you need two tasks to deploy the website. This is not correct. This remove these tasks and add the task “Deploy IIS Website/App”.

Before you can release anything, setup you build. By following this how-to guide for ASP.NET 4, https://docs.microsoft.com/en-us/vsts/build-release/apps/aspnet/build-aspnet-4?tabs=vsts

And this how-to guide for ASP.NET Core, https://docs.microsoft.com/en-us/vsts/build-release/apps/aspnet/build-aspnet-core?tabs=gitvsts%2Cweb%2Cdeploy-windows

4 comments:

  1. Great blog with very useful insights for developers and IT professionals working with SharePoint and PowerShell. I really appreciate how the posts explain practical solutions and scripting techniques that help solve real-world technical challenges. Content like this is very helpful for anyone working with Microsoft technologies.

    For readers who are also interested in developing modern digital skills, you can explore UI/UX Course in Kochi by Login360 and Digital Marketing Course by Login360, which are great opportunities to build a career in the digital field.

    ReplyDelete
  2. Thanks for sharing your website deployment experience on Windows Virtual Desktop. Tutorials like this are really helpful for developers learning cloud hosting and virtual environments. For anyone looking to expand their technical skills further, platforms like Login360 offer practical courses. You can explore **Java Course in Chennai**, **Python Course in Chennai**, **Data Science & Data Analyst Course**, **Full Stack Development**, and **UI/UX Course** to strengthen programming and web development skills.

    ReplyDelete
  3. Really enjoying the thoughtful content here the insights are clear and engaging! Posts like these make the blog a great place to learn and reflect. If you’re also thinking about expanding your professional skill set in today’s digital world, you might want to check out a Digital Marketing Training Institute in Coimbatore and a UI UX Design Course in Coimbatore. Growing your digital and design skills alongside the great content here can open up some exciting opportunities!

    ReplyDelete