You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TestWebApplicationFactory: correlated logging not auto-registered for minimal API apps #5503
TestWebApplicationFactory<T> registers AddCorrelatedTUnitLogging() inside CreateHostBuilder(). However, for minimal API apps (top-level statements using WebApplication.CreateBuilder), CreateHostBuilder() returns null — so the correlated logging is never registered automatically.
Users must work around this by manually calling services.AddCorrelatedTUnitLogging() in a ConfigureWebHost override:
Activity
docs: add double-dispose warning to ContextScope
feat: add pluggable ITestContextResolver for custom console output co…
fix: auto-register correlated logging for minimal API hosts (#5503)
fix: auto-register correlated logging for minimal API hosts (#5503) (#…