![]() |
VOOZH | about |
dotnet add package Autofac.Extras.CommonServiceLocator --version 6.1.0
NuGet\Install-Package Autofac.Extras.CommonServiceLocator -Version 6.1.0
<PackageReference Include="Autofac.Extras.CommonServiceLocator" Version="6.1.0" />
<PackageVersion Include="Autofac.Extras.CommonServiceLocator" Version="6.1.0" />Directory.Packages.props
<PackageReference Include="Autofac.Extras.CommonServiceLocator" />Project file
paket add Autofac.Extras.CommonServiceLocator --version 6.1.0
#r "nuget: Autofac.Extras.CommonServiceLocator, 6.1.0"
#:package Autofac.Extras.CommonServiceLocator@6.1.0
#addin nuget:?package=Autofac.Extras.CommonServiceLocator&version=6.1.0Install as a Cake Addin
#tool nuget:?package=Autofac.Extras.CommonServiceLocator&version=6.1.0Install as a Cake Tool
Common Service Locator implementation for Autofac.
Please file issues and pull requests for this package in this repository rather than in the Autofac core repo.
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.
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 is compatible. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
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 |
|
|
com.arius.infrastructure.common
Encryption Service(Encrypt,JWT) Mail Service Validation in InteractorDispatchers Validation Attributes Dynamic Service Pointer Arius Dependency Injection Configuration - EXPERIMENTAL Rules and Interactors Logger DataContext - Parameterized Queries Service Base with Logging Authentication Type(Add Auth) |
|
|
zAppDev.DotNet.Framework
Package Description |
|
|
WorkData
WorkData是一个轻量级的框架,用于在.NET Framework/Core构建服务。框架的目标是提供项目常用的基础设施功能 |
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 | 1,272,649 | 4/7/2023 |
| 6.0.1 | 1,404,002 | 10/4/2020 |
| 6.0.0 | 348,108 | 2/8/2020 |
| 5.0.0 | 1,744,490 | 10/17/2017 |
| 4.1.0 | 85,239 | 9/22/2017 |
| 4.0.0 | 724,568 | 6/28/2016 |
| 3.2.0 | 346,907 | 6/16/2014 |
| 3.1.1 | 16,844 | 3/27/2014 |
| 3.1.0 | 5,765 | 3/19/2014 |
| 3.0.1 | 28,374 | 4/9/2013 |
| 3.0.0 | 11,212 | 1/30/2013 |
| 3.0.0-beta2 | 1,982 | 12/23/2012 |
| 3.0.0-beta | 2,468 | 11/1/2012 |
Release notes are at https://github.com/autofac/Autofac.Extras.CommonServiceLocator/releases