Skip to main content
CoreCompat.Microsoft.Practices.ServiceLocation package icon

CoreCompat.Microsoft.Practices.ServiceLocation

The Common Service Locator library contains a shared interface for service location which application and framework developers can reference. The library provides an abstraction over IoC containers and service locators. Using the library allows an application to indirectly access the capabilities without relying on hard references. The hope is that using this library, third-party applications and frameworks can begin to leverage IoC/Service Location without tying themselves down to a specific implementation. This library contains a portable class library that targets .NET Framework 4.5 and .NET Core 1

Total Downloads
183.3K
183,330
Published
Jun 27, 2016
Latest stable version

Install

.NET CLI
dotnet add package CoreCompat.Microsoft.Practices.ServiceLocation --version 1.3.0-r2
Package Manager Console
Install-Package CoreCompat.Microsoft.Practices.ServiceLocation -Version 1.3.0-r2
PackageReference
<PackageReference Include="CoreCompat.Microsoft.Practices.ServiceLocation" Version="1.3.0-r2" />

Frameworks

.NETFramework4.5 .NETStandard1.3

Dependencies

System.Globalization
.NETStandard1.3
[4.0.11, )
System.ComponentModel
.NETStandard1.3
[4.0.1, )
System.Reflection
.NETStandard1.3
[4.1.0, )
[4.0.11, )
[4.0.1, )
[4.0.1, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.