RuoVea.ExIdGen 2.1.1.1

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

// Install RuoVea.ExIdGen as a Cake Tool
#tool nuget:?package=RuoVea.ExIdGen&version=2.1.1.1

RuoVea.ExCache

介绍
IdGenerator 雪花漂移算法(支持数据中心ID和秒级时间戳),雪花漂移算法; 生成数值型Id、生成字符串Id、No 自动生成编号(201008251145409865)
使用示例
生成雪花 数值型 Id
long id = IdGenerator.Id;

计器码  用于唯一Id 的生成/ WorkerId,机器码,最重要参数,无默认值,必须 全局唯一(或相同 DataCenterId 内唯一),必须 程序设定,缺省条件(WorkerIdBitLength取默认值)时最大值63,理论最大值 2^WorkerIdBitLength-1(不同实现语言可能会限定在 65535 或 32767,原理同 WorkerIdBitLength 规则)。不同机器或不同应用实例 不能相同,你可通过应用程序配置该值,也可通过调用外部服务获取值。
long id = IdGenerator(4).Id;

序列数位长+机器码位长不超过22 默认值6,取值范围 [3, 21]
long id = IdGenerator(ushort workerId,byte seqBitLength).Id;

string id = IdGenerator.IdStr("demo");
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 is compatible.  net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETFramework 4.8.1

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on RuoVea.ExIdGen:

Package Downloads
RuoVea.ExSugar

Sqlsugar扩展 快速注入 使用方式: service.AddSqlsugar();

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.0 221 11/24/2023
6.0.0 1,834 2/9/2022
5.0.2 3,492 11/25/2021
5.0.1 3,158 11/25/2021
2.1.1.1 105 11/24/2023
2.1.1 386 6/9/2022