WebApiContrib / WebAPIContrib.Core

Community Contributions for ASP.NET Core
MIT License
460 stars 116 forks source link

UseBranchWithServices - share some Services between branches #191

Open windischb opened 4 years ago

windischb commented 4 years ago

Hi!

Is it possible to share some of the registered Services between to branches? I have a Singleton which have to be available in all of my branches without to inject it in both branches as seperate Singleton...

Is there something like a Dependency Tree or similar? Where all Services, which are injected in the ConfigureServices of the Startup class, are available in all branches?

Br Bernhard