Step by Step procedure to Deploy Web API in IIS

Ahamed Fazil Buhari
 
Senior Developer
January 9, 2018
 
Rate this article
 
Views
7345

Hello everyone,

In this article we will look into step by step procedure to deploy you Web API. Here we have used IIS 7.

 

1. It is good to use service account for Web API especially in your Production environment. Add service account to Administrator group in the server:

clip_image002

 

 

2. Create a separate application pool in IIS (good practice to have separate app pool for your website).

clip_image004

 

3. Set the application pool Identity as the service account which we used in step 1.

clip_image006

 

4. In IIS, right click on Site -> Add Web Site. Make sure the application pool is selected which is created in the previous step.

clip_image008

 

5. If you need to create https site, then we need to have proper certificate which can support the host name we created.

Happy Coding

Ahamed

Category : IIS, SharePoint, WebAPI

Author Info

Ahamed Fazil Buhari
 
Senior Developer
 
Rate this article
 
Ahamed is a Senior Developer and he has very good experience in the field of Microsoft Technologies, especially SharePoint, Azure, M365, SPFx, .NET and client side scripting - JavaScript, TypeScript, ...read more
 

Leave a comment