Add CommandDotNet and update logging configuration

- Included `CommandDotNet.Execution` namespace in `Program.cs`.
- Adjusted logging setup to clear providers and use NLog only in non-development environments.
- Added `AddHttpContextAccessor` to the service collection.
- Introduced a new `ConnectionStrings` section in `appsettings.Development.json` with a database connection string.
This commit is contained in:
Developer 02
2025-05-10 02:39:32 +02:00
parent 00fedc7c4c
commit b01f13fb5f
2 changed files with 12 additions and 3 deletions

View File

@@ -7,5 +7,8 @@
}
},
"AdminPassword": "dd",
"UseCSPInDev": false
"UseCSPInDev": false,
"ConnectionStrings": {
"Default": "Server=sDD-VMP04-SQL19\\CURSORAG;Database=DD_ECM;User Id=sa;Password=dd;Encrypt=false;TrustServerCertificate=True;"
}
}