The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I might do a WebSite for my home pet project soon...
I am going to use ASP .NET Core for the dynamic part and will need a database and some disk storage (for user's upload and custom web page content)
Any hosting suggestion?
I am wondering about Azure, might be good as a learning experience, but might be overpriced for my hobby needs...
Though I did find it can do quite a lot for free!
I really like http://SmarterASP.Net. Moved to it from GoDaddy and have had very good experiences.
It is very cheap and you can host multiple domains, etc. All the .NET features you are looking for including .NET Core 2.x and actually some decent support.
If you want you can use my affiliate link to get there : SmarterASP.net - Unlimited ASP.NET Web Hosting[^] 60 Day Free Trial
Also, I there is a 60 day free trial with no credit card or payment method required.
If after the 60 days you want to keep it you can sign up. Very nice for insuring it supports what you want.
Say I have windows service which need to crawl the homepage of some site every 10mins and a simple ASP.NET website to display the collected stats. Do you think I can run the windows service on the same website instance or I need a windows VM from Azure?
windows service which need to crawl the homepage of some site every 10mins
There are challenges.
Running a web app as a service can be tricky because the web app will attempt to stop when there is no activity after 20 minutes.
With SmarterASP.NET you can't actually run a pure Windows Service because they don't allow you access to the SCM (Service Control Manager).
You may find that with .NET Core there are easier ways to do run a hybrid web/windows service however.
But I believe it will always require you to do something to insure the app is alive at certain intervals. Of course, you can do things as simple as using a .NET Timer that will run your code every x minutes and keep the thing alive.
I noticed that the web apps I have running will stop after 20 minutes (the IIS default).
I got a DigitalOcean.com droplet running Debian for $5/month.
I wrote a cron script that calls my site with curl every 8 minutes and requests a page.
Voila! My web app is always alive and then (since my web site doesn't get visited as often as hugely popular sites) when a user navigates to my site it is served up almost immediately since it hasn't gone to sleep.
Second this one, I did the same thing - moved from GoDaddy to SmarterASP, had no problems moving site contents or retaining domain.
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
Support really is quite reliable and responsive.
Over the 2 or 3 years I've used SmarterASP I've probably had 6 queries for them and they've answered all of them satisfactorily with resolution within a few hours.
The set up itself is quite flexible so you can control pretty much everything you want yourself also so there's not much waiting around for them to do something.
Does SmarterASP support changing the Port Number on their Shared Hosting plans?
I had used MyWindowsHosting which is just a wrapper around SmarterASP and was not able to use any ports that were not 80 & 443. The system I want to use utilizes the "HTTP(S) alternatives of 8080 & 8443 in addition to the standard ports. It really is nothing too complicated site wise that warrants the cost of dedicated or VM hosting
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
In my opinion, Azure, AWS, etc., are all a scam for the hobbyist - minimal storage space, microbrain virtual processor and memory, etc. Granted, they provide great services for corporations, but as a hobbyist, no way, no how, am I going to suffer the inequities of someone else's concept of "free" and what I get for "free", until they change their minds.
So in my opinionated opinion, host the site yourself. Buy a cheap domain name for $5 /yr, get a free SSL cert from LetsEncrypt, and set up your router to accept ports 80 & 443. Read my article on how to set up IIS and obtain your SSL cert, and start serving!
In my opinion, Azure, AWS, etc., are all a scam for the hobbyist
I agree. I had some stuff running on AWS and then stopped it and then I started getting charged even though nothing was running. It was only a few $ but it was annoying because getting it all straightened out wasn't easy.
I have had a great experience with DigitalOcean.com droplets. For $5/month you can get a full Debian instance and run scripts and even ASP.NET Core apps there. It is quite amazing and the set up and maintenance are really great too. This has always been easier than Docker too.