launchSettings.json

noun

say it: “LAWNCH-set-ingz DOT JAY-sun” /ˈlɔːntʃsɛtɪŋz dɒt ˈdʒeɪsən/

The file that sets how an ASP.NET Core app runs on your own computer, such as its port and environment.

What does launchSettings.json do?

Properties/launchSettings.json holds settings for running the app locally: the URLs and ports, and environment variables like ASPNETCORE_ENVIRONMENT. It is only used during development.

{
  "profiles": {
    "http": {
      "commandName": "Project",
      "applicationUrl": "http://localhost:5020",
      "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }
    }
  }
}

In a sentence

  • “I changed the port in launchSettings.json to 5000.”

Level: Novice · More ASP.NET Core terms at this level

Updated