Setup your environment for Cloud development

Visual Studio 2019 – Cloud-connected Development Environment

You are new to cloud development, your executive team has charged you with developing some prototypes or real-life applications in the cloud space. 

You are mainly a Microsoft shop (Visual Studio, .NET, C#, ASP.NET, SQL server, etc) or you are the Microsoft workload champion at your company.

You are open to Azure or AWS. Where do you start? I am here to guide you!   I'm going to show you how to effectively start with cloud development using visual studio IDE. The Journey starts here:

If you need to read more about cloud development with visual studio, then proceed here:

The next thing from there is to hop over to and download the appropriate visual studio edition. But, for the purpose of this post, I am assuming you are downloading the free  community addition.

Download Visual Studio 2019 Community Edition for FREE from here:

And one question people often ask is this:  what is the difference between visual studio community addition and visual studio professional or visual studio enterprise? 

In terms of supported usage scenario,  the only difference is that you cannot use the visual studio community Edition in a medium or large enterprise,  meaning a company with more than 250 PCs or $1,000,000 in annual revenue.

As for the integrated development environment, quite frankly visual studio community and visual studio professional offer almost the same features . CodeLens is a little striped down in the community edition.

Visual studio community and visual studio professional 2019 offer the same integrated development environment in terms of advanced debugging and diagnostic, and the 2 edition offer the exact same feature in terms of testing tools, Cross-platform development and collaboration.

Alright, so hold your peace, go over to and download the visual studio community edition and don't worry, you are getting almost the same thing as visual studio professional.

Now, with that behind us,  I assume  you have downloaded visual studio Community Edition. 

The installer is a collection of features called workloads,  that you need to select depending on the type of development you are engaged in,  and this is very important so you don't load everything that you don't really need or miss out on the features required for cloud development.

In the Visual Studio installer, install Visual Studio (or modify an existing installation). Make sure the Azure development and ASP.NET and web development workloads are selected.

Once you select those workloads, the Azure Development workload installs the following features:

I recommend at this stage, you jump over to:

Create your first App as in the following article:

Now, did you follow the above instructions and published your first app to Azure? If yes, congratulations! If not, make an effort and do it, because I am just going to build on that. 
So instead of publishing directly to a Microsoft Azure what you should do is create a source control account like on github or Azure DevOps and rather push your code to that source control system, then  build some type of continuous integration continuous deployment pipeline that would take your code and deploy to Azure. 

Now how do you get the infrastructure in place in Azure and this is where we build on what you did on the previous tutorial instead of publishing directly to Azure and selecting services by clicking on the UI and all of that,  we are going to add a new project to our solution,  an Azure resource group project, and immediately you will notice that this project is going to inherit the name of our web project.

In this case, I added a new Azure resource Group project called IaC.Pacosoft.Web and it generated all the scripts needed to create our Azure App Service.

This concept of Infrastructure as Code is crucial because you want to make sure your application is deployed to the same environment at all time: This project will then be updated and even be used to create infrastructure deployment for Staging and Production environment, and can be deployed separately from your code or included as the first step in your CI/CD pipeline.

You can read more and follow the tutorial for Creating and deploying Azure resource groups through Visual Studio here: 

Once you setup your source control management system (GitHub, Azure Repos, etc), you can now setup your CI/CD pipeline that will look like this:
Setting up a CI/CD pipeline in Azure DevOps for Identity Server 4 ...

From this point on, you and your fellow developers only have to focus on writing code and checking in. Never again will you or your Operation Team worry about infrastructure. Never! 

That is the beauty of cloud development. 



Popular posts from this blog

Why can't Microsoft install IIS on Window Operating Systems by default?

Exam 70-487: Accessing Data - How to choose the Appropriate Data Access Technology - Entity Framework?

Exam 70-487: Accessing Data - How to choose the Appropriate Data Access Technology - Azure Cosmos DB?