Audit.WebApi Minimal Api support? #676
-
|
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The middleware should work with minimal APIs, for example: using Audit.WebApi;
var builder = WebApplication.CreateBuilder(args);
// ...
var app = builder.Build();
app.UseAuditMiddleware(config => config.IncludeHeaders()); // <-- THIS
app.MapGet("/weatherforecast", (HttpContext httpContext) =>
{
// ...
}); |
Beta Was this translation helpful? Give feedback.
-
|
Good morning, Am an IT AUDITOR and I want to carry out an audit on our bank's API please I need help the questions I need to ask the auditors, the things I need to look out for, the requirements I need them to provide for me and also a checklist |
Beta Was this translation helpful? Give feedback.
The middleware should work with minimal APIs, for example: