Dolittle.SDK.Embeddings 14.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Dolittle.SDK.Embeddings --version 14.2.0
NuGet\Install-Package Dolittle.SDK.Embeddings -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.Embeddings" 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.Embeddings --version 14.2.0
#r "nuget: Dolittle.SDK.Embeddings, 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.Embeddings as a Cake Addin
#addin nuget:?package=Dolittle.SDK.Embeddings&version=14.2.0

// Install Dolittle.SDK.Embeddings as a Cake Tool
#tool nuget:?package=Dolittle.SDK.Embeddings&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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
21.0.0-feanor.0 67 5/30/2023
20.2.0 2,442 1/23/2023
20.2.0-shire.17 95 1/19/2023
20.2.0-shire.16 93 1/16/2023
20.2.0-shire.15 98 1/12/2023
20.2.0-shire.14 104 1/12/2023
20.2.0-shire.13 92 1/12/2023
20.2.0-shire.12 95 1/11/2023
20.2.0-shire.11 86 1/10/2023
20.2.0-shire.10 89 1/6/2023
20.2.0-shire.9 92 1/6/2023
20.2.0-shire.8 84 1/6/2023
20.2.0-shire.7 90 1/6/2023
20.2.0-shire.6 95 1/5/2023
20.2.0-shire.5 102 1/5/2023
20.2.0-shire.4 102 1/5/2023
20.2.0-shire.3 94 1/5/2023
20.2.0-shire.2 97 12/26/2022
20.2.0-shire.1 94 12/26/2022
20.2.0-shire.0 92 12/26/2022
20.1.0 375 12/25/2022
20.1.0-faramir.1 88 12/12/2022
20.1.0-faramir.0 78 12/9/2022
20.0.2 1,067 12/13/2022
20.0.1 365 12/12/2022
20.0.0 359 12/8/2022
19.1.0-elrond.7 79 12/7/2022
19.1.0-elrond.6 87 12/5/2022
19.1.0-elrond.5 81 12/5/2022
19.1.0-elrond.4 83 12/2/2022
19.1.0-elrond.3 89 12/2/2022
19.1.0-elrond.2 86 11/29/2022
19.1.0-elrond.1 87 11/28/2022
19.1.0-elrond.0 82 11/28/2022
19.0.0 599 11/25/2022
19.0.0-proto.5 76 11/25/2022
19.0.0-proto.4 102 11/22/2022
19.0.0-proto.3 82 11/21/2022
19.0.0-proto.2 77 11/21/2022
19.0.0-proto.1 83 11/21/2022
19.0.0-proto.0 86 11/18/2022
18.2.0-bolt.1 81 11/16/2022
18.2.0-bolt.0 98 11/16/2022
18.1.1 870 10/31/2022
18.1.0 844 10/26/2022
18.0.1 865 10/20/2022
18.0.0 906 9/15/2022
17.2.3 928 9/9/2022
17.2.2 1,539 8/26/2022
17.2.1 1,751 8/10/2022
17.2.0 1,051 7/8/2022
17.1.2 963 7/7/2022
17.1.1 912 7/7/2022
17.1.0 924 7/5/2022
17.1.0-boromir.4 118 7/8/2022
17.1.0-boromir.3 103 7/5/2022
17.1.0-boromir.2 97 7/1/2022
17.1.0-boromir.1 102 7/1/2022
17.0.2 1,414 6/21/2022
17.0.0 4,090 3/25/2022
17.0.0-meriadoc.0 111 3/24/2022
16.0.1 972 3/22/2022
16.0.0 962 3/14/2022
15.1.3 961 3/8/2022
15.1.2 985 3/1/2022
15.1.1 953 2/11/2022
15.1.0 972 2/11/2022
15.0.1 1,098 2/10/2022
15.0.0 942 2/10/2022
14.2.0 964 2/9/2022
14.2.0-sam.2 105 2/9/2022
14.2.0-sam.1 105 2/7/2022
14.2.0-sam.0 104 2/7/2022
14.1.0 938 1/28/2022
14.0.0 973 1/25/2022
14.0.0-gollum.1 116 1/25/2022
14.0.0-gollum.0 118 1/24/2022
13.1.0-bilbo.4 117 1/24/2022
13.1.0-bilbo.3 119 1/24/2022
13.1.0-bilbo.2 108 1/21/2022
13.1.0-bilbo.1 112 1/21/2022
13.1.0-bilbo.0 111 1/21/2022
13.0.1 948 1/24/2022
13.0.0 972 1/20/2022
13.0.0-gimli.10 116 1/20/2022
13.0.0-gimli.9 160 1/19/2022
13.0.0-gimli.8 120 1/19/2022
13.0.0-gimli.7 114 1/18/2022
13.0.0-gimli.6 120 1/17/2022
13.0.0-gimli.5 113 1/17/2022
13.0.0-gimli.4 116 1/17/2022
13.0.0-gimli.3 142 12/7/2021
13.0.0-gimli.2 161 12/7/2021
13.0.0-gimli.1 167 12/7/2021
13.0.0-gimli.0 837 12/1/2021
12.1.0-gandalf.0 1,440 11/26/2021
12.0.0 622 11/18/2021
12.0.0-legolas.7 127 11/18/2021
12.0.0-legolas.6 136 11/16/2021
12.0.0-legolas.5 125 11/15/2021
12.0.0-legolas.4 130 11/15/2021
12.0.0-legolas.3 156 11/11/2021
12.0.0-legolas.2 137 11/10/2021
12.0.0-legolas.1 143 11/9/2021
12.0.0-legolas.0 134 11/9/2021
11.0.0 6,651 11/5/2021
11.0.0-aragorn.8 159 11/5/2021
11.0.0-aragorn.7 163 11/4/2021
11.0.0-aragorn.6 133 11/4/2021
11.0.0-aragorn.5 149 11/4/2021
11.0.0-aragorn.4 152 11/2/2021
11.0.0-aragorn.3 157 11/2/2021
11.0.0-aragorn.2 149 10/29/2021
11.0.0-aragorn.1 127 10/26/2021
11.0.0-aragorn.0 182 10/25/2021
10.1.0 717 10/21/2021
10.0.0 520 10/13/2021
10.0.0-eventsource.1 135 10/13/2021
10.0.0-eventsource.0 123 10/5/2021
9.2.0 5,874 9/29/2021
9.2.0-register-all.1 140 9/15/2021
9.2.0-register-all.0 138 9/7/2021
9.1.1 1,806 12/21/2021
9.1.0 4,552 7/14/2021
9.1.0-embeddings.0 136 7/5/2021

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)