On March 28th, 2018 at approximately 1:30 pm CST the server housing the cPanel Feature Request site’s hypervisor unexpectedly failed.
This failure resulted in the loss of data back to September of 2017. Read more in our announcement.
 

.Net Core support

Rodrigo Schoemer shared this idea 1 year ago
Open Discussion

Microsoft is making a big effort to make microsoft products avaiable on Linux.

.Net Core runs natively on Linux.

Very soon there will be thousands of .Net developers begging to use their web applications on Linux.


Also about the performance it is quite promising.


A bunch of new customers.

A new wide open market.


https://www.microsoft.com/net/core

Comments (24)

photo
4

@cpanel Is there any update regarding this request?

photo
2

Nope, no updates at this time. It hasn't been picked up by any of our feature teams, but if that changes I'll make sure that we let everyone know for sure!

photo
2

That would be fantastic - I for one am bound to windows server 2012/2016 servers and Microsoft Azure hosting whilst I have a perfectly great CPanel server that's idling :)

photo
2

This would be great get rid of windows

photo
2

.NET Core 2.0 and .NET Standard 2.0 have just launched and are making a big splash. It would be awesome to have support from Cpanel

photo
1

Nobody trust MS...

.Net Core is just a variant of EEE...

photo
2

I've been using cPanel for many years and would love to keep using it. net core is becoming huge and with the current Microsoft's approach it has great potential.


We're running some Azure instances but their prices are insane. Have been looking for other options and Plesk offers Docker container support which is a good alternative, but I believe native net core compatibility would be a much better solution.


With official dotnet support on Linux and Apache as an option for the Kestrel proxy; net core support could be a great addition to cPanel.


https://docs.microsoft.com/en-us/aspnet/core/publishing/apache-proxy

photo
1

EasyApache 3 used to have support for mod_mono and it was expensive to maintain and almost nobody actually used it. Whatever development effort it would take to implement .net core support, I would much rather see spent elsewhere.


That said, there's nothing stopping anyone from making an RPM that works with EasyApache 4.


(The opinions expressed herein are mine and may not represent the views of my employer.)

photo
2

I understand how tedious the maintenance was with mod_mono, but we're not asking for ASP.NET here, we're asking for .NET Core which runs native on Linux: https://www.microsoft.com/net/download/linux


.NET Core is very powerful and open source, and it's use is growing at very fast paced. I'm currently looking for other options to unify my cpanel and azure servers because the demand for NET Core hosts is growing exponentially. Adding support for this feature would put cpanel ahead of the competition with a very powerful feature!

photo
1

This would be very very useful and a nice selling point

photo
1

Are there any update?

Does anybody have a working(even unsupported) method?

Best

photo
1

No updates yet! If that changes, we'll definitely be back to let everyone know.

photo
1

So @Benny, does this mean that there are _no_ plans yet to support .net core in general, or that it's somewhere deep down on a backlog somewhere?

photo
1

I'd say it's a little of both. It's on a backlog, but it's not in our goals for this year. It's possible we'd add support, but there's currently no push for it internally.

photo
1

For anyone that is interested:

Since cPanel doesn't have this top-of-backlog I decided to take matters into my own hands and I'm planning on building a plugin for cPanel that allows you to run .net core with an optional installation of SQL Server for Linux.

For people that are interested in test-driving this plugin with/for me, please contact me at [my first name] at cloudnexus dot NL.

photo
1

Hi Erik

Very interested.

photo
1

I'll be keen on that Erik, I'll drop you an email.

photo
1

Update:

Meanwhile I have a working proof of concept that allows you to add "dotnet core" to any given account as a package option, as well as SQL Server databases, and cPanel will provision the account automatically and set up all the things you need. Right now I'm working on cleaning up the proof of concept and making sure this is something that would run on a production environment in a stable manner.

@benny: perhaps it's a good idea for me to move this (and its discussions) to the cPanel dev forums?

Teasers: see attachment.

photo
1

This is awesome. Does it support installing newer versions of .Net Core?

photo
1

The idea is for it to automatically (cron) install new runtimes as they become available, right now it supports 2.0 and 2.1.

photo
1

Hey folks! I'm excited to see Erik's work too, but let's keep the comments here as focused as they can be on cPanel's implementation of the feature. Other discussions should move to either direct communication (ie: email, twitter, etc), or a forum that Erik provides.

For anyone interested: Reach out to me directly (benny@cpanel.net), and I'll connect you to Erik.

photo
1

That looks very promising Erik! Nice work!! :D Any way I could give that a try? Also wondering, would you plan to add Let's Encrypt support to apps handling doman/subdomain roots?

photo
1

Thanks! You've seen the happy flow, but I'm not nearly done yet (still needs testing with litespeed and nginx and cloudlinux, although I don't expect many problems). SSL is added to the domain level (handled by apache), this will not change, the only thing that really changes is that the request to apache is piped to the Kestrel webserver which in turn will generate a response ;). So SSL will keep working.


As for subdomains, for now I won't support subdomains with the plugin, but I'll do that in a next release (I want to get this out there as soon as possible!)

photo
1

Very impressive Erik! Great progress! I'd say some people may like to run PHP as well as dotnet but this is a brilliant step in the right direction. Keen to give it a go.

Comments have been locked on this page!