4 Commits

Author SHA1 Message Date
58f228dc6f Add NLog file logging configuration and error handling
Integrate NLog for structured file-based logging by adding configuration to appsettings.json and initializing NLog in Program.cs. Wrap application startup in a try-catch block to log unhandled exceptions. No changes to core application logic.
2026-03-18 11:12:16 +01:00
893b44565c Enable Swagger via config and add project version metadata
Added versioning fields to FakeNTLMServer.csproj for assembly and informational versioning. Introduced "EnableSwagger" setting in appsettings.json to allow Swagger UI outside development environments. Reformatted authentication registration in Program.cs for clarity.
2026-03-16 15:17:57 +01:00
62dd45dd08 Restrict Kestrel server to HTTP/1 protocol in config
Added "Kestrel" section to appsettings.json to set endpoint default protocol to HTTP/1, preventing use of HTTP/2 or other protocols.
2026-03-16 09:44:41 +01:00
9033e67b82 Initial ASP.NET Core Web API with NTLM auth and Swagger
Set up FakeNTLMServer project targeting .NET 8.0 with Windows Authentication (Negotiate) and Swagger/OpenAPI support. Added project and solution files, configured authentication and authorization in Program.cs, and included launch settings and logging configuration for development and production environments.
2026-03-03 09:17:25 +01:00