ASP.NET 5, Mono and the License

ASP.NET 5, Mono and the License

Postby AlbertCB » 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?
AlbertCB
 
Posts: 1
Joined: Thu 08 Oct 2015 14:29

Re: ASP.NET 5, Mono and the License

Postby Pinturiccio » Fri 09 Oct 2015 14:11

As far as we know, ASP.NET 5 is not released yet. The release is planned for 2016. For more information, please refer to https://github.com/aspnet/Home/wiki/Roadmap

dotConnect for Oracle does not support ASP.NET 5. We will investigate the possibility of implementing support of ASP.NET 5, but we can't tell any timeframe at the moment.
Pinturiccio
Devart Team
 
Posts: 2046
Joined: Wed 02 Nov 2011 09:44

Re: ASP.NET 5, Mono and the License

Postby Shalex » Mon 12 Jun 2017 12:02

Devart is glad to announce the release of dotConnect for Oracle 9.4 with support for .NET Core: http://forums.devart.com/viewtopic.php?f=1&t=35436.

Simple walkthrough for using ASP.NET Core Identity:

* create File > New > Project > Installed > Visual C# > Web > ASP.NET Core Web Application (.NET Core), select Web Application and set Authentication: Individual User Accounts

* run command via Package Manager Console
PM> install-package Devart.Data.Oracle.EFCore -Source:"https://www.nuget.org/api/v2/"

* replace
options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
with
options.UseOracle(Configuration.GetConnectionString("DefaultConnection")));
in Startup.cs

* set your DefaultConnection for Oracle in appsettings.json

* execute command via Package Manager Console
PM> update-database
Shalex
Devart Team
 
Posts: 7839
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle