Dolittle.SDK.Common
14.2.0
See the version list below for details.
dotnet add package Dolittle.SDK.Common --version 14.2.0
NuGet\Install-Package Dolittle.SDK.Common -Version 14.2.0
<PackageReference Include="Dolittle.SDK.Common" Version="14.2.0" />
paket add Dolittle.SDK.Common --version 14.2.0
#r "nuget: Dolittle.SDK.Common, 14.2.0"
// Install Dolittle.SDK.Common as a Cake Addin #addin nuget:?package=Dolittle.SDK.Common&version=14.2.0 // Install Dolittle.SDK.Common as a Cake Tool #tool nuget:?package=Dolittle.SDK.Common&version=14.2.0
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
- Try our getting started tutorial
- Check out our documentation
Want to try another language?
- Check out the JavaScript and TypeScript SDK
Issues and Contributing
Issues and contributions are always welcome!
To learn how to contribute, please read our contributing guide.
Product | Versions 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. |
-
.NETCoreApp 3.1
- Dolittle.SDK.Concepts (>= 14.2.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
-
net5.0
- Dolittle.SDK.Concepts (>= 14.2.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
-
net6.0
- Dolittle.SDK.Concepts (>= 14.2.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Dolittle.SDK.Common:
Package | Downloads |
---|---|
Dolittle.SDK.Artifacts
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
23.5.0 | 343 | 10/23/2024 |
23.4.0 | 528 | 10/2/2024 |
23.3.0 | 808 | 7/31/2024 |
23.2.5 | 789 | 6/20/2024 |
23.2.4 | 422 | 6/13/2024 |
23.2.3 | 363 | 6/10/2024 |
23.2.2 | 367 | 6/2/2024 |
23.2.1 | 363 | 5/16/2024 |
23.2.0 | 1,594 | 3/14/2024 |
23.1.0 | 557 | 3/12/2024 |
23.0.0 | 514 | 3/8/2024 |
22.1.3 | 706 | 2/26/2024 |
22.1.2 | 1,935 | 10/24/2023 |
22.1.1 | 1,156 | 10/4/2023 |
22.1.0 | 1,080 | 9/18/2023 |
22.0.5 | 1,149 | 9/7/2023 |
22.0.4 | 1,256 | 8/28/2023 |
22.0.3 | 1,299 | 8/15/2023 |
22.0.2 | 1,281 | 8/8/2023 |
22.0.1 | 1,201 | 8/8/2023 |
22.0.0 | 1,540 | 6/22/2023 |
22.0.0-arkenstone.1 | 78 | 6/21/2023 |
22.0.0-arkenstone.0 | 81 | 6/12/2023 |
21.0.2 | 1,311 | 9/7/2023 |
21.0.1 | 3,049 | 6/8/2023 |
21.0.0 | 1,592 | 6/2/2023 |
21.0.0-feanor.2 | 78 | 5/31/2023 |
21.0.0-feanor.1 | 1,131 | 5/30/2023 |
21.0.0-feanor.0 | 74 | 5/30/2023 |
20.2.0 | 5,091 | 1/23/2023 |
20.2.0-shire.17 | 118 | 1/19/2023 |
20.2.0-shire.16 | 109 | 1/16/2023 |
20.2.0-shire.15 | 120 | 1/12/2023 |
20.2.0-shire.14 | 110 | 1/12/2023 |
20.2.0-shire.13 | 101 | 1/12/2023 |
20.2.0-shire.12 | 135 | 1/11/2023 |
20.2.0-shire.11 | 105 | 1/10/2023 |
20.2.0-shire.10 | 106 | 1/6/2023 |
20.2.0-shire.9 | 188 | 1/6/2023 |
20.2.0-shire.8 | 105 | 1/6/2023 |
20.2.0-shire.7 | 107 | 1/6/2023 |
20.2.0-shire.6 | 112 | 1/5/2023 |
20.2.0-shire.5 | 113 | 1/5/2023 |
20.2.0-shire.4 | 115 | 1/5/2023 |
20.2.0-shire.3 | 116 | 1/5/2023 |
20.2.0-shire.2 | 116 | 12/26/2022 |
20.2.0-shire.1 | 116 | 12/26/2022 |
20.2.0-shire.0 | 105 | 12/26/2022 |
20.1.0 | 2,405 | 12/25/2022 |
20.1.0-faramir.1 | 97 | 12/12/2022 |
20.1.0-faramir.0 | 94 | 12/9/2022 |
20.0.2 | 3,119 | 12/13/2022 |
20.0.1 | 2,438 | 12/12/2022 |
20.0.0 | 2,460 | 12/8/2022 |
19.1.0-elrond.7 | 96 | 12/7/2022 |
19.1.0-elrond.6 | 98 | 12/5/2022 |
19.1.0-elrond.5 | 91 | 12/5/2022 |
19.1.0-elrond.4 | 103 | 12/2/2022 |
19.1.0-elrond.3 | 95 | 12/2/2022 |
19.1.0-elrond.2 | 104 | 11/29/2022 |
19.1.0-elrond.1 | 99 | 11/28/2022 |
19.1.0-elrond.0 | 97 | 11/28/2022 |
19.0.0 | 4,341 | 11/25/2022 |
19.0.0-proto.5 | 95 | 11/25/2022 |
19.0.0-proto.4 | 118 | 11/22/2022 |
19.0.0-proto.3 | 96 | 11/21/2022 |
19.0.0-proto.2 | 91 | 11/21/2022 |
19.0.0-proto.1 | 97 | 11/21/2022 |
19.0.0-proto.0 | 109 | 11/18/2022 |
18.2.0-bolt.1 | 96 | 11/16/2022 |
18.2.0-bolt.0 | 111 | 11/16/2022 |
18.1.1 | 5,212 | 10/31/2022 |
18.1.0 | 5,280 | 10/26/2022 |
18.0.1 | 5,443 | 10/20/2022 |
18.0.0 | 5,603 | 9/15/2022 |
17.2.3 | 5,690 | 9/9/2022 |
17.2.2 | 6,312 | 8/26/2022 |
17.2.1 | 6,448 | 8/10/2022 |
17.2.0 | 5,797 | 7/8/2022 |
17.1.2 | 5,687 | 7/7/2022 |
17.1.1 | 5,677 | 7/7/2022 |
17.1.0 | 5,654 | 7/5/2022 |
17.1.0-boromir.4 | 131 | 7/8/2022 |
17.1.0-boromir.3 | 119 | 7/5/2022 |
17.1.0-boromir.2 | 118 | 7/1/2022 |
17.1.0-boromir.1 | 114 | 7/1/2022 |
17.0.2 | 6,192 | 6/21/2022 |
17.0.0 | 8,962 | 3/25/2022 |
17.0.0-meriadoc.0 | 129 | 3/24/2022 |
16.0.1 | 5,892 | 3/22/2022 |
16.0.0 | 5,912 | 3/14/2022 |
15.1.3 | 5,776 | 3/8/2022 |
15.1.2 | 5,811 | 3/1/2022 |
15.1.1 | 5,779 | 2/11/2022 |
15.1.0 | 5,750 | 2/11/2022 |
15.0.1 | 5,850 | 2/10/2022 |
15.0.0 | 5,711 | 2/10/2022 |
14.2.0 | 5,709 | 2/9/2022 |
14.2.0-sam.2 | 124 | 2/9/2022 |
14.2.0-sam.1 | 122 | 2/7/2022 |
14.2.0-sam.0 | 125 | 2/7/2022 |
14.1.0 | 5,786 | 1/28/2022 |
14.0.0 | 5,810 | 1/25/2022 |
14.0.0-gollum.1 | 128 | 1/25/2022 |
14.0.0-gollum.0 | 133 | 1/24/2022 |
13.1.0-bilbo.4 | 133 | 1/24/2022 |
13.1.0-bilbo.3 | 135 | 1/24/2022 |
13.1.0-bilbo.2 | 116 | 1/21/2022 |
13.1.0-bilbo.1 | 129 | 1/21/2022 |
13.1.0-bilbo.0 | 120 | 1/21/2022 |
13.0.1 | 5,690 | 1/24/2022 |
13.0.0 | 5,746 | 1/20/2022 |
13.0.0-gimli.10 | 127 | 1/20/2022 |
13.0.0-gimli.9 | 181 | 1/19/2022 |
13.0.0-gimli.8 | 125 | 1/19/2022 |
13.0.0-gimli.7 | 135 | 1/18/2022 |
13.0.0-gimli.6 | 131 | 1/17/2022 |
13.0.0-gimli.5 | 143 | 1/17/2022 |
13.0.0-gimli.4 | 130 | 1/17/2022 |
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)