Feature/autofac tidyup (#2096)

* Move service config service back into shared .NET Framework Library

* Move Content files into shared folder. Make autoface load different assembilies depending on what framework is using it.

* Change my mind on what the shared module should be called. Common Module is too bland.

* DotNet4.SocksProxy is not yet publically .NET Standard. Revert to previous SocksWebProxy package.

* Check in unstaged change to test dependency injection setup.
This commit is contained in:
Nathan Holland
2017-11-09 03:45:21 +13:00
committed by kaso17
parent 2209ab226c
commit 52c0179e8e
75 changed files with 748 additions and 568 deletions

View File

@@ -20,6 +20,7 @@ namespace Jackett.Service
protected override void OnStart(string[] args)
{
Engine.Logger.Info("Service starting");
Engine.BuildContainer(new WebApi2Module());
Engine.Server.Initalize();
Engine.Server.Start();
Engine.Logger.Info("Service started");