Launch Profiles in .NET
What is launch profile:
Launch profiles allows you to change the behavior of the application without rebuilding the application. Let’s say if you want to view developer exception page in development, but not in staging and production.
Launch profile contains “Profile Name”, “Launch Application name”, “Application arguments”, “working directory”, “Launch browser” and “Environment Variables”.
Launch profile can be found “Properties” folder in project.

There are two ways to add/edit launch profiles. One way is open “launchSettings.json” and edit settings.

In above image you can see there are two profiles under “profiles” section. one is “IIS Express” and other is “LaunchProfileDemo”
Second way is select the project and select “Properties” option.

Below image shows the visual representation of Launch profile.

To add new profile or delete existing profile, you can use the buttons “New”, “Delete”
Launch profiles are useful in development, it helps you add “environment variables”, “application arguments”