BstAutoLog.Web 10.0.13
How to use
Program.cs
services.AddAutoLog<ApplicationDbContext>();
services.AddAutoLogWebServices(options => {
options.UserTypeClaim = "user_type"; // optional: claim type for UserType field
});
// UserTypeClaim is the claim type used to extract the UserType field from the authenticated user's claims. If not set, UserType will be null.
Model.cs
: IHasAutoLog
ApplicationDbContext.cs
builder.ConfigureAutoLog();
User information (UserId, UserName, UserType) and IP address are automatically extracted from HttpContext.
No packages depend on BstAutoLog.Web.
.NET 10.0
- BstAutoLog (>= 10.1.14)
- BstHelpers.Web (>= 10.0.16)
| Version | Downloads | Last updated |
|---|---|---|
| 10.0.13 | 1 | 06/11/2026 |
| 10.0.12 | 24 | 20/10/2026 |
| 10.0.11 | 23 | 22/09/2026 |
| 10.0.10 | 64 | 18/07/2026 |
| 10.0.9 | 133 | 14/06/2026 |
| 10.0.8 | 40 | 17/05/2026 |
| 10.0.7 | 20 | 08/05/2026 |
| 10.0.6 | 21 | 08/05/2026 |
| 10.0.5 | 28 | 03/05/2026 |
| 10.0.4 | 41 | 23/04/2026 |
| 10.0.3 | 27 | 16/04/2026 |
| 10.0.2 | 25 | 13/04/2026 |
| 10.0.1 | 26 | 13/04/2026 |