![]() |
VOOZH | about |
dotnet add package RT.MesWeb.Audit --version 1.0.1
NuGet\Install-Package RT.MesWeb.Audit -Version 1.0.1
<PackageReference Include="RT.MesWeb.Audit" Version="1.0.1" />
<PackageVersion Include="RT.MesWeb.Audit" Version="1.0.1" />Directory.Packages.props
<PackageReference Include="RT.MesWeb.Audit" />Project file
paket add RT.MesWeb.Audit --version 1.0.1
#r "nuget: RT.MesWeb.Audit, 1.0.1"
#:package RT.MesWeb.Audit@1.0.1
#addin nuget:?package=RT.MesWeb.Audit&version=1.0.1Install as a Cake Addin
#tool nuget:?package=RT.MesWeb.Audit&version=1.0.1Install as a Cake Tool
appsettings.json 中添加以下配置:{
"Audit": {
"ConnectionString": "Server=127.0.0.1;uid=sa;pwd=password;database=dbname;Trust Server Certificate=true;",
"DatabaseType": "SqlServer", // 可选值:SqlServer / Oracle
"RequestLogLength": 1000, // 日志记录请求内容长度上限,为0表示不限制长度,默认为1000
"EnableLoginLog": true, // 是否启用登录日志,默认为true
"EnableOperationLog": true, // 是否启用操作日志,默认为true
},
}
// 在应用程序构建前调用以下方法以注册审计服务
services.ConfigureAudit(configuration);
// 在应用程序构建后调用以下方法以启用审计功能
app.ConfigureAudit();
using (var dbContext = new AuditEntities(options))
{
// 使用dbContext进行数据库操作
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on RT.MesWeb.Audit:
| Package | Downloads |
|---|---|
|
RT.MesWeb.Authentication
Authentication server for mes system |
This package is not used by any popular GitHub repositories.