Hayou.Abp.ActionLogManagement.Application.Contracts 0.0.1

dotnet add package Hayou.Abp.ActionLogManagement.Application.Contracts --version 0.0.1
                    
NuGet\Install-Package Hayou.Abp.ActionLogManagement.Application.Contracts -Version 0.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hayou.Abp.ActionLogManagement.Application.Contracts" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hayou.Abp.ActionLogManagement.Application.Contracts" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Hayou.Abp.ActionLogManagement.Application.Contracts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hayou.Abp.ActionLogManagement.Application.Contracts --version 0.0.1
                    
#r "nuget: Hayou.Abp.ActionLogManagement.Application.Contracts, 0.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Hayou.Abp.ActionLogManagement.Application.Contracts@0.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Hayou.Abp.ActionLogManagement.Application.Contracts&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Hayou.Abp.ActionLogManagement.Application.Contracts&version=0.0.1
                    
Install as a Cake Tool

Hayou.Abp.ActionLogManagement.Application

About this solution

这是Abp vNext框架程序 用户操作日志的 模块文件,旨在提供更友好的,仅关注用户操作层次日志的日志记录。已经内置了对apb 框架中 用户、角色、租户、权限、特性等的操作日志记录。

Pre-requirements

Configurations

使用用户操作日志组件,需要在Web项目添加UI模块的Dll引用 ,并在服务层添加日志功能的调用

  • 在项目中添加 Hayou.Abp.ActionLogManagement.*.dll 的引用,或添加包引用
> dotnet add package Hayou.Abp.ActionLogManagement.Application
> dotnet add package Hayou.Abp.ActionLogManagement.EntityFrameworkCore
> dotnet add package Hayou.Abp.ActionLogManagement.HttpApi
> dotnet add package Hayou.Abp.ActionLogManagement.Web
  • 在xxxxxxxWebModule添加对 AbpActionLogManagementApplicationModule 的依赖


[DependsOn(
...
typeof(AbpActionLogManagementApplicationModule)
typeof(AbpActionLogManagementEntityFrameworkCoreModule)
typeof(AbpActionLogManagementHttpApiModule)
typeof(AbpActionLogManagementWebModule)
)]
public class DemoWebUnifiedModule : AbpModule{
    ...
}

  • 并在需要记录日志的地方添加 IActionLogProvider 注入


    private readonly IActionLogProvider _actionLogProvider;

    ...

    await _actionLogProvider.AddNewLogAsync("导出结果", $"用户 {CurrentUser.UserName} 导出了结果数据(共{total}条)。", result);

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Hayou.Abp.ActionLogManagement.Application.Contracts:

Package Downloads
Hayou.Abp.ActionLogManagement.Application

一个基于Abp vNext框架的操作日志管理模块应用服务层组件。

Hayou.Abp.ActionLogManagement.HttpApi

一个基于Abp vNext框架的操作日志管理模块HTTP API层组件。

Hayou.Abp.ActionLogManagement.Web

一个基于Abp vNext框架的操作日志管理模块Web UI层组件。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1 129 8/11/2026