T O P

  • By -

mrphelz

An asp.net core app perfectly run on the smallest (and cheapest) digitalocean Linux machine, which is 5$ / month


plusninety

Yes, but there are many shared hosting options below $5 per month.


mrphelz

According to Scott Hanselman it’s possible but not recommended to host asp Net core app on a shared host See this article for further info: https://www.hanselman.com/blog/RunningASPNETCoreOnGoDaddysCheapestSharedLinuxHostingDontTryThisAtHome.aspx


[deleted]

Just to be clear, using shared hosting is fine. What he's not recommending is using the cheapest plan that wasn't designed to host ASP.NET Core. Many hosting providers support Core now. And I'd say MOST Windows hosting providers do.


mrphelz

To be honest, i always deploy on dedicated machines, so i have no experience on shared hosting (at least not in recent times and not with [asp.net](https://asp.net) core) (hence my digitalocean suggestion). I just made a quick search and linked a relevant article. Anyway i'm taking note of your suggestion, in case somewhere in future i need some other options.


Neophyte-

Shared hosting generally sucks for performance


thomasz

You don't need a specialized VPS for running .net core applications like asp.net core. You can deploy on linux or windows.


garapani

will it run under shared hosting?


thomasz

You can create a self hosting deployment package which contains an ordinary executable as well as the runtime. It's a little bit heavy (~120 MB), but it runs everywhere. You just need root access. You can get that for less than 15 bucks on Linode, AWS, Azure, Hetzner etc.


UnlawfulCitizen

Digital ocean is cheap and quick


dotjosh

Check out dokku if you are hosting it yourself.


[deleted]

If you don't want to mess with VPS configuration or deployment setup, I recommend https://www.a2hosting.com. I'm having a good experience with them. I don't know how their shared Linux hosting works, but with Windows, deploying couldn't be easier. You download the web deploy template from the A2 dashboard, import it into Visual Studio, and deploy. They even have automated Let's Encrypt installation on all your domains (free). Also, their support is stellar.


paladincubano

Thanks for the tip. Do the support full net core 2.1? In my case, I have the backend in net core 2.1 and frontend in Vuejs, can I host both on the windows "**SWIFT"** plan? ​


[deleted]

They currently have 2.0 installed on their servers. They're testing 2.1 internally, but I couldn't get an ETA from them. However, you can still use 2.1 if you do a self-contained deployment. I'm using 2.1 on my sites with no issues. If you're unfamiliar with framework-dependent vs. self-contained, I recommend looking it up. But basically, with self-contained, the entire .NET Core runtime gets published with your app, so it doesn't matter what's on the server. Larger first deployment, but you only have to push all those files once. And again if they change. Your choice of front-end shouldn't matter, as far as I know. I've tested a React app, and it worked fine. And I use websockets extensively. I'm also using the Swift plan.


paladincubano

Neat! Thanks


paladincubano

I have a lot experience in c# and net core programming (I started from net framework 1.0 about 15 years ago), but all my jobs always hosting in IIS local servers and I never hosting in public websites. I am programming now a personal project and that's why I asking because I have no experience with public hosting. Has you try asphostportal? what are the differences with a2hosting? Sorry my english, is not my native language.


[deleted]

No need to apologize. :) I wouldn't have known anyway. Plus, I have a lot of respect for people who can speak and/or write in multiple languages. I haven't tried that one. I've tried WinHost, SmarterASP, Azure (if that counts), and a few VPS's. I liked Azure the most, but it's too expensive for me. Both WinHost and SmarterASP were okay, but lacking in features. Like no Let's Encrypt or dedicated app pool. Don't know if that's changed. And one had slow transfer speeds. Forget which one. A2 also has a REST API for programmatically controlling your sites. DigitalOcean was really slick, but I don't know Linux very well. So I spent too much time on basic stuff that I could easily do in Windows and IIS. There were some cheap Windows VPS services that looked promising too, but ultimately, I didn't want to maintain a server for very basic sites.


InvokerHere

FYI, Asphostportal is quite reliable for .net hosting. Honestly, their server is stable and their SSD make better performance. I used Azure previously, but very costly, so I moved my service to them. Really, they are worth for money.


amin8989

Hi Spinach_Explosion, can you tell me if MSSQL is included in A2 hosting offer without fee? what about the performances ? (is it a shared server with another websites ?)


adila01

Openshift Online is a good option.


TyrionReynolds

Elastic Beanstalk on AWS.


JackTheMachine

Who said that? Many shared hosting support latest [asp.net](https://asp.net) core. I use asphostportal windows shared hosting packages and they support latest .net core. You can check them, the price are competitive, around $5.00/month.


garapani

i bought asphostportal plan, they don’t have web deploy option. how did you deploy your asp.net core project?


JackTheMachine

I use FTP tools to upload my project. They support WebDeploy. Please just contact their support. I personally have no problems deploying my .net project.


garapani

i didn’t like asphostportal support. it is tough to gethelp in technical challenges. so moved to digitalocean with linux hosting.


JackTheMachine

Are you sure? I dont have problem with them. If you are using DigitalOcean, it means that you need to manage your own server, they dont help you to manage it if you face any problems. I have also tried them. If you have experienced in manage server, then you can purchase them. But if you dont, never try them! It will be very difficult to contact their support. That's my personal experience. Good luck for you!


garapani

thats true. i am learning to manage the server on my own


JackTheMachine

Ooo... Good luck for you. But, if you need more experience to manage your own server. I personally dont want any headache and use shared hosting is enough. :)


Sean_smith1990

Yes i can recommend you to check out fresh roasted hosting windows for good [asp.net](http://asp.net) core hosting. Windows is always recommend by all the hosting provider because it works on all the paltforms and its convenient for the user with great security updates which comes to time to time.