From 198e0afe53aa0cec84e054923f4b22ba425e50da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sander=20S=C3=A4de?= Date: Fri, 15 Mar 2019 15:11:09 +0200 Subject: [PATCH] Add nuspec --- Sander.SequentialGuid.nuspec | 38 ++++++++++++++++++++++++++++++++++++ Sander.SequentialGuid.sln | 1 + 2 files changed, 39 insertions(+) create mode 100644 Sander.SequentialGuid.nuspec diff --git a/Sander.SequentialGuid.nuspec b/Sander.SequentialGuid.nuspec new file mode 100644 index 0000000..f052f4e --- /dev/null +++ b/Sander.SequentialGuid.nuspec @@ -0,0 +1,38 @@ + + + + Sander.SequentialGuid + 1.0.0 + Sander Säde + Sander Säde + false + https://github.com/SanderSade/SequentialGuid/blob/master/LICENSE + https://github.com/SanderSade/SequentialGuid/ + https://img.shields.io/badge/Sequential-Guid-lightgrey.svg + By default, GUIDs are not alphanumerically continuous or sortable in a meaningful way. + + A very common use for GUID is a primary key in the database - but with non-sequential GUIDs, it is not optimal to have the primary key as a clustered index. Using clustered index with nonsequential GUIDs can cause fragmentation and general performance issues. + + To resolve this, SQL Server has NEWSEQUENTIALID, which creates alphanumerically sortable, sequential GUIDs. The downside ot this approach is that the application will have to wait the SQL Server to create the primary key before the entry becomes usable - and of course, there are other database engines that do not have similar functionality. + + Windows has a native UuidCreateSequential function, which is not available on other .NET platforms. + + SequentialGuid library is implemented as a .NET Standard 2.0 package, allowing creation of sortable GUIDs prior storing data in the database on any compatible platform. In addition, there are useful helper functions to convert to/from GUID or get specific chartacter/byte. + + SequentialGuid is aimed for high-performance applications, as other such libraries are often very underperforming or do not have comparable functionality. + + © Sander Säde 2019 + sequential-guids guid guid-conversion guid-generator + + + + + + + + + + + + + \ No newline at end of file diff --git a/Sander.SequentialGuid.sln b/Sander.SequentialGuid.sln index 7174564..66c6da3 100644 --- a/Sander.SequentialGuid.sln +++ b/Sander.SequentialGuid.sln @@ -14,6 +14,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Doc", "Doc", "{9E1D0E5B-636B-41A1-96A1-3169F0E28E55}" ProjectSection(SolutionItems) = preProject readme.md = readme.md + Sander.SequentialGuid.nuspec = Sander.SequentialGuid.nuspec EndProjectSection EndProject Global