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 84 5/30/2023
20.2.0 2,500 1/23/2023
20.2.0-shire.17 110 1/19/2023
20.2.0-shire.16 108 1/16/2023
20.2.0-shire.15 112 1/12/2023
20.2.0-shire.14 118 1/12/2023
20.2.0-shire.13 108 1/12/2023
20.2.0-shire.12 111 1/11/2023
20.2.0-shire.11 99 1/10/2023
20.2.0-shire.10 103 1/6/2023
20.2.0-shire.9 108 1/6/2023
20.2.0-shire.8 100 1/6/2023
20.2.0-shire.7 106 1/6/2023
20.2.0-shire.6 112 1/5/2023
20.2.0-shire.5 117 1/5/2023
20.2.0-shire.4 118 1/5/2023
20.2.0-shire.3 110 1/5/2023
20.2.0-shire.2 112 12/26/2022
20.2.0-shire.1 110 12/26/2022
20.2.0-shire.0 107 12/26/2022
20.1.0 419 12/25/2022
20.1.0-faramir.1 103 12/12/2022
20.1.0-faramir.0 93 12/9/2022
20.0.2 1,105 12/13/2022
20.0.1 405 12/12/2022
20.0.0 401 12/8/2022
19.1.0-elrond.7 94 12/7/2022
19.1.0-elrond.6 103 12/5/2022
19.1.0-elrond.5 97 12/5/2022
19.1.0-elrond.4 97 12/2/2022
19.1.0-elrond.3 103 12/2/2022
19.1.0-elrond.2 102 11/29/2022
19.1.0-elrond.1 102 11/28/2022
19.1.0-elrond.0 98 11/28/2022
19.0.0 648 11/25/2022
19.0.0-proto.5 92 11/25/2022
19.0.0-proto.4 118 11/22/2022
19.0.0-proto.3 97 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 102 11/18/2022
18.2.0-bolt.1 97 11/16/2022
18.2.0-bolt.0 114 11/16/2022
18.1.1 928 10/31/2022
18.1.0 898 10/26/2022
18.0.1 929 10/20/2022
18.0.0 966 9/15/2022
17.2.3 969 9/9/2022
17.2.2 1,603 8/26/2022
17.2.1 1,809 8/10/2022
17.2.0 1,105 7/8/2022
17.1.2 1,026 7/7/2022
17.1.1 956 7/7/2022
17.1.0 988 7/5/2022
17.1.0-boromir.4 132 7/8/2022
17.1.0-boromir.3 119 7/5/2022
17.1.0-boromir.2 111 7/1/2022
17.1.0-boromir.1 118 7/1/2022
17.0.2 1,465 6/21/2022
17.0.0 4,148 3/25/2022
17.0.0-meriadoc.0 124 3/24/2022
16.0.1 1,034 3/22/2022
16.0.0 1,014 3/14/2022
15.1.3 1,018 3/8/2022
15.1.2 1,044 3/1/2022
15.1.1 1,024 2/11/2022
15.1.0 1,028 2/11/2022
15.0.1 1,157 2/10/2022
15.0.0 999 2/10/2022
14.2.0 1,014 2/9/2022
14.2.0-sam.2 120 2/9/2022
14.2.0-sam.1 121 2/7/2022
14.2.0-sam.0 118 2/7/2022
14.1.0 998 1/28/2022
14.0.0 1,029 1/25/2022
14.0.0-gollum.1 130 1/25/2022
14.0.0-gollum.0 132 1/24/2022
13.1.0-bilbo.4 132 1/24/2022
13.1.0-bilbo.3 133 1/24/2022
13.1.0-bilbo.2 121 1/21/2022
13.1.0-bilbo.1 127 1/21/2022
13.1.0-bilbo.0 125 1/21/2022
13.0.1 1,016 1/24/2022
13.0.0 1,032 1/20/2022
13.0.0-gimli.10 129 1/20/2022
13.0.0-gimli.9 175 1/19/2022
13.0.0-gimli.8 134 1/19/2022
13.0.0-gimli.7 128 1/18/2022
13.0.0-gimli.6 134 1/17/2022
13.0.0-gimli.5 127 1/17/2022
13.0.0-gimli.4 130 1/17/2022
13.0.0-gimli.3 155 12/7/2021
13.0.0-gimli.2 177 12/7/2021
13.0.0-gimli.1 183 12/7/2021
13.0.0-gimli.0 853 12/1/2021
12.1.0-gandalf.0 1,453 11/26/2021
12.0.0 682 11/18/2021
12.0.0-legolas.7 140 11/18/2021
12.0.0-legolas.6 150 11/16/2021
12.0.0-legolas.5 140 11/15/2021
12.0.0-legolas.4 142 11/15/2021
12.0.0-legolas.3 169 11/11/2021
12.0.0-legolas.2 152 11/10/2021
12.0.0-legolas.1 157 11/9/2021
12.0.0-legolas.0 148 11/9/2021
11.0.0 7,093 11/5/2021
11.0.0-aragorn.8 173 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 162 11/4/2021
11.0.0-aragorn.4 164 11/2/2021
11.0.0-aragorn.3 170 11/2/2021
11.0.0-aragorn.2 162 10/29/2021
11.0.0-aragorn.1 141 10/26/2021
11.0.0-aragorn.0 195 10/25/2021
10.1.0 766 10/21/2021
10.0.0 560 10/13/2021
10.0.0-eventsource.1 149 10/13/2021
10.0.0-eventsource.0 142 10/5/2021
9.2.0 6,150 9/29/2021
9.2.0-register-all.1 153 9/15/2021
9.2.0-register-all.0 152 9/7/2021
9.1.1 1,851 12/21/2021
9.1.0 4,665 7/14/2021
9.1.0-embeddings.0 150 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)