Dolittle.SDK.Tenancy 14.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Dolittle.SDK.Tenancy --version 14.2.0                
NuGet\Install-Package Dolittle.SDK.Tenancy -Version 14.2.0                
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="Dolittle.SDK.Tenancy" Version="14.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dolittle.SDK.Tenancy --version 14.2.0                
#r "nuget: Dolittle.SDK.Tenancy, 14.2.0"                
#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.
// Install Dolittle.SDK.Tenancy as a Cake Addin
#addin nuget:?package=Dolittle.SDK.Tenancy&version=14.2.0

// Install Dolittle.SDK.Tenancy as a Cake Tool
#tool nuget:?package=Dolittle.SDK.Tenancy&version=14.2.0                

Dolittle

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

This is our C# SDK, install it with:

dotnet add package Dolittle.SDK 

Get Started

Want to try another language?

Issues and Contributing

Issues and contributions are always welcome!

To learn how to contribute, please read our contributing guide.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Dolittle.SDK.Tenancy:

Package Downloads
Dolittle.SDK.Execution

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

Dolittle.SDK

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

Dolittle.SDK.Tenancy.Client

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
23.5.0 364 10/23/2024
23.4.0 545 10/2/2024
23.3.0 827 7/31/2024
23.2.5 809 6/20/2024
23.2.4 443 6/13/2024
23.2.3 374 6/10/2024
23.2.2 392 6/2/2024
23.2.1 389 5/16/2024
23.2.0 1,575 3/14/2024
23.1.0 526 3/12/2024
23.0.0 496 3/8/2024
22.1.3 658 2/26/2024
22.1.2 1,771 10/24/2023
22.1.1 1,001 10/4/2023
22.1.0 935 9/18/2023
22.0.5 990 9/7/2023
22.0.4 1,064 8/28/2023
22.0.3 1,106 8/15/2023
22.0.2 1,127 8/8/2023
22.0.1 1,015 8/8/2023
22.0.0 1,367 6/22/2023
22.0.0-arkenstone.1 83 6/21/2023
22.0.0-arkenstone.0 85 6/12/2023
21.0.2 1,184 9/7/2023
21.0.1 2,862 6/8/2023
21.0.0 1,425 6/2/2023
21.0.0-feanor.2 79 5/31/2023
21.0.0-feanor.1 1,152 5/30/2023
21.0.0-feanor.0 76 5/30/2023
20.2.0 4,903 1/23/2023
20.2.0-shire.17 114 1/19/2023
20.2.0-shire.16 109 1/16/2023
20.2.0-shire.15 110 1/12/2023
20.2.0-shire.14 114 1/12/2023
20.2.0-shire.13 107 1/12/2023
20.2.0-shire.12 143 1/11/2023
20.2.0-shire.11 106 1/10/2023
20.2.0-shire.10 105 1/6/2023
20.2.0-shire.9 183 1/6/2023
20.2.0-shire.8 106 1/6/2023
20.2.0-shire.7 109 1/6/2023
20.2.0-shire.6 103 1/5/2023
20.2.0-shire.5 113 1/5/2023
20.2.0-shire.4 113 1/5/2023
20.2.0-shire.3 107 1/5/2023
20.2.0-shire.2 117 12/26/2022
20.2.0-shire.1 118 12/26/2022
20.2.0-shire.0 108 12/26/2022
20.1.0 2,294 12/25/2022
20.1.0-faramir.1 105 12/12/2022
20.1.0-faramir.0 96 12/9/2022
20.0.2 2,932 12/13/2022
20.0.1 2,299 12/12/2022
20.0.0 2,308 12/8/2022
19.1.0-elrond.7 105 12/7/2022
19.1.0-elrond.6 100 12/5/2022
19.1.0-elrond.5 95 12/5/2022
19.1.0-elrond.4 99 12/2/2022
19.1.0-elrond.3 102 12/2/2022
19.1.0-elrond.2 102 11/29/2022
19.1.0-elrond.1 100 11/28/2022
19.1.0-elrond.0 97 11/28/2022
19.0.0 4,138 11/25/2022
19.0.0-proto.5 92 11/25/2022
19.0.0-proto.4 123 11/22/2022
19.0.0-proto.3 96 11/21/2022
19.0.0-proto.2 95 11/21/2022
19.0.0-proto.1 100 11/21/2022
19.0.0-proto.0 107 11/18/2022
18.2.0-bolt.1 95 11/16/2022
18.2.0-bolt.0 116 11/16/2022
18.1.1 5,075 10/31/2022
18.1.0 5,139 10/26/2022
18.0.1 5,321 10/20/2022
18.0.0 5,519 9/15/2022
17.2.3 5,540 9/9/2022
17.2.2 6,149 8/26/2022
17.2.1 6,368 8/10/2022
17.2.0 5,683 7/8/2022
17.1.2 5,544 7/7/2022
17.1.1 5,552 7/7/2022
17.1.0 5,539 7/5/2022
17.1.0-boromir.4 133 7/8/2022
17.1.0-boromir.3 115 7/5/2022
17.1.0-boromir.2 123 7/1/2022
17.1.0-boromir.1 116 7/1/2022
17.0.2 6,086 6/21/2022
17.0.0 8,871 3/25/2022
17.0.0-meriadoc.0 125 3/24/2022
16.0.1 5,745 3/22/2022
16.0.0 5,736 3/14/2022
15.1.3 5,711 3/8/2022
15.1.2 5,688 3/1/2022
15.1.1 5,672 2/11/2022
15.1.0 5,643 2/11/2022
15.0.1 5,816 2/10/2022
15.0.0 5,639 2/10/2022
14.2.0 5,644 2/9/2022
14.2.0-sam.2 130 2/9/2022
14.2.0-sam.1 126 2/7/2022
14.2.0-sam.0 123 2/7/2022
14.1.0 5,624 1/28/2022
14.0.0 5,757 1/25/2022
14.0.0-gollum.1 131 1/25/2022
14.0.0-gollum.0 138 1/24/2022
13.1.0-bilbo.4 137 1/24/2022
13.1.0-bilbo.3 134 1/24/2022
13.1.0-bilbo.2 130 1/21/2022
13.1.0-bilbo.1 127 1/21/2022
13.1.0-bilbo.0 138 1/21/2022
13.0.1 5,635 1/24/2022
13.0.0 5,635 1/20/2022
13.0.0-gimli.10 135 1/20/2022
13.0.0-gimli.9 181 1/19/2022
13.0.0-gimli.8 128 1/19/2022
13.0.0-gimli.7 133 1/18/2022
13.0.0-gimli.6 135 1/17/2022
13.0.0-gimli.5 136 1/17/2022
13.0.0-gimli.4 141 1/17/2022
13.0.0-gimli.3 161 12/7/2021
13.0.0-gimli.2 179 12/7/2021
13.0.0-gimli.1 191 12/7/2021
13.0.0-gimli.0 860 12/1/2021
12.1.0-gandalf.0 1,452 11/26/2021
12.0.0 4,242 11/18/2021
12.0.0-legolas.7 144 11/18/2021
12.0.0-legolas.6 148 11/16/2021
12.0.0-legolas.5 140 11/15/2021
12.0.0-legolas.4 144 11/15/2021
12.0.0-legolas.3 169 11/11/2021
12.0.0-legolas.2 153 11/10/2021
12.0.0-legolas.1 159 11/9/2021
12.0.0-legolas.0 152 11/9/2021
11.0.0 9,762 11/5/2021
11.0.0-aragorn.8 179 11/5/2021
11.0.0-aragorn.7 176 11/4/2021
11.0.0-aragorn.6 149 11/4/2021
11.0.0-aragorn.5 171 11/4/2021
11.0.0-aragorn.4 171 11/2/2021
11.0.0-aragorn.3 171 11/2/2021
11.0.0-aragorn.2 167 10/29/2021
11.0.0-aragorn.1 147 10/26/2021
11.0.0-aragorn.0 199 10/25/2021
10.1.0 3,594 10/21/2021
10.0.0 3,429 10/13/2021
10.0.0-eventsource.1 163 10/13/2021
10.0.0-eventsource.0 150 10/5/2021
9.2.0 8,941 9/29/2021
9.2.0-register-all.1 166 9/15/2021
9.2.0-register-all.0 163 9/7/2021
9.1.1 4,265 12/21/2021
9.1.0 7,548 7/14/2021
9.1.0-embeddings.0 152 7/5/2021
9.0.0 3,503 6/16/2021
8.5.0-timeout.4 1,374 6/4/2021
8.5.0-timeout.3 162 6/4/2021
8.5.0-timeout.2 212 5/31/2021
8.5.0-timeout.1 326 5/30/2021
8.5.0-timeout.0 244 5/29/2021
8.4.0 10,320 4/9/2021
8.4.0-projections.2 170 4/9/2021
8.4.0-projections.1 169 4/7/2021
8.4.0-projections.0 176 4/7/2021
8.3.2 4,697 3/24/2021
8.3.1 3,348 2/22/2021
8.3.0 3,211 2/17/2021
8.2.0 3,244 2/17/2021
8.1.1 3,210 2/14/2021
8.1.0 3,241 2/14/2021
8.1.0-updatedeps.0 212 1/20/2021
8.0.0 5,299 11/2/2020
7.0.0 3,107 10/28/2020
7.0.0-redpill.1 294 10/14/2020
7.0.0-redpill.0 353 10/13/2020
6.0.0 2,990 10/2/2020
6.0.0-rc.21 216 10/2/2020
6.0.0-rc.20 220 10/1/2020
6.0.0-rc.19 216 9/30/2020
6.0.0-rc.18 246 9/30/2020
6.0.0-rc.17 226 9/30/2020
6.0.0-rc.16 230 9/30/2020
6.0.0-rc.15 249 9/28/2020
6.0.0-rc.14 237 9/25/2020
6.0.0-rc.13 239 9/25/2020
6.0.0-rc.12 226 9/25/2020
6.0.0-rc.11 241 9/22/2020
6.0.0-rc.10 235 9/21/2020
6.0.0-rc.9 237 9/18/2020
6.0.0-rc.8 225 9/18/2020
6.0.0-rc.7 287 9/16/2020
6.0.0-rc.6 300 9/16/2020
6.0.0-rc.5 233 9/15/2020
6.0.0-rc.4 233 9/11/2020
6.0.0-rc.3 246 9/11/2020
6.0.0-rc.2 251 9/8/2020

Version 14.2.0:
Introduces APIs to configure secondary storage for Projection read models for querying, as introduced in https://github.com/dolittle/Runtime/pull/614 (https://github.com/dolittle/Runtime/pull/614) (requires Runtime v7.6.0). These changes makes it easy to query Projection read models by specifying that you want copies stored in MongoDB, and then use an IMongoCollection<> for that Projection as any other MongoDB collection. The Projection still operates normally and can be fetched from the Projection Store. Modifications of documents in the copied collections will affect the original Projection processing, but should be avoided as it could cause unexpected behaviour. The collections are automatically created and dropped as needed by the Runtime when Projections are created or changed.

There is currently no mechanism for detecting multiple projections copied to the same collection, so be aware of possible strange behaviour if you have multiple Projections with the same name.

Added:
- The [CopyToMongoDB(...)] attribute that enables read model copies for a Projection class to MongoDB. The default collection name is the same as the class name. The attribute accepts an argument to override the collection name.
- The [ConvertToMongoDB(conversion)] attribute to specify a BSON conversion to apply when copying the Projection read model to a MongoDB collection. By default the same conversions as the MongoDB driver uses is applied.
- A .CopyToMongoDB(...) method on the Projection builder for enabling read model copies for Projections created using the builder API. This method accepts a callback that you can use to set the collection name and conversions for the read model copies. You can also disable default MongoDB driver conversions.
- Binding for IMongoDatabase in the tenant scoped DI containers.
- Binding for IMongoCollection<TReadModel> in the tenant scoped DI containers for each Projection.
- Extension method IMongoDatabase.GetCollection<TReadModel>(settings = null) to get a collection using the name of the read model or the collection specified in the [CopyToMongoDB(collection)] attribute.

Changed:
- To make deserialising work from a Projection read model copy collection, we have enabled IgnoreExtraElements for all types in the MongoDB driver when the Dolittle Client is used. This is not default behaviour for the MongoDB driver, but when using MongoDB for read model storage, this should not affect the application adversely.

Changelog:
For all release notes, see changelog (https://github.com/dolittle/DotNET.SDK/blob/master/CHANGELOG.md)