DBConnectionAPI runs on a generic host that uses Startup : CoreAPIStartup and is configured for IIS in-process hosting. A request first passes the two Swagger middleware components registered locally, then enters the opaque base.Configure call contributed by the SAIF.NetCore.ServiceExtensions package, which holds authentication, authorization, exception handling and endpoint mapping, before it reaches a controller action.
Main(args) → CreateHostBuilder(args).Build().Run(); the generic host invokes Startup.ConfigureServices and Startup.Configure by convention, and Program.cs calls no method on the startup instance
Host-builder extensions
.ConfigureOpenTelemetry(configure => configure.Owner = "Architecture") — opaque, contributed by SAIF.NetCore.ServiceExtensions
Opaque — contributed by SAIF.NetCore.ServiceExtensions; the package documentation states it registers the secure IEnvironmentClient and must be called before ConfigureServices†
EnableNewtonsoftJsonSerializer
Not set
DBConnectionAPI/DBConnectionAPI/Startup.cs
Base default applies**
DisableAuthServices
Not set
DBConnectionAPI/DBConnectionAPI/Startup.cs
Base default applies, so the package authentication services and UseAuthentication() are active†
WebHostEnvironment.EnvironmentName
Not set
DBConnectionAPI/DBConnectionAPI/Startup.cs
No override from AppSettings:ApplicationHost in local source; any use is inside the base**
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> in DBConnectionAPI/DBConnectionAPI/DBConnectionAPI.csproj; web.config declares the aspNetCore handler with AspNetCoreModuleV2 and no hostingModel attribute
web.config notes
The checked-in processPath references a Visual Studio launcher executable (VSIISExeLauncher.exe) and the file sets the environment variables ENVIRONMENT, COMPLUS_ForceENC, ASPNETCORE_ENVIRONMENT, ASPNETCORE_HTTPS_PORT and ASPNETCORE_DETAILEDERRORS; whether publish transforms the file is not visible in source**
Base path is . when RoutePrefix is blank, otherwise ..
3
base.Configure(app, env)
DBConnectionAPI/DBConnectionAPI/Startup.cs line 51
Always
Opaque
Contributed by CoreAPIStartup (SAIF.NetCore.ServiceExtensions) — not visible in source. Authentication, authorization, exception handling and endpoint mapping sit inside this call and their relative order is not visible in source
No UseExceptionHandler, UseDeveloperExceptionPage, UseCors, UseHealthChecks or custom local middleware exists, and no middleware is commented out.
Active in every environment (no env.IsDevelopment() guard)
Document(s)
One document, v1 (OpenApiInfo title DBConnectionAPI)
Exposed route
swagger/v1/swagger.json and Swagger UI at swagger, relative to the application path*
XML comments
IncludeXmlComments with a path built from AppContext.BaseDirectory and a backslash separator; <DocumentationFile> is set, but the generated DBConnectionAPI.xml has an empty <members/> list because no /// comments exist
.ConfigureOpenTelemetry(configure => configure.Owner = "Architecture") on the host builder; behavior opaque
Application Insights
None found
Logging configuration
appsettings.jsonLogging:LogLevel:Default = Warning; appsettings.Development.json overrides Default, System and Microsoft. Whether ISaifLogService honours these levels is not visible in source**
Registered in
DBConnectionAPI/DBConnectionAPI/Program.cs
Note: Statements marked with † are derived from dependency library
documentation via the Legends CLI. Statements marked with * were inferred
from code structure or contextual evidence. Statements marked with ** could
not be confirmed; treat as unknown until verified.