RuoVea.ExIdGen
8.0.1
dotnet add package RuoVea.ExIdGen --version 8.0.1
NuGet\Install-Package RuoVea.ExIdGen -Version 8.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="RuoVea.ExIdGen" Version="8.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RuoVea.ExIdGen" Version="8.0.1" />
<PackageReference Include="RuoVea.ExIdGen" />
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 RuoVea.ExIdGen --version 8.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExIdGen, 8.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.
#addin nuget:?package=RuoVea.ExIdGen&version=8.0.1
#tool nuget:?package=RuoVea.ExIdGen&version=8.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.ExCache
介绍
IdGenerator 雪花漂移算法(支持数据中心ID和秒级时间戳),雪花漂移算法,支持简体中文、繁体中文、粤语、日语、法语、英语.; 生成数值型Id、生成字符串Id、No 自动生成编号(201008251145409865)
使用示例
生成雪花 数值型 Id
long id = IdGenerator.Id;
string id = IdGenerator.IdStr("demo");
相关配置文件
{
"IdGenerator": {
/* 计器码 用于唯一Id 的生成 */
"WorkerId": 2,
/* 默认值6,取值范围 [3, 21](要求:序列数位长+机器码位长不超过22) */
"SeqBitLength": 6
}
}
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Extensions.Configuration.Binder (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on RuoVea.ExIdGen:
Package | Downloads |
---|---|
RuoVea.ExSugar
Sqlsugar扩展 快速注入,支持简体中文、繁体中文、粤语、日语、法语、英语.使用方式:service.AddSqlsugar();继承RestFulLog 重写异常日志,操作日志,差异日志 |
|
RuoVea.ExWeb
CorsUrls、IPLimit、SafeIps、Jwt 配置 |
|
RuoVea.QuartzNetUI
QuartzNet UI界面 执行脚本地址:https://gitee.com/starry123/ruovea-quartznet-ui/tree/develop/Doc/Sql |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.1 | 950 | 8 months ago |
8.0.0 | 356 | 11/24/2023 |
7.0.1 | 1,144 | 8 months ago |
7.0.0 | 145 | 9 months ago |
6.0.1 | 5,119 | 8 months ago |
6.0.0 | 2,214 | 2/9/2022 |
5.0.3 | 286 | 8 months ago |
5.0.2 | 3,626 | 11/25/2021 |
5.0.1 | 3,215 | 11/25/2021 |
2.1.1.1 | 150 | 11/24/2023 |
2.1.1 | 442 | 6/9/2022 |
2.0.0 | 94 | 7 months ago |