ConsumerFixture
AppSurfaceDocsConsumerFixtureHost
SourceCreates the real ASP.NET Core consumer host used to verify AppSurface Docs Razor Class Library precedence.
Remarks
The fixture deliberately owns conventional Views/_ViewStart.cshtml and Views/Shared/_Layout.cshtml files. AppSurface Docs views must retain their package shell when this host is the application, while hosts remain free to deliberately override the package-specific layout path.
RunAsync
Task RunAsync(string[] args)
Source
Runs the consumer fixture until the host shuts down.
Parameters
argsCommand-line arguments forwarded to AppSurface Web startup.
Returns
A task that completes when the host exits.
CreateBuilder
IHostBuilder CreateBuilder(string[] args, IEnvironmentProvider? environmentProvider = null)
Source
Creates a consumer host builder without starting it.
Parameters
argsCommand-line arguments forwarded to AppSurface Web startup.environmentProviderOptional environment provider used by AppSurface startup decisions before the generic host is built.
Returns
A configured host builder whose application identity is the consumer fixture assembly.