Snowflake.Core 2.0.0

.NET Standard 2.0
dotnet add package Snowflake.Core --version 2.0.0
NuGet\Install-Package Snowflake.Core -Version 2.0.0
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="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
#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

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

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (39)

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.

EachShow.Util

通用基础功能

HttpReports.Dashboard

HttpReports is a lightweight APM system developed for .NET Core

MyInfrastructures

封装了一些通用的基础类

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