saritasa-nest / saritasa-dotnet-tools

Development Tools For Company'S .NET Projects.
BSD 2-Clause "Simplified" License
27 stars 13 forks source link

Autofac configuration is invalid in sample projects #16

Closed dermeister0 closed 7 years ago

dermeister0 commented 7 years ago

Container is created and then updated. Need to use lambda for command pipeline configuration instead.

App_Start\DiConfig.cs(115,13): warning CS0618: 'ContainerBuilder.Update(IContainer)' is obsolete: 'Containers should generally be considered immutable. Register all of your dependencies before building/resolving. If you need to change the contents of a container, you technically should rebuild the container. This method may be removed in a future major release.'