Dolittle.SDK.Extensions.AspNet 13.0.0

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

// Install Dolittle.SDK.Extensions.AspNet as a Cake Tool
#tool nuget:?package=Dolittle.SDK.Extensions.AspNet&version=13.0.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
24.0.0 43 11/13/2024
23.5.2 41 11/13/2024
23.5.1 88 11/7/2024
23.5.0 247 10/23/2024
23.4.0 300 10/2/2024
23.3.0 444 7/31/2024
23.2.5 534 6/20/2024
23.2.4 141 6/13/2024
23.2.3 95 6/10/2024
23.2.2 109 6/2/2024
23.2.1 82 5/16/2024
23.2.0 1,253 3/14/2024
23.1.0 116 3/12/2024
23.0.0 115 3/8/2024
22.1.3 173 2/26/2024
22.1.2 961 10/24/2023
22.1.1 242 10/4/2023
22.1.0 160 9/18/2023
22.0.5 189 9/7/2023
22.0.4 177 8/28/2023
22.0.3 198 8/15/2023
22.0.2 188 8/8/2023
22.0.1 186 8/8/2023
22.0.0 208 6/22/2023
22.0.0-arkenstone.1 77 6/21/2023
22.0.0-arkenstone.0 78 6/12/2023
21.0.2 389 9/7/2023
21.0.1 510 6/8/2023
21.0.0 202 6/2/2023
21.0.0-feanor.2 70 5/31/2023
21.0.0-feanor.1 78 5/30/2023
21.0.0-feanor.0 70 5/30/2023
20.2.0 1,874 1/23/2023
20.2.0-shire.17 102 1/19/2023
20.2.0-shire.16 105 1/16/2023
20.2.0-shire.15 105 1/12/2023
20.2.0-shire.14 109 1/12/2023
20.2.0-shire.13 96 1/12/2023
20.2.0-shire.12 106 1/11/2023
20.2.0-shire.11 94 1/10/2023
20.2.0-shire.10 105 1/6/2023
20.2.0-shire.9 100 1/6/2023
20.2.0-shire.8 95 1/6/2023
20.2.0-shire.7 104 1/6/2023
20.2.0-shire.6 104 1/5/2023
20.2.0-shire.5 106 1/5/2023
20.2.0-shire.4 107 1/5/2023
20.2.0-shire.3 109 1/5/2023
20.2.0-shire.2 108 12/26/2022
20.2.0-shire.1 101 12/26/2022
20.2.0-shire.0 107 12/26/2022
20.1.0 359 12/25/2022
20.1.0-faramir.1 96 12/12/2022
20.1.0-faramir.0 86 12/9/2022
20.0.2 2,105 12/13/2022
20.0.1 331 12/12/2022
20.0.0 337 12/8/2022
19.1.0-elrond.7 91 12/7/2022
19.1.0-elrond.6 90 12/5/2022
19.1.0-elrond.5 84 12/5/2022
19.1.0-elrond.4 86 12/2/2022
19.1.0-elrond.3 93 12/2/2022
19.1.0-elrond.2 86 11/29/2022
19.1.0-elrond.1 95 11/28/2022
19.1.0-elrond.0 93 11/28/2022
19.0.0 478 11/25/2022
19.0.0-proto.5 87 11/25/2022
19.0.0-proto.4 113 11/22/2022
19.0.0-proto.3 88 11/21/2022
19.0.0-proto.2 87 11/21/2022
19.0.0-proto.1 94 11/21/2022
19.0.0-proto.0 96 11/18/2022
18.2.0-bolt.1 89 11/16/2022
18.2.0-bolt.0 117 11/16/2022
18.1.1 492 10/31/2022
18.1.0 414 10/26/2022
18.0.1 445 10/20/2022
18.0.0 478 9/15/2022
17.2.3 476 9/9/2022
17.2.2 1,058 8/26/2022
17.2.1 1,298 8/10/2022
17.2.0 569 7/8/2022
17.1.2 485 7/7/2022
17.1.1 476 7/7/2022
17.1.0 483 7/5/2022
17.1.0-boromir.4 123 7/8/2022
17.1.0-boromir.3 112 7/5/2022
17.1.0-boromir.2 113 7/1/2022
17.1.0-boromir.1 117 7/1/2022
17.0.2 952 6/21/2022
17.0.0 2,804 3/25/2022
17.0.0-meriadoc.0 117 3/24/2022
16.0.1 502 3/22/2022
16.0.0 477 3/14/2022
15.1.3 479 3/8/2022
15.1.2 475 3/1/2022
15.1.1 482 2/11/2022
15.1.0 486 2/11/2022
15.0.1 631 2/10/2022
15.0.0 496 2/10/2022
14.2.0 499 2/9/2022
14.2.0-sam.2 115 2/9/2022
14.2.0-sam.1 113 2/7/2022
14.2.0-sam.0 111 2/7/2022
14.1.0 479 1/28/2022
14.0.0 512 1/25/2022
14.0.0-gollum.1 124 1/25/2022
14.0.0-gollum.0 126 1/24/2022
13.1.0-bilbo.4 132 1/24/2022
13.1.0-bilbo.3 126 1/24/2022
13.1.0-bilbo.2 111 1/21/2022
13.1.0-bilbo.1 117 1/21/2022
13.1.0-bilbo.0 126 1/21/2022
13.0.1 531 1/24/2022
13.0.0 504 1/20/2022
13.0.0-gimli.10 120 1/20/2022
13.0.0-gimli.9 162 1/19/2022
13.0.0-gimli.8 122 1/19/2022
13.0.0-gimli.7 118 1/18/2022
13.0.0-gimli.6 130 1/17/2022
13.0.0-gimli.5 123 1/17/2022
13.0.0-gimli.4 118 1/17/2022
13.0.0-gimli.3 147 12/7/2021
13.0.0-gimli.2 160 12/7/2021
13.0.0-gimli.1 172 12/7/2021
13.0.0-gimli.0 780 12/1/2021

Version 13.0.0:
Major improvements to the Dolittle Client, in how it connects to the Runtime, configuration, setup and integrations with ASP.Net Core. Combined these changes aim to make the SDK easier to setup and configure, and to make it easier to detect when incompatible versions are used.

Added:
- Support for Dependency Injection using Microsoft Dependency Injection internally, also supporting tenant-specific bindings.
- The DolittleClient and tenant specific resources (IEventStore, IAggregates, IProjections, ...) are bound in the service provider used and exposed by the client. They can be used in e.g. Event Handlers, or with the AspNetCore integration in Controllers.
- AspNetCore integration by adding .UseDolittle() on both the host and application builder that uses the Microsoft Configuration system, starts the DolittleClient as a hosted service, and a middleware that sets the Request service provider based on the Tenant-ID header (provided by the platform). See the AspNetCore sample.
- When starting up a DolittleClient, it now performs an initial handshake with the configured Runtime to determine that the versions of the SDK and the Runtime are compatible, and retrieves the MicroserviceId to configure its execution context (provided by the platform).

Changed:
- Building a DolittleClient has been split into two steps, namely .Setup() and .Connect(), to make integrations easier.
- The automatic discovery of types and processors is now enabled by default.
- The configured Tenants are retrieved during the first connection to the Runtime, so the .Tenants on the DolittleClient is no longer an asynchronous call.
- The builder APIs exposed in the .Setup(...) call have been changed so they are all called .Register(...) or .Create(...).
- The AggregateOf methods on the client have been changed to an Aggregates property that behaves more like the other tenant specific resources.

Fixed:
- The SDK de-duplicates registered types and processors (Event Handlers, ...) so that you can use both automatic discovery and manual registration.

Removed:
- The builders exposed in the .Setup(...) call have been changed to interfaces that don't expose the internal .Build(...) method.

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