Does ".Net 8.0" include support for "Microsoft.Practices.Unity"?

Sanjay Kumar Jha 156 Reputation points
2024-02-12T16:13:54.13+00:00

Hi, I'm in the process of upgrading my code from .NET Framework 4.5.1 to .NET 8.0 within the recent Core framework. In my previous project, I relied on the "Microsoft.Practices.Unity" library. However, during the migration to .NET 8.0, I encountered compatibility issues with this library. I'm seeking information on whether there is any support available for "Microsoft.Practices.Unity" in the context of .NET 8.0, or if there are alternative libraries that I can use. If there are alternatives, I would appreciate any suggestions or links you can provide to help me resolve this issue. Thanks, Sanjay Kumar

Developer technologies | .NET | .NET Runtime
Microsoft Security | Microsoft Authenticator
Developer technologies | .NET | Other
Microsoft Teams | Microsoft Teams for business | Other
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-02-12T16:54:39.2766667+00:00

    the project appears to be dead and never ported to netstandard 2.0. I believe this was clone of the:

    https://github.com/microsoftarchive/policy-injection-application-block

    this was a project that Microsoft stopped supporting over decade ago. You could clone, and update to core or pick a new library. .net 8 has the Services library:

    https://learn.microsoft.com/en-us/dotnet/core/extensions/dependency-injection

    for other IoC packages see IoC section:

    https://github.com/quozd/awesome-dotnet/blob/master/README.md#ioc

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.