Open Powershell.
Run the following command to query if the service w3svc exists:
get-service w3svc
If IIS is installed, you should see the service w3svc in the query result:
If you see the following output, it means you don't have IIS installed.
Run the following command to install IIS and ASP.NET:
Dism /Online /Enable-Feature /FeatureName:IIS-DefaultDocument /All
Dism /Online /Enable-Feature /FeatureName:IIS-ASPNET45 /All