CommonServiceLocator 1.3.0

There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package CommonServiceLocator -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package CommonServiceLocator --version 1.3.0
<PackageReference Include="CommonServiceLocator" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommonServiceLocator --version 1.3.0
#r "nuget: CommonServiceLocator, 1.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommonServiceLocator as a Cake Addin
#addin nuget:?package=CommonServiceLocator&version=1.3.0

// Install CommonServiceLocator as a Cake Tool
#tool nuget:?package=CommonServiceLocator&version=1.3.0

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, Windows 8, Windows Phone Silverlight 8, Windows Phone 8.1, and Silverlight 5.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (481)

Showing the top 5 NuGet packages that depend on CommonServiceLocator:

Package Downloads

The MVVM Light Toolkit is a set of components helping people to get started in the Model-View-ViewModel pattern in Silverlight, WPF, Windows Phone, Windows 10 UWP, Xamarin.Android, Xamarin.iOS, Xamarin.Forms. It is a light and pragmatic framework that allows you to pick which components you want to use. This version contains only the libraries and doesn't add any scaffolding to your application!

Autofac.Extras.CommonServiceLocator The ID prefix of this package has been reserved for one of the owners of this package by

Autofac extension for using the Microsoft Enterprise Library Common Service Locator with Autofac.


SolrNet is a .NET Open Source client for Apache Solr. This version of SolrNet is compatible with Solr 1.x to Solr 7.x. This package comes with a build in easy to use Dependency Injection for SolrNet.Core.


An XActLib Assembly: code common to the whole library using only Portable Class Library references.


Adds the latest version of structuremap and configures it as the default Dependency Resolver for ASP.NET MVC5. Does not work with 'ApiControllers', please add the Structuremap.WebAPI2 package if you need WebAPI support.

GitHub repositories (146)

Showing the top 5 popular GitHub repositories that depend on CommonServiceLocator:

Repository Stars
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
OptiKey - Full computer control and speech with your eyes
An open-source, free protector for .NET applications
the ninja of .net dependency injectors
Version Downloads Last updated
2.0.6 1,663,196 1/29/2021
2.0.5 4,283,488 11/7/2019
2.0.4 5,938,183 8/12/2018
2.0.3 2,335,153 3/2/2018
2.0.2 3,194,427 1/3/2018
2.0.1 1,775,796 10/10/2017
1.4.0 525,794 9/20/2017
1.3.0 27,364,049 5/6/2014
1.2.0 2,214,582 2/5/2014
1.0.0 11,997,679 1/7/2011