VinBen.Tool
0.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package VinBen.Tool --version 0.0.1
NuGet\Install-Package VinBen.Tool -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="VinBen.Tool" Version="0.0.1" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VinBen.Tool, 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.
// Install VinBen.Tool as a Cake Addin #addin nuget:?package=VinBen.Tool&version=0.0.1 // Install VinBen.Tool as a Cake Tool #tool nuget:?package=VinBen.Tool&version=0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
关于
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: 一个服务注入特性,用于标记需要注入的服务.
其他
- AssemblyTool: 程序集工具类
- EmptyTool: 空工具类
- ConvertTool: 转换工具类
- DateTimeTool: 日期工具类
- TimerTool: 计时器工具类
- TimestampTool: 时间戳工具类
- AesEncryptTool: AES加密工具类
- Md5EncryptTool: MD5加密工具类
- JsonTool: Json工具类
- MathTool: 数学工具类
- NumberTool: 数字工具类
- NetTool: 网络工具类
- ......
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- IPTools.China (>= 1.6.0)
- Mapster (>= 7.4.0)
- Microsoft.Extensions.DependencyModel (>= 8.0.0)
- UAParser (>= 3.1.47)
- VinBen.Event (>= 0.0.1)
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.