Git Product home page Git Product logo

autofac.extras.commonservicelocator's Introduction

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.

autofac.extras.commonservicelocator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

autofac.extras.commonservicelocator's Issues

Is this Autofac.Extras.CommonServiceLocator 5.0.0 compatible with uap10.0.16299?

I refer to this Autofac.Extras.CommonServiceLocator 5.0.0 in my UWP project which targets uap10.0.16299, I can build in visual studio 2017 but when I use nuget restore MySolution.sln, I got error saying this package only supports - net45 and netstandard2.0. Is this the case? Is there any plan it will be compatible with uap10.0.16299 in the near future? I don't understand why in visual studio no such error.

.NET Standard Support

Hi, Team.

I know this is a known issue that this library can't support .NET Standard because CommonServiceLocator doesn't support it. The related issue was mentioned at autofac/Autofac#859.

Therefore, just in case anyone wants to find out a solution, I forked this repo and made some changes support .NET Standard. Here are the NuGet packages:

HTH

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.