liveBook · Manning

launchSettings.json

launchSettings.json is a .NET development configuration file defining local launch profiles and settings such as URLs, ports, and environment variables.

How 4 Manning books explain it

Building Web APIs with ASP.NET Core

launchSettings.json is an ASP.NET Core configuration file that defines local development launch profiles, server settings, URLs, and environment variables.

How it is used
Configures local ASP.NET Core launch profiles, server endpoints, browser behavior, and runtime environment selection.
How deep it goes
Defines file sections and practical profile changes, but stops short of production deployment configuration.
Examples
Uses MyBGList profiles, localhost ports, Swagger, staging testers, and the BoardGamesController.Get() endpoint.
What you can do after
Operate local ASP.NET Core launches with selected servers, ports, startup routes, browsers, and runtime environments.

Read how Building Web APIs with ASP.NET Core explains launchSettings.json →

Pro ASP.NET Core 7, Tenth Edition

launchsettings.json is a .NET project configuration file that defines launch profiles, including application URLs, ports, and environment variables.

How it is used
Configures local ASP.NET Core launch profiles so examples start on known URLs and in a chosen environment.
How deep it goes
Explains profile sections, port selection, environment-variable effects, and HTTPS URL syntax, without detailing launch-file processing internals.
Examples
Uses localhost:5000, a Production environment edit, and a two-URL HTTP/HTTPS profile as concrete configurations.
What you can do after
Operate/configure it to select local listening URLs, startup environment, and browser-launch behavior.

Read how Pro ASP.NET Core 7, Tenth Edition explains launchSettings.json →

.NET in Action, Second Edition

launchSettings.json is a .NET project configuration file that defines local launch profiles and development settings such as URLs and environment variables.

How it is used
Configures local ASP.NET Core web-service launch behavior, including ports, URLs, browser startup, and development variables.
How deep it goes
Defines a representative profile and explains port changes and browser behavior, but does not detail the complete schema.
Examples
Uses an AsciiArtSvc profile with HTTPS and HTTP URLs, browser launching, and ASPNETCORE_ENVIRONMENT set to Development.
What you can do after
Operate/configure local web-service startup by changing ports, URLs, browser behavior, and development environment variables.

Read how .NET in Action, Second Edition explains launchSettings.json →

ASP.NET Core in Action, 3e

launchSettings.json is an ASP.NET Core development configuration file that defines how an application is launched and debugged by development tools.

How it is used
Controls local ASP.NET Core launching, debugging, URLs, and environment variables through development profiles.
How deep it goes
Explains file placement, profiles, URLs, environments, and selection, but does not detail the complete JSON schema.
Examples
Uses http, https, and IIS Express profiles plus a dotnet run command that selects Staging without profiles.
What you can do after
Operate/configure Visual Studio or dotnet run with project-specific launch profiles and hosting environments.

Read how ASP.NET Core in Action, 3e explains launchSettings.json →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.