Assuming that IIS is already enabled on your machine, open IIS Manager and perform the following steps:
- Under Application Pools, add a new application pool exclusively for ASP.NET Core apps. We are setting the .NET Framework version as No Managed Code.
- Under Sites, right-click Add Web Site, provide the appropriate Site Name, assign Application pool created previously, and assign Physical path of the published folder (refer to the output path while executing the dotnet publish step)
At the end of this chapter, we will look at how to test the PacktContacts app:
Creating a new application pool and adding a website ...