HUMANiT.Azure.Data 2.0.2

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package HUMANiT.Azure.Data --version 2.0.2
                    
NuGet\Install-Package HUMANiT.Azure.Data -Version 2.0.2
                    
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="HUMANiT.Azure.Data" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HUMANiT.Azure.Data" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="HUMANiT.Azure.Data" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HUMANiT.Azure.Data --version 2.0.2
                    
#r "nuget: HUMANiT.Azure.Data, 2.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=HUMANiT.Azure.Data&version=2.0.2
                    
Install HUMANiT.Azure.Data as a Cake Addin
#tool nuget:?package=HUMANiT.Azure.Data&version=2.0.2
                    
Install HUMANiT.Azure.Data as a Cake Tool

HUMANiT Azure Data

Features

  • Cosmos: Simlified access to Azure Cosmos.
  • Cosmos Items: Simplifies and size-optimizes serialization into to Azure Cosmos documents.

Version 2.0 (Upgrade from 1.2)

  • Breaking: Explicit .NET 6 target framework removed. Use .NET 8 instead.
  • Breaking: HUMANiT.Azure.Data.IDataAccess interface removed. Use DataAccess instead.
  • New: Option added to CosmosContext that items are no longer filtered by item type name when read from a container.
  • Improved: HUMANiT.Azure.Data.Cosmos.Items.BasicPersistableCosmosItem inherits from EmbeddedCosmosItem now.
  • Improved: Inline documentation.
  • Obsolete: HUMANiT.Azure.Data.Cosmos.ICosmosContext interface deprecated. Use CosmosContext instead.
  • Obsolete: HUMANiT.Azure.Data.Cosmos.Items.*CosmosItem.HealthState property deprecated. Use Health instead.
  • Obsolete: HUMANiT.Azure.Data.Cosmos.Items.EmbeddedPersistableCosmosItem class deprecated. Use EmbeddedCosmosItem instead.

Contact

This package contains features which we require for our own software; therefore, some features are highly custom. If you require a fix, an enhancement, or a more configurable solution, please contact us: support@humanit.nz.

License

MIT -- free software, hell yeah 🤩

Quickstarts

Cosmos

Simlified access to Azure Cosmos.

Located in namespace HUMANiT.Azure.Data.Cosmos.

Quickstart guidance will come.

Cosmos Items

Simplifies and size-optimizes serialization into to Azure Cosmos documents.

Located in namespace HUMANiT.Azure.Data.Cosmos.Items.

Purpose will be explained later.

The parameterless constructor CosmosItem() ... explained later.

The constructor CosmosItem(TDomainObject) ... explained later.

The property ItemTypeName is a built-in object/document type identifier. It is based on the underlying domain object. Its purpose is to deal with Cosmos DB specifics. Different items have different item type names which allows to select all items of one item type when querying data. However, that requirement is only rarely required. To disable their rendering into Cosmos documents and therefore save storage space, override this property and mark it with Newtonsoft.Json.JsonIgnoreAttribute. Example:

// We override this property, so we can exclude it from the serialization into our Cosmos docs.
[JsonIgnore]
public override string ItemTypeName
{
    get => base.ItemTypeName;
    set => base.ItemTypeName = value;
}

The DetermineItemTypeName() method ... explained later.

The Extract() methods ... explained later.

The ExtractProperties() method ... explained later.

The Restore() method ... explained later.

The Restore...() methods ... explained later.

More guidance will come.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HUMANiT.Azure.Data:

Package Downloads
HUMANiT.Azure.Logic

Feature logic for use in Azure Functions such as central logging support, domain objects, heartbeat, Swagger doc/UI generation. [covered by 50+ tests]

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3-alpha-3234 39 4/20/2025
2.0.2 115 4/11/2025
2.0.0 110 4/4/2025
1.2.0 207 3/4/2025
1.1.0 755 11/4/2023
1.0.5 171 9/18/2023
1.0.4 307 3/31/2023
1.0.3 381 1/17/2023
1.0.1 446 1/10/2023
1.0.0 447 10/19/2022
0.7.0 3,332 4/2/2020

Contact HUMANiT for details: support@HUMANiT.nz