appsettings.json
Në shqip përdoret i njëjti emër.
ShpjegimiSQ
appsettings.json është skedari i konfigurimit të aplikacioneve .NET: connection string-u i databazës, nivelet e log-ut, cilësimet e tua. Mund të kesh versione për çdo ambient (appsettings.Development.json). Sekretet mos i vendos këtu — përdor variablat e ambientit.
EnglishEN
appsettings.json is the configuration file for .NET apps: the database connection string, log levels, your own settings. You can have versions per environment (appsettings.Development.json). Don't put secrets here — use environment variables.
Si ta mendosh
Si fleta e udhëzimeve në frigoriferin e shtëpisë me pushime: „ujit lulet, ushqeje macen“ — ndryshon pa e ndërtuar shtëpinë nga e para.
Lexoje në anglisht
Like the instruction sheet on a holiday home's fridge: “water the plants, feed the cat” — you change it without rebuilding the house.
Shembull kodijson
{
"ConnectionStrings": { "Db": "Server=localhost;Database=Fjalori" },
"Logging": { "LogLevel": { "Default": "Information" } }
}