ArgusLogs Production debugging for .NET Home Docs ASP.NET Core integration Platform
ASP.NET Core integration In Program.cs: configure LogManager, app.UseAuthentication(), app.UseArgus(), app.UseArgusUI() for ArgusLogs.UI at /argus-logs, then app.UseAuthorization(). Place UseArgus after authentication when capturing userId.
Guide 6 of 11 ASP.NET Core integration
In Program.cs: configure LogManager, app.UseAuthentication(), app.UseArgus(), app.UseArgusUI() for ArgusLogs.UI at /argus-logs, then app.UseAuthorization(). Place UseArgus after authentication when capturing userId.
Middleware order Typical order: UseAuthentication → UseArgus → UseArgusUI → UseAuthorization → endpoints. ArgusLogs.UI serves the embedded viewer; core ArgusLogs middleware captures HTTP and woven telemetry feeding TieredStorage.
C# Copy
app.UseAuthentication();
app.UseArgus();
app.UseArgusUI(options => options.RoutePrefix = "/argus-logs");
app.UseAuthorization();
app.MapControllers();