charlessolar / Aggregates.NET

.NET event sourced domain driven design model via NServiceBus and GetEventStore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Force Microsoft DI and Logging Infrastructure

charlessolar opened this issue · comments

Related to #52

We have 3 packages to support 3 very different DI containers, years ago this was necessary but now that Microsoft have placed their flag on the field I think its time to eliminate these packages and simply enforce Microsoft DI and Logging infrastructure if people want to use Agg.net.

All the logging and DI containers are making adaptors to conform to Microsoft's interfaces so if a user wants to use structuremap with Agg.net they can manage the hassle instead of us.

This would also entail upgrading examples to use this new hosting pattern https://docs.microsoft.com/en-us/dotnet/core/extensions/generic-host

Fixed in v0.17