Where do you keep the program?
-
I have an NET Core 3 application, and I need to keep some parameters, hear that you can use a file with an extension...s, but there's nothing in Core, can you tell me what to use?
-
You probably meant appsettings.json. All the annexes are contained in this file. The contents of the file are broken into sections(s),
"Название раздела"
further through:
inside the brackets{
}
The key point is written."Ключ":"Значение"
♪ For example, links to databases can be stored here.{ "ConnectionStrings": { "DefaultConnection": "Server=(LocalDb)\\MSSQLLocalDB;Database=BookListRazor;Trusted_Connection=True;MultipleActiveResultSets=True" } }
Here, short. https://youtu.be/r_-SYc59LqQ where the designation and structure of the file is described.