Dolittle.SDK.DependencyInversion
23.0.0
See the version list below for details.
dotnet add package Dolittle.SDK.DependencyInversion --version 23.0.0
NuGet\Install-Package Dolittle.SDK.DependencyInversion -Version 23.0.0
<PackageReference Include="Dolittle.SDK.DependencyInversion" Version="23.0.0" />
paket add Dolittle.SDK.DependencyInversion --version 23.0.0
#r "nuget: Dolittle.SDK.DependencyInversion, 23.0.0"
// Install Dolittle.SDK.DependencyInversion as a Cake Addin #addin nuget:?package=Dolittle.SDK.DependencyInversion&version=23.0.0 // Install Dolittle.SDK.DependencyInversion as a Cake Tool #tool nuget:?package=Dolittle.SDK.DependencyInversion&version=23.0.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 | 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 is compatible. 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 is compatible. 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. |
-
net6.0
- Autofac (>= 6.5.0)
- Autofac.Extensions.DependencyInjection (>= 8.0.0)
- BaselineTypeDiscovery (>= 1.1.3)
- Dolittle.SDK.Execution (>= 23.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
-
net7.0
- Autofac (>= 6.5.0)
- Autofac.Extensions.DependencyInjection (>= 8.0.0)
- BaselineTypeDiscovery (>= 1.1.3)
- Dolittle.SDK.Execution (>= 23.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
-
net8.0
- Autofac (>= 6.5.0)
- Autofac.Extensions.DependencyInjection (>= 8.0.0)
- BaselineTypeDiscovery (>= 1.1.3)
- Dolittle.SDK.Execution (>= 23.0.0)
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Dolittle.SDK.DependencyInversion:
Package | Downloads |
---|---|
Dolittle.SDK.Events
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events. |
|
Dolittle.SDK.Services
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.Events.Handling
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events. |
|
Dolittle.SDK.Projections
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 |
---|---|---|
24.0.0 | 77 | 11/13/2024 |
23.5.2 | 116 | 11/13/2024 |
23.5.1 | 241 | 11/7/2024 |
23.5.0 | 408 | 10/23/2024 |
23.4.0 | 495 | 10/2/2024 |
23.3.0 | 774 | 7/31/2024 |
23.2.5 | 745 | 6/20/2024 |
23.2.4 | 392 | 6/13/2024 |
23.2.3 | 318 | 6/10/2024 |
23.2.2 | 317 | 6/2/2024 |
23.2.1 | 318 | 5/16/2024 |
23.2.0 | 1,586 | 3/14/2024 |
23.1.0 | 469 | 3/12/2024 |
23.0.0 | 441 | 3/8/2024 |
22.1.3 | 593 | 2/26/2024 |
22.1.2 | 1,751 | 10/24/2023 |
22.1.1 | 951 | 10/4/2023 |
22.1.0 | 882 | 9/18/2023 |
22.0.5 | 957 | 9/7/2023 |
22.0.4 | 1,007 | 8/28/2023 |
22.0.3 | 1,068 | 8/15/2023 |
22.0.2 | 1,058 | 8/8/2023 |
22.0.1 | 985 | 8/8/2023 |
22.0.0 | 1,298 | 6/22/2023 |
22.0.0-arkenstone.1 | 90 | 6/21/2023 |
22.0.0-arkenstone.0 | 85 | 6/12/2023 |
21.0.2 | 1,136 | 9/7/2023 |
21.0.1 | 2,839 | 6/8/2023 |
21.0.0 | 1,210 | 6/2/2023 |
21.0.0-feanor.2 | 77 | 5/31/2023 |
21.0.0-feanor.1 | 1,144 | 5/30/2023 |
21.0.0-feanor.0 | 81 | 5/30/2023 |
20.2.0 | 4,577 | 1/23/2023 |
20.2.0-shire.17 | 113 | 1/19/2023 |
20.2.0-shire.16 | 114 | 1/16/2023 |
20.2.0-shire.15 | 120 | 1/12/2023 |
20.2.0-shire.14 | 120 | 1/12/2023 |
20.2.0-shire.13 | 115 | 1/12/2023 |
20.2.0-shire.12 | 145 | 1/11/2023 |
20.2.0-shire.11 | 107 | 1/10/2023 |
20.2.0-shire.10 | 113 | 1/6/2023 |
20.2.0-shire.9 | 194 | 1/6/2023 |
20.2.0-shire.8 | 107 | 1/6/2023 |
20.2.0-shire.7 | 116 | 1/6/2023 |
20.2.0-shire.6 | 120 | 1/5/2023 |
20.2.0-shire.5 | 120 | 1/5/2023 |
20.2.0-shire.4 | 113 | 1/5/2023 |
20.2.0-shire.3 | 119 | 1/5/2023 |
20.2.0-shire.2 | 126 | 12/26/2022 |
20.2.0-shire.1 | 122 | 12/26/2022 |
20.2.0-shire.0 | 117 | 12/26/2022 |
20.1.0 | 1,853 | 12/25/2022 |
20.1.0-faramir.1 | 110 | 12/12/2022 |
20.1.0-faramir.0 | 105 | 12/9/2022 |
20.0.2 | 2,588 | 12/13/2022 |
20.0.1 | 1,931 | 12/12/2022 |
20.0.0 | 1,904 | 12/8/2022 |
19.1.0-elrond.7 | 107 | 12/7/2022 |
19.1.0-elrond.6 | 107 | 12/5/2022 |
19.1.0-elrond.5 | 104 | 12/5/2022 |
19.1.0-elrond.4 | 98 | 12/2/2022 |
19.1.0-elrond.3 | 104 | 12/2/2022 |
19.1.0-elrond.2 | 106 | 11/29/2022 |
19.1.0-elrond.1 | 101 | 11/28/2022 |
19.1.0-elrond.0 | 100 | 11/28/2022 |
19.0.0 | 3,396 | 11/25/2022 |
19.0.0-proto.5 | 100 | 11/25/2022 |
19.0.0-proto.4 | 120 | 11/22/2022 |
19.0.0-proto.3 | 102 | 11/21/2022 |
19.0.0-proto.2 | 102 | 11/21/2022 |
19.0.0-proto.1 | 108 | 11/21/2022 |
19.0.0-proto.0 | 108 | 11/18/2022 |
18.2.0-bolt.1 | 98 | 11/16/2022 |
18.2.0-bolt.0 | 112 | 11/16/2022 |
18.1.1 | 4,237 | 10/31/2022 |
18.1.0 | 4,261 | 10/26/2022 |
18.0.1 | 4,373 | 10/20/2022 |
18.0.0 | 4,490 | 9/15/2022 |
17.2.3 | 4,558 | 9/9/2022 |
17.2.2 | 5,167 | 8/26/2022 |
17.2.1 | 5,328 | 8/10/2022 |
17.2.0 | 4,701 | 7/8/2022 |
17.1.2 | 4,587 | 7/7/2022 |
17.1.1 | 4,597 | 7/7/2022 |
17.1.0 | 4,552 | 7/5/2022 |
17.1.0-boromir.4 | 131 | 7/8/2022 |
17.1.0-boromir.3 | 118 | 7/5/2022 |
17.1.0-boromir.2 | 119 | 7/1/2022 |
17.1.0-boromir.1 | 124 | 7/1/2022 |
17.0.2 | 5,111 | 6/21/2022 |
17.0.0 | 7,818 | 3/25/2022 |
17.0.0-meriadoc.0 | 135 | 3/24/2022 |
16.0.1 | 4,706 | 3/22/2022 |
16.0.0 | 4,692 | 3/14/2022 |
15.1.3 | 4,683 | 3/8/2022 |
15.1.2 | 4,700 | 3/1/2022 |
15.1.1 | 4,696 | 2/11/2022 |
15.1.0 | 4,591 | 2/11/2022 |
15.0.1 | 4,811 | 2/10/2022 |
15.0.0 | 4,661 | 2/10/2022 |
14.2.0 | 4,700 | 2/9/2022 |
14.2.0-sam.2 | 128 | 2/9/2022 |
14.2.0-sam.1 | 120 | 2/7/2022 |
14.2.0-sam.0 | 119 | 2/7/2022 |
14.1.0 | 4,674 | 1/28/2022 |
14.0.0 | 4,720 | 1/25/2022 |
14.0.0-gollum.1 | 143 | 1/25/2022 |
14.0.0-gollum.0 | 139 | 1/24/2022 |
13.1.0-bilbo.4 | 145 | 1/24/2022 |
13.1.0-bilbo.3 | 135 | 1/24/2022 |
13.1.0-bilbo.2 | 119 | 1/21/2022 |
13.1.0-bilbo.1 | 136 | 1/21/2022 |
13.1.0-bilbo.0 | 141 | 1/21/2022 |
13.0.1 | 4,658 | 1/24/2022 |
13.0.0 | 4,675 | 1/20/2022 |
13.0.0-gimli.10 | 136 | 1/20/2022 |
13.0.0-gimli.9 | 183 | 1/19/2022 |
13.0.0-gimli.8 | 136 | 1/19/2022 |
13.0.0-gimli.7 | 137 | 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 | 132 | 1/17/2022 |
13.0.0-gimli.3 | 162 | 12/7/2021 |
13.0.0-gimli.2 | 189 | 12/7/2021 |
13.0.0-gimli.1 | 179 | 12/7/2021 |
13.0.0-gimli.0 | 856 | 12/1/2021 |
12.1.0-gandalf.0 | 1,409 | 11/26/2021 |
12.0.0 | 1,134 | 11/18/2021 |
12.0.0-legolas.7 | 144 | 11/18/2021 |
12.0.0-legolas.6 | 153 | 11/16/2021 |
12.0.0-legolas.5 | 147 | 11/15/2021 |
12.0.0-legolas.4 | 147 | 11/15/2021 |
12.0.0-legolas.3 | 169 | 11/11/2021 |
12.0.0-legolas.2 | 160 | 11/10/2021 |
12.0.0-legolas.1 | 166 | 11/9/2021 |
12.0.0-legolas.0 | 142 | 11/9/2021 |
11.0.0 | 7,550 | 11/5/2021 |
11.0.0-aragorn.8 | 182 | 11/5/2021 |
11.0.0-aragorn.7 | 190 | 11/4/2021 |
11.0.0-aragorn.6 | 154 | 11/4/2021 |
11.0.0-aragorn.5 | 168 | 11/4/2021 |
11.0.0-aragorn.4 | 170 | 11/2/2021 |
11.0.0-aragorn.3 | 179 | 11/2/2021 |
11.0.0-aragorn.2 | 166 | 10/29/2021 |
11.0.0-aragorn.1 | 145 | 10/26/2021 |
11.0.0-aragorn.0 | 202 | 10/25/2021 |
10.1.0 | 1,323 | 10/21/2021 |
10.0.0 | 1,064 | 10/13/2021 |
10.0.0-eventsource.1 | 161 | 10/13/2021 |
10.0.0-eventsource.0 | 146 | 10/5/2021 |
9.2.0 | 6,595 | 9/29/2021 |
9.2.0-register-all.1 | 168 | 9/15/2021 |
9.2.0-register-all.0 | 155 | 9/7/2021 |
9.1.1 | 2,278 | 12/21/2021 |
9.1.0 | 5,185 | 7/14/2021 |
9.1.0-embeddings.0 | 156 | 7/5/2021 |
9.0.0 | 1,108 | 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 | 216 | 5/31/2021 |
8.5.0-timeout.1 | 333 | 5/30/2021 |
8.5.0-timeout.0 | 246 | 5/29/2021 |
8.4.0 | 4,195 | 4/9/2021 |
8.4.0-projections.2 | 183 | 4/9/2021 |
8.4.0-projections.1 | 182 | 4/7/2021 |
8.4.0-projections.0 | 172 | 4/7/2021 |
8.3.2 | 2,329 | 3/24/2021 |
8.3.1 | 944 | 2/22/2021 |
8.3.0 | 816 | 2/17/2021 |
8.2.0 | 790 | 2/17/2021 |
8.1.1 | 813 | 2/14/2021 |
8.1.0 | 837 | 2/14/2021 |
8.1.0-updatedeps.0 | 210 | 1/20/2021 |
8.0.0 | 2,863 | 11/2/2020 |
7.0.0 | 1,030 | 10/28/2020 |
7.0.0-redpill.1 | 307 | 10/14/2020 |
7.0.0-redpill.0 | 346 | 10/13/2020 |
6.0.0 | 1,004 | 10/2/2020 |
6.0.0-rc.21 | 228 | 10/2/2020 |
6.0.0-rc.20 | 232 | 10/1/2020 |
6.0.0-rc.19 | 224 | 9/30/2020 |
6.0.0-rc.18 | 249 | 9/30/2020 |
6.0.0-rc.17 | 234 | 9/30/2020 |
Version 23.0.0:
Projections:
This version rewrites projections from being a runtime feature to being done completely on the SDK side. It keeps the interface pretty much the same as the old projections, but relaxes some rules around method signatures. Context is now an optional second parameter, and allows both ProjectionContext or EventContext. KeyFrom is now optional and will default to the EventSourceId. All projections also needs to extend
The existing IProjectionOf and IProjectionStore interfaces have been reduced to expose Get and the ability to use IQueryable, and will now allow all filtering to be done in the DB.
Example Projection
[Projection("055319f1-6af8-48a0-b190-323e21ba6cde")]
public class SomeProjection : ReadModel
{
public int UpdateCount { get; set; }
public string Content { get; set; } = string.Empty;
public int SomeNumber { get; set; }
public void On(SomeEvent evt, ProjectionContext ctx)
{
UpdateCount++;
Content = evt.Content;
}
public void On(SomeOtherEvent evt, ProjectionContext ctx)
{
UpdateCount++;
SomeNumber = evt.SomeNumber;
}
public ProjectionResultType On(DeleteEvent _) => ProjectionResultType.Delete;
}Aggregates:
Added Perform<TResponse> which allows the caller to get return values from operations on aggregates.
Added:
- SDK Projections - Full rewrite
- ProjectionTests<TProjection> - Added blackbox testing of projections.
- AggregateRoot.Perform<TResponse> - Ability to get responses from aggregates
Removed:
- Runtime integrated projections
Changelog:
For all release notes, see changelog (https://github.com/dolittle/DotNET.SDK/blob/master/CHANGELOG.md)