IdGen 2.1.0

Twitter Snowflake-alike ID generator for .Net

Install-Package IdGen -Version 2.1.0
dotnet add package IdGen --version 2.1.0
<PackageReference Include="IdGen" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IdGen --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NetStandard 1.1+ support, IDGen.Configuration package, bugfix

Changelog:

  • Support for NetStandard 1.1+
  • Moved AppConfig stuff to separate IDGen.Configuration package
  • ID now implements IEquatable
  • Fixed some ArgumentOutOfRangeExceptions from the IdGenerator's ctor messages
  • Minor cleanup / refactoring
  • Fixed bug (see #18) where internal timer was started only on first use instead of on instantiation

Breaking changes;

If you're using the IdGenerator.GetFromConfig(...) method make sure you check the README. The changes aren't big, but breaking nonetheless. How to fix:

  • Install IdGen.Configuration package
  • Change the configsection type from:
    IdGen.Configuration.IdGeneratorsSection, IdGen
    to:
    IdGen.Configuration.IdGeneratorsSection, IdGen.Configuration
  • Add a using IdGen.Configuration
  • Change IdGenerator.GetFromConfig(...) to AppConfigFactory.GetFromConfig(...)

NetStandard 1.1+ support, IDGen.Configuration package, bugfix

Changelog:

  • Support for NetStandard 1.1+
  • Moved AppConfig stuff to separate IDGen.Configuration package
  • ID now implements IEquatable
  • Fixed some ArgumentOutOfRangeExceptions from the IdGenerator's ctor messages
  • Minor cleanup / refactoring
  • Fixed bug (see #18) where internal timer was started only on first use instead of on instantiation

Breaking changes;

If you're using the IdGenerator.GetFromConfig(...) method make sure you check the README. The changes aren't big, but breaking nonetheless. How to fix:

  • Install IdGen.Configuration package
  • Change the configsection type from:
    IdGen.Configuration.IdGeneratorsSection, IdGen
    to:
    IdGen.Configuration.IdGeneratorsSection, IdGen.Configuration
  • Add a using IdGen.Configuration
  • Change IdGenerator.GetFromConfig(...) to AppConfigFactory.GetFromConfig(...)

Showing the top 3 GitHub repositories that depend on IdGen:

Repository Stars
SeriaWei/ZKEACMS
ZKEACMS for .Net Core (.Net Core CMS)可视化设计在线编辑内容管理系统
trueai-org/module-shop
一个基于 .NET Core构建的简单、跨平台、模块化的商城系统
lysilver/KopSoftWms
KopSoft仓库管理系统

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
2.1.0 0 2/19/2020
2.0.3 75,947 7/31/2018
2.0.2 16,986 2/9/2018
2.0.1 5,735 11/23/2016
2.0.1-rc 412 10/10/2016
2.0.0-rc 520 7/21/2016
1.3.1 10,115 3/7/2016
1.3.0 519 3/7/2016
1.2.0 589 2/9/2016
1.1.0 830 6/29/2015
1.0.0 604 4/8/2015
1.0.0-beta 513 4/4/2015
1.0.0-alpha 449 4/3/2015