Tuesday, 22 March 2022

Launchsettings file

 # launchsettings.json file

1. You will find this file in the "Properties" folder in the project root folder.
2. The settings in this file are used when we run this ASP.NET core project either from Visual Studio or by using .NET Core CLI.
3. This file is only used on local development machine. We do not need it for publishing our asp.net core application.
4. If there are certain settings that you want your asp.net core application to use when you publish and deploy your app, store them in appsettings.json file. We usually store our application configuration settings in this file.
5. We can also have environment specific appsettings.json files. For example, appsettings.Staging.json for the staging environment. In ASP.NET Core, in addition to appsettings.json file,
6. we also have other configuration sources like Environment variables, User Secrets, Command Line Arguments and even our own custom configuration source.




No comments:

Post a Comment

Search This Blog

Creating your first "Alexa" Skill

Index What is Alexa What is Alexa Skill? Why is it required when Alexa already equipped with voice assistant? Dev...