PipelineNet
PipelineNet copied to clipboard
Add ServiceCollectionExtensions and ServiceProviderMiddlewareResolver
I could not stand that this is new
ing things up in the DI-enabled app so I went ahead and added:
- the factories to hide the
new
ing (this is the best pattern I could find) - the auto-registration methods for the
IServiceCollection
- the
IServiceProvider
implementation of theIMiddlewareResolver
- the
<GenerateDocumentationFile>
property to thecsproj
s to include the documentation in the nuget and I fixedmissing xml comment
warnings
Let me know how you feel about the changes, I think they're a significant improvement over the previous version of PipelineNet.ServiceProvider
.