Autofac.Extras.CommonServiceLocator 6.1.0

Prefix Reserved
dotnet add package Autofac.Extras.CommonServiceLocator --version 6.1.0                
NuGet\Install-Package Autofac.Extras.CommonServiceLocator -Version 6.1.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.
<PackageReference Include="Autofac.Extras.CommonServiceLocator" Version="6.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Autofac.Extras.CommonServiceLocator --version 6.1.0                
#r "nuget: Autofac.Extras.CommonServiceLocator, 6.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Autofac.Extras.CommonServiceLocator as a Cake Addin
#addin nuget:?package=Autofac.Extras.CommonServiceLocator&version=6.1.0

// Install Autofac.Extras.CommonServiceLocator as a Cake Tool
#tool nuget:?package=Autofac.Extras.CommonServiceLocator&version=6.1.0                

Autofac.Extras.CommonServiceLocator

Common Service Locator implementation for Autofac.

Build status

Please file issues and pull requests for this package in this repository rather than in the Autofac core repo.

Quick Start

var builder = new ContainerBuilder();

// Perform registrations and build the container.
var container = builder.Build();

// Set the service locator to an AutofacServiceLocator.
var csl = new AutofacServiceLocator(container);
ServiceLocator.SetLocatorProvider(() => csl);

Check out the Autofac Common Service Locator documentation for more information.

Get Help

Need help with Autofac? We have a documentation site as well as API documentation. We're ready to answer your questions on Stack Overflow or check out the discussion forum.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Autofac.Extras.CommonServiceLocator:

Package Downloads
MediatR.Extensions.Autofac

Autofac implementation of IMediatorBuilder

Patterns.Testing.Autofac

The Autofac Implementation of Patterns.Testing

zAppDev.DotNet.Framework

Package Description

WorkData

WorkData是一个轻量级的框架,用于在.NET Framework/Core构建服务。框架的目标是提供项目常用的基础设施功能

Acrotech.CommonServiceRegistrator.Autofac

Autofac adapter for the IServiceRegistrator interface

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Autofac.Extras.CommonServiceLocator:

Repository Stars
kgrzybek/sample-dotnet-core-cqrs-api
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
Baseflow/XF-Material-Library
A Xamarin Forms library for implementing Material Design
lswiderski/mi-scale-exporter
Mobile App to export data from Mi Body Composition Scale and upload it to Garmin Connect Cloud
Version Downloads Last updated
6.1.0 192,898 4/7/2023
6.0.1 1,037,745 10/4/2020
6.0.0 279,932 2/8/2020
5.0.0 1,295,531 10/17/2017
4.1.0 68,448 9/22/2017
4.0.0 619,157 6/28/2016
3.2.0 272,080 6/16/2014
3.1.1 12,193 3/27/2014
3.1.0 2,247 3/19/2014
3.0.1 22,030 4/9/2013
3.0.0 6,258 1/30/2013
3.0.0-beta2 1,423 12/23/2012
3.0.0-beta 1,585 11/1/2012