VinBen.Tool 0.0.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package VinBen.Tool --version 0.0.1.2                
NuGet\Install-Package VinBen.Tool -Version 0.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="VinBen.Tool" Version="0.0.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VinBen.Tool --version 0.0.1.2                
#r "nuget: VinBen.Tool, 0.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.
// Install VinBen.Tool as a Cake Addin
#addin nuget:?package=VinBen.Tool&version=0.0.1.2

// Install VinBen.Tool as a Cake Tool
#tool nuget:?package=VinBen.Tool&version=0.0.1.2                

关于

Vin.Tool 是 Vin.AspNetCore.Core 的工具类库,包含了一些常用的工具类。

暂不支持单文件发布,需要引用源码。参考地址:参考地址

功能

  • IpAuth: 是一个Filter IP 简单访问控制,需要在 appsettings.json 中配置 IpAuth 节点,配置后仅在范围的IP可以访问改Action,配置方式如下:
"IpAuth": [
  "127.0.0.1"
]
  • VinBaseService:一个基础的服务类

  • VinApp: 一个基础的应用单例类,在程序启动时注册,包含:ServiceProvider,Configuration,HttpContext,User等

  • InjectAttribute: 一个属性注入特性,用于标记需要注入的属性.

  • ServiceAttribute: 一个服务注入特性,用于标记需要注入的服务.

其他

  1. AssemblyTool: 程序集工具类
  2. EmptyTool: 空工具类
  3. ConvertTool: 转换工具类
  4. DateTimeTool: 日期工具类
  5. TimerTool: 计时器工具类
  6. TimestampTool: 时间戳工具类
  7. AesEncryptTool: AES加密工具类
  8. Md5EncryptTool: MD5加密工具类
  9. JsonTool: Json工具类
  10. MathTool: 数学工具类
  11. NumberTool: 数字工具类
  12. NetTool: 网络工具类
  13. ......
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on VinBen.Tool:

Package Downloads
VinBen.AspNetCore.Core

Vin Core

VinBen.Extension.Cache

Package Description

VinBen.Extension.Aop

Package Description

VinBen.Extension.SqlSugar

Package Description

VinBen.Extension.Quartz

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.1.3 353 9/12/2024
0.0.1.2 356 7/8/2024
0.0.1.1 346 7/8/2024
0.0.1 374 7/7/2024 0.0.1 is deprecated because it has critical bugs.