simpleinjector / SimpleInjector

An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
https://simpleinjector.org
MIT License
1.21k stars 154 forks source link

.NET 6 #930

Closed volvoplz closed 2 years ago

volvoplz commented 2 years ago

I am wondering what's the state of Simple Injector regarding .NET 6 integrations. Is the last version of Simple Injector directly compatible with .NET 6 and ASP.NET Core under .NET 6?

Thanks

dotnetjunkie commented 2 years ago

Although I haven't tested this, I have no reason to believe that there are breaking changes in .NET 6 and ASP.NET Core that would prevent you from using Simple Injector.

If you find any anomalies, please let me know.

dotnetjunkie commented 2 years ago

Hi @vlapoec , there was a minor issue (see #933) that complicated integration with ASP.NET Core 6. The documentation has been updated; integration with .NET 6 should work as expected.