Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoogn authored Dec 5, 2023
1 parent 4d36681 commit 0684b34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### SnowflakeId
This is the implementation of twitter's snowflakeId algorithm in C# programming language

---

### Get Started
SnowflakeId is a library that can help you to generate a unique Id, specifically for those who are working in a Distributed Systems.
The currently version is version 3.0.0, and there are break changes in this version when you upgrade from an older versions so be careful when you upgrade to version 3.0.0
Expand All @@ -26,6 +28,7 @@ builder.Services.AddSnowflakeUniqueId(options =>
options.DataCenterId = 1; // Its best if you read the value from the appsettings.json file
});
```
---

### The Complete Asp.NET Core Example:
```C#
Expand Down Expand Up @@ -56,7 +59,6 @@ app.Run();
And here is the result if you run the app:
![image](https://github.com/Shoogn/SnowflakeId/assets/18530495/6d05dcd7-4a87-4fb9-86a7-bfd79aca7c80)


---
### With Console Application Or any other .NET application:
```C#
Expand Down

0 comments on commit 0684b34

Please sign in to comment.