HUMANiT.Azure.Data
2.0.2
Prefix Reserved
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
<PackageReference Include="HUMANiT.Azure.Data" Version="2.0.2" />
<PackageVersion Include="HUMANiT.Azure.Data" Version="2.0.2" />
<PackageReference Include="HUMANiT.Azure.Data" />
paket add HUMANiT.Azure.Data --version 2.0.2
#r "nuget: HUMANiT.Azure.Data, 2.0.2"
#addin nuget:?package=HUMANiT.Azure.Data&version=2.0.2
#tool nuget:?package=HUMANiT.Azure.Data&version=2.0.2
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. UseDataAccess
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 fromEmbeddedCosmosItem
now. - Improved: Inline documentation.
- Obsolete:
HUMANiT.Azure.Data.Cosmos.ICosmosContext
interface deprecated. UseCosmosContext
instead. - Obsolete:
HUMANiT.Azure.Data.Cosmos.Items.*CosmosItem.HealthState
property deprecated. UseHealth
instead. - Obsolete:
HUMANiT.Azure.Data.Cosmos.Items.EmbeddedPersistableCosmosItem
class deprecated. UseEmbeddedCosmosItem
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 | Versions 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. |
-
.NETStandard 2.0
- HUMANiT.Azure (>= 2.0.2)
- Microsoft.Azure.Cosmos (>= 3.48.0)
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- HUMANiT.Azure (>= 2.0.2)
- Microsoft.Azure.Cosmos (>= 3.48.0)
- Newtonsoft.Json (>= 13.0.3)
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.
Contact HUMANiT for details: support@HUMANiT.nz