![]() |
VOOZH | about |
dotnet add package Devlooped.TableStorage.Protobuf --version 5.5.0
NuGet\Install-Package Devlooped.TableStorage.Protobuf -Version 5.5.0
<PackageReference Include="Devlooped.TableStorage.Protobuf" Version="5.5.0" />
<PackageVersion Include="Devlooped.TableStorage.Protobuf" Version="5.5.0" />Directory.Packages.props
<PackageReference Include="Devlooped.TableStorage.Protobuf" />Project file
paket add Devlooped.TableStorage.Protobuf --version 5.5.0
#r "nuget: Devlooped.TableStorage.Protobuf, 5.5.0"
#:package Devlooped.TableStorage.Protobuf@5.5.0
#addin nuget:?package=Devlooped.TableStorage.Protobuf&version=5.5.0Install as a Cake Addin
#tool nuget:?package=Devlooped.TableStorage.Protobuf&version=5.5.0Install as a Cake Tool
A Protocol Buffers binary serializer for use with document-based repositories.
Usage:
var repo = DocumentRepository.Create<Product>(..., serializer: ProtobufDocumentSerializer.Default);
The DocumentRepository.Create and DocumentPartition.Create factory methods provide access
to document-based storage, exposing the a similar API as column-based storage.
Document repositories cause entities to be persisted as a single document column, alongside type and version information to handle versioning at the app level as needed.
The API is mostly the same as for column-based repositories (document repositories implement
the same underlying ITableStorage interface):
public record Product(string Category, string Id)
{
public string? Title { get; init; }
public double Price { get; init; }
public DateOnly CreatedAt { get; init; }
}
var book = new Product("book", "9781473217386")
{
Title = "Neuromancer",
Price = 7.32
};
// Column-based storage
var repo = TableRepository.Create<Product>(
CloudStorageAccount.DevelopmentStorageAccount,
tableName: "Products",
partitionKey: p => p.Category,
rowKey: p => p.Id);
await repo.PutAsync(book);
// Document-based storage
var docs = DocumentRepository.Create<Product>(
CloudStorageAccount.DevelopmentStorageAccount,
tableName: "Documents",
partitionKey: p => p.Category,
rowKey: p => p.Id
serializer: [SERIALIZER]);
await docs.PutAsync(book);
If not provided, the serializer defaults to the
System.Text.Json-basedDocumentSerializer.Default.
The resulting differences in storage can be seen in the following screenshots of the Azure Storage Explorer:
👁 Screenshot of entity persisted with separate columns for properties
👁 Screenshot of entity persisted as a document
The Type column persisted in the documents table is the Type.FullName of the persisted entity, and the
Version is the [Major].[Minor] of its assembly, which could be used for advanced data migration scenarios.
The major and minor version components are also provided as individual columns for easier querying
by various version ranges, using IDocumentRepository.EnumerateAsync(predicate).
If the serialized documents need to access the Timestamp managed by Azure Table
Storage, you can implement IDocumentTimestamp in your entity type.
👁 Clarius Org
👁 MFB Technologies, Inc.
👁 DRIVE.NET, Inc.
👁 Keith Pickford
👁 Thomas Bolon
👁 Kori Francis
👁 Uno Platform
👁 Reuben Swartz
👁 Jacob Foshee
👁 alternate text is missing from this package README image
👁 Eric Johnson
👁 David JENNI
👁 Jonathan
👁 Charley Wu
👁 Ken Bonny
👁 Simon Cropp
👁 agileworks-eu
👁 Zheyu Shen
👁 Vezel
👁 ChilliCream
👁 4OTC
👁 Vincent Limo
👁 domischell
👁 Justin Wendlandt
👁 Adrian Alonso
👁 Michael Hagedorn
👁 torutek
👁 mccaffers
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.5.0 | 476 | 11/17/2025 |
| 5.4.0 | 226 | 6/20/2025 |
| 5.3.1 | 282 | 6/14/2025 |
| 5.3.0 | 290 | 5/22/2025 |
| 5.2.4 | 270 | 5/21/2025 |
| 5.2.3 | 302 | 5/17/2025 |
| 5.2.2 | 300 | 5/6/2025 |
| 5.2.1 | 275 | 10/22/2024 |
| 5.2.0 | 278 | 7/24/2024 |
| 5.2.0-rc.1 | 145 | 7/13/2024 |
| 5.2.0-rc | 171 | 7/10/2024 |
| 5.2.0-beta | 190 | 7/6/2024 |
| 5.1.2 | 297 | 1/25/2024 |
| 5.1.1 | 276 | 10/4/2023 |
| 5.1.0 | 345 | 8/11/2023 |
| 5.0.2 | 327 | 8/8/2023 |
| 5.0.1 | 297 | 7/25/2023 |
| 5.0.0 | 298 | 7/25/2023 |
| 4.3.1 | 289 | 7/24/2023 |
| 4.3.0 | 335 | 6/27/2023 |