run visual studio with iis express code example
Example: Run project in visual studio with iis express
In the solution folder view:
- Right click on your website/ web app
- Click on "Set as Startup Project"
- Configure as needed (IIS Local as default)