We have Web application based on ServiceStack. It works currently with .NET 4.5.2. We are trying to rearrange it to allow the application to run with NET CORE and with .NET.
I tried to create Assembly containing main part of the application, compile this Assembly with .NET Standard and use it from 2 different environments: .NET CORE and .NET under IIS (each environment has its own startup dll, one with Program/Startup, another with Global.asax)
The question is what ServiceSTack flavor to use in that .NET Standard Assembly. I tried to use ServiceStack Core, but it failed with "MVC Services have not been configured, Please add services.AddMvc()
to StartUp.ConfigureServices()" when used under IIS, then I tried ServiceStack regular nuget and got: "Could not load file or assembly 'ServiceStack, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies."
How it is supposed to work?