Reputation: 14877
My Google skills are lacking at the moment. When should I be using IIS Express vs. IIS vs. Project vs. Executable? What are the pros/cons of each?
Upvotes: 25
Views: 13905
Reputation: 387507
dotnet run
from the command line. This is also a very good option for debugging, as you can directly see the logging output. Depending on your target production environment, this might even make more sense than running behind IIS Express.So basically it comes down to IIS Express or Project. These are the two that are also configured properly by default in the launchSettings.json
file that comes with the ASP.NET Core application template.
Whether you prefer IIS Express or running the application directly probably comes down to personal preference. So just give both a try and see what feels nicer to you.
Upvotes: 29