Member-only story

Deploy ASP.NET Core Web API on IIS

Aram Tchekrekjian
7 min readJan 26, 2020

--

Deploying ASP.NET Core Web API on IIS is an easy task once you understand and follow the correct steps to prepare your development and deployment environment.

With the announcement of .NET 5 and C# 9.0 with their amazing new features and great overall enhancements, the Software development community is getting an increased need and a growing heat to learn and build projects and apps using the latest unified framework.

One of the focus technologies is the ASP.NET Core Web API. I thought that would be helpful to get you started with learning about these great features and products. I know these are really huge topics to talk about, but I will try to write about different topics within my upcoming articles.

For this article, I want to share with you a guide about how to deploy ASP.NET Core Web API.

Visual Studio 2019 and Dot Net 5

The first and most important thing that you need to download and install is the latest version of Visual Studio 2019, the version at the time of writing is VS 16.8.3

This version of Visual Studio 2019 supports the latest version of Dot Net SDK, which is 5.0

Note that you cannot use Visual Studio 2017 to develop Dot Net Core 3 or Dot Net 5 apps.

In the normal cases, you don’t have to download the SDK separately since you have installed the latest version of Visual Studio 2019, however, if you open Visual Studio 2019 and do not the see option of Dot Net 5 for whatever reason, then you can download the Dot Net Core SDK from the official site of Microsoft.

There is a massive effort being put by the open source community alongside Microsoft to keep updating and improving the Dot Net SDKs and runtimes, so you might notice newer versions of Dot Net SDK and Runtime throughout the upcoming days.

Dot Net 5 Runtime on Windows Server

Download and install the Dot Net Runtime 5.0 (Hosting bundle installer for Windows) into your hosting windows server. This should be a pretty simple step.

--

--

Aram Tchekrekjian
Aram Tchekrekjian

Written by Aram Tchekrekjian

Microsoft MVP | Technical Manager at Aramex | Founder of Codingsonata.com | C#, ASP.NET Core, Android, Angular

Responses (3)

Write a response