Launch Profiles in .NET

Veera Kondalu
2 min readMay 28, 2021

--

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.

launchSettings.json
launchSettings.json file

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”

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Veera Kondalu
Veera Kondalu

Written by Veera Kondalu

0 Followers

Passionate about learning new technology

No responses yet

Write a response