ASP.NET 5, Mono and the License
Posted: Thu 08 Oct 2015 14:45
Hi,
we are developing an ASP.NET 5 (dnx) Console application which should run on mono on linux. With the Build In Oracle Drivers we are getting an native mono crash in some cases. On Mono on Windows and Mono on Linux. No crashes on .NET on Windows.
So we tried dotConnect for Oracle today, with Direct Mode. So that we get rid of the Oracle Instant Client on Linux the the not supported Mono Oracle part.
The crashes are gone on Windows with Mono. But we would like to test that on Linux before we can buy an Edition.
The Problem is the license. We can't get the license on linux to work. Because of the ASP.NET 5 Hosting Model on Mono.
I've created a license file (a statet in your documentation) with the lc.exe, added it to the main programm (fooApp.dll) as a resource (fooApp.dll.licenses) so far so good. The license is identified, but it does not fit to Microsoft.Dnx.Host.Mono.
Microsoft.Dnx.Host.Mono.dll is the DLL which is the main assembly from ASP.NET 5 which host all the ASP.NET 5 Applications under Mono.
I created a licenses file for Microsoft.Dnx.Host.Mono.dll, and included that in fooApp.dll. But the licenses file is not identified by dotConnector.
So how to get that to work?
we are developing an ASP.NET 5 (dnx) Console application which should run on mono on linux. With the Build In Oracle Drivers we are getting an native mono crash in some cases. On Mono on Windows and Mono on Linux. No crashes on .NET on Windows.
So we tried dotConnect for Oracle today, with Direct Mode. So that we get rid of the Oracle Instant Client on Linux the the not supported Mono Oracle part.
The crashes are gone on Windows with Mono. But we would like to test that on Linux before we can buy an Edition.
The Problem is the license. We can't get the license on linux to work. Because of the ASP.NET 5 Hosting Model on Mono.
I've created a license file (a statet in your documentation) with the lc.exe, added it to the main programm (fooApp.dll) as a resource (fooApp.dll.licenses) so far so good. The license is identified, but it does not fit to Microsoft.Dnx.Host.Mono.
Microsoft.Dnx.Host.Mono.dll is the DLL which is the main assembly from ASP.NET 5 which host all the ASP.NET 5 Applications under Mono.
I created a licenses file for Microsoft.Dnx.Host.Mono.dll, and included that in fooApp.dll. But the licenses file is not identified by dotConnector.
So how to get that to work?