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

Sanjay Kumar Jha 151 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

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,398 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,122 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,538 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,279 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,125 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,846 Reputation points
    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