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.
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.
I use DiscountASP.Net and they have given me no problems for the last six or seven years. They always have the latest everything available and it all just works. Not too expensive either, but I don't have any database, just a web-site and an automated process that runs daily to update an online game (data stored in flat files).
- I would love to change the world, but they won’t give me the source code.
In my opinion, you can’t go wrong with Azure. Everyone has different levels of “hobbyist”. A better idea would be to setup a budget and see who (and what products) fit inside it. I hosted ~many~ sites in Azure for free. I wanted custom domains, Let’s Encrypt support, and a few others features… so I setup a VM which costs me around $50 a month. I now run a dozen (or so) sites on that VM, setup a Kubernetes cluster, got gigs in block storage, and other stuff… for around $200.
Personally, I feel free is usually a lie and never worth the actual cost. Besides, companies pay for Azure, AWS, and Google cloud experience. Not so much the smaller providers. Spending a little bit of $ might help to you land a high paying job.
- great coders make code look easy
- When humans are doing things computers could be doing instead, the computers get together late at night and laugh at us. - ¿Neal Ford?
I would not recommend asphostportal. Support is spotty - some good, some bad. Responses are typically overnight (not within hours). Their email service is spotty. They don't really support Cloudflare DNS - if you use it then the email service doesn't work - if you drop Cloudflare to make it work then it is spotty. I am considering a switch to a2hosting. Anyone have experience with this one?
Bought myself a new barbeque and fridge for the kitchen. Old fridge is now in the backyard so I have a beer fridge in the garage and the backyard.
Saturday was a barbie and piss up in the backyard. I survived and decided I should help myself to more on Sunday as I had heaps left over as people pulled out Saturday morning.
When I got up at 08:00 Sunday morning I noticed I had made a number of phone calls the night before around 18:00 to 17:00 taht lasted at least 15 minutes each. Don't remember dialling the numbers nor what I said during the conversations.
Had a great time, too bad you didn't come along.
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004