Skip to content

Release Notes

This release can be downloaded using NuGet.

The most prominent improvements in this release are:

  • New fluent configuration model for ASP.NET Core that aims to simplify integration. Please read the documentation for more details.
  • New integration packages for non-ASP.NET Core environments that still require IServiceCollection, such as .NET Core Console Applications and .NET Core 2.1 Generic Host. Read the documentation here and here for more details.
  • Ability to visualize object graphs with fully qualified type names. Implemented by @kwlin.

Breaking changes

Simple Injector core library

  • #699 ExpressionBuiltEventArgs ctor marked obsolete.
  • #701 SimpleInjector.Scope default ctor marked obsolete.

Features and improvements

Simple Injector core library

  • #685 VisualizeObjectGraph can now generate fully qualified type names. Thanks to @kwlin for implementing this.
  • #691 Added Container.Collection.Append(Type, Type, Lifestyle) overload.
  • #706 Added the ability to ignore disposing scoped and singleton components.
  • #681 Extra information added to obsolete messages.
  • #689 Common System.Object methods (ToString, GetHashCode, Equals, and GetType) are now hidden from common API classes when using IntelliSense.

ASP.NET Core Integration packages

  • #684 New fluent API introduced. See the documentation for more details.
  • #683 Prevented double disposing cross-wired dependencies.

[NEW] ServiceCollection Integration packages #639

This is a new integration package that aims to simplify cross wiring on top of ServiceCollection. It contains the core functionality that is used by Generic Host and ASP.NET Core integration packages. See the documentation for more details.

[NEW] Generic Host Integration packages #639

This is a new integration package that simplifies working with .NET Core 2.1 Generic Host applications. It can be use both as part of your ASP.NET Core application and as .NET Core Console application. See the documentation for more details.

Assets 2
You can’t perform that action at this time.