Snowflake.Core 2.0.0

Install-Package Snowflake.Core -Version 2.0.0
dotnet add package Snowflake.Core --version 2.0.0
<PackageReference Include="Snowflake.Core" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Snowflake.Core --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Snowflake.Core, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Snowflake.Core as a Cake Addin
#addin nuget:?package=Snowflake.Core&version=2.0.0

// Install Snowflake.Core as a Cake Tool
#tool nuget:?package=Snowflake.Core&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Usage:

var worker = new IdWorker(1, 1);
long id = worker.NextId();

IdWorker should be instantiated once.Otherwise,there will be repeat.

github:https://github.com/stulzq/snowflake-net

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (33)

Showing the top 5 NuGet packages that depend on Snowflake.Core:

Package Downloads
HttpReports

HttpReports is a lightweight APM system developed for .NET Core

HttpReports.Storage.Abstractions

HttpReports is a lightweight APM system developed for .NET Core , it is also suitable for use in a micro-service architecture.

HttpReports.Dashboard

HttpReports is a lightweight APM system developed for .NET Core

MyInfrastructures

封装了一些通用的基础类

EachShow.Util

通用基础功能

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Snowflake.Core:

Repository Stars
dotnetcore/HttpReports
HttpReports is an APM (application performance monitor) system for .Net Core.
aprilyush/EasyCMS
EasyCms基于Asp.net Core 的后台快速开发框架,内容管理系统
CoreUnion/CoreShop
基于 Asp.Net Core 5.0、Uni-App开发,支持可视化布局的小程序商城系统,前后端分离,支持分布式部署,跨平台运行,拥有分销、代理、团购、拼团、秒杀、直播、优惠券、自定义表单等众多营销功能,拥有完整SKU、下单、售后、物流流程。支持一套代码编译发布微信小程序版、H5版、Android版、iOS版、支付宝小程序版、字节跳动小程序版、QQ小程序版等共10个平台。
Version Downloads Last updated
2.0.0 201,006 10/12/2017