Introduction

ASP.NET Web API and ASP.NET MVC 5 are more difficult for some developers to host on IIS for development purposes. We know to just press the Windows key + R and type inetmgr. Afterwards, go to Visual Studio. Right click on the project properties and under the Web tab, create the virtual directory for our Web app and Web API easily but with the arrival of ASP.NET MVC 5, latest architecture and tools there are some difficulties to host on IIS for the development purposes.

Explanation

When we want to create an Android or an IOS app, JSON is the most important part for the data exchange. Every mobile developer needs JSON to send back and forth data but after the arrival of ASP.NET MVC5 and latest tools for API, there is too much difficulty for the developers to host the app on the IIS on Windows environment and to test the Application. This type or problem was encountered, when I was doing my BCS final year project. My project was based on the Web as well as an Andriod Application. I want to test the Web API but there are a lot more issues to host Web API or Web apps on IIS.

How to?

The same process with ASP.NET Web API needs to be followed.