Hayou.Abp.VersionLog.UI
0.1.2
dotnet add package Hayou.Abp.VersionLog.UI --version 0.1.2
NuGet\Install-Package Hayou.Abp.VersionLog.UI -Version 0.1.2
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.VersionLog.UI" Version="0.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hayou.Abp.VersionLog.UI" Version="0.1.2" />
<PackageReference Include="Hayou.Abp.VersionLog.UI" />
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.VersionLog.UI --version 0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hayou.Abp.VersionLog.UI, 0.1.2"
#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.VersionLog.UI@0.1.2
#: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.VersionLog.UI&version=0.1.2
#tool nuget:?package=Hayou.Abp.VersionLog.UI&version=0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Hayou.Abp.VersionLog.UI
About this solution
这是一个基于Abp vNext框架 版本日志 UI模块
What is new?
此版本增加以时间线方式显示更新日志。默认方式为时间线方式,配置不使用时间线方式显示时会按表格方式显示。
context.Services.ConfigureVersionLog(versions,showToolbar,showMainMenu,showTimeLine);
参数说明:
versions:日志数据列表,
showToolbar(bool):是否显示在工具栏菜单中,
showMainMenu(bool):是否显示在主菜单中,
showTimeLine(bool):是否以时间线方式显示
Pre-requirements
Configurations
使用版本日志UI模块,需要在Web项目添加UI模块的Dll引用 ,并配置版本信息
在项目中添加 Hayou.Abp.VersionLog.UI.dll 的引用,或添加包引用
> dotnet add package Hayou.Abp.VersionLog.UI --version 0.1.2
在xxxxxxxWebModule添加对命名空间的引用和对 HayouAbpVersionLogUIModule 的依赖,并配置版本日志信息
using Hayou.Abp.VersionLog.Dtos;
using Hayou.Abp.VersionLog.UI;
......
[DependsOn(......
typeof(HayouAbpVersionLogUIModule),
......)]
public class xxWebUnifiedModule : AbpModule
{
......
public override void PreConfigureServices(ServiceConfigurationContext context)
{
.....
ConfigureVersionLog(context);
.....
}
/// <summary>
/// 配置版本日志信息
/// </summary>
/// <param name="context"></param>
private void ConfigureVersionLog(ServiceConfigurationContext context)
{
var versions = new List<VersionDto>()
{
new VersionDto("20241010.0.1.0", @"初始发布版本。", "初始发布版本正式上线。", new System.DateTime(2024, 10, 10, 12, 0, 0),url="v0.1.0.html")
};
context.Services.ConfigureVersionLog(versions);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net8.0
- Microsoft.Extensions.FileProviders.Embedded (>= 8.0.8)
- Volo.Abp.AspNetCore.Mvc (>= 8.3.1)
- Volo.Abp.AspNetCore.Mvc.UI (>= 8.3.1)
- Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared (>= 8.3.1)
- Volo.Abp.Autofac (>= 8.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.