novice here reading the ins and outs of deploying my project to a live server. I've got an unfinished project that is basically just going to be a cms for a portfolio. The code can be found here:
https://github.com/LewisGoldstone/Portfolio
I'm avoiding azure as after the first month it seems way too expensive for something this small scale. I'm lost with what I really need to be looking for as I can't seem to tell apart the cheap from the very expensive. Here's a few I've been looking at that seem reasonably priced and seem well reviewed (I'm based in the UK, not sure if that makes a difference):
https://hostinguk.net/
aspnethosting
asphostportal
tsohost
Any plans you would recommend?
Are cloud servers worth it?
Also is IIS 8 a must with my project (it's been built within vs 2015 community)?
I won't mention any specific vendors but I would suggest looking for hosting that provides the following:
Support for WebDeploy deployments
Support for newer versions of IIS (at least 7)
Early support for
ASP.NET Core (indicates they are looking ahead)
A nice dashboard for remote management
Remote debugging with Visual Studio
I want to create a simple video conferencing site and at the beginning I have decided to use Microsoft's SignalR with Mono and apache. But there are some voices saying that SignalR is slow. And if that's true it might be even worst on Mono in linux.
That's why i decided to come here and seek your help. There are a few projects like:
1. Microsoft's SignalR
2. xSockets
3. Microsoft.WebSocket
4. SuperWebsocket
I would like to ask if any of you have any experience with this projects and could help me chose between them.
Thanks in advance!
Disclaimer: I work at XSockets.
I would use OHM's law in combination with what hosting you are planning.
With XSockets and SuperWebSocket you will have support for full-duplex communication (websockets) on all server platforms.
SignalR and Microsoft.WebSockets require Win8+/2012 Server and IIS8 to be able to provide websockets on the server. If you use another platform you will get half-duplex techniques (SSE, Longpolling...) See supported platforms
Maybe that is why you ask about SignalR being slow since you will run on Linux and that means that you will not get WebSocket-support from the server when using SignalR/Microsoft.WebSocket?
When it comes to implementation both SignalR and XSockets has implementations of WebRTC (I assume that it is WebRTC you are talking about event though you do not mention it). I have no idea if SuperWebSocket has any WebRTC samples, but you should be able to port the samples of SignalR and XSockets to SuperWebsocket if you want to.
When it comes to client support there is obviously the issue with IE, but Chrome, FF and Opera will support WebRTC in desktop. On mobile you will have support on Android, but on iOS you will need something like this Cordova lib
It is tested with XSockets webrtc implementation, but I cant speak for others. Should work with the SignalR implementation as well, but we have not tried that.
So, IMHO you should choose between 1,2 and 4 depending on server platform and the implementation that suits your project the best.
Option 3 is probably not a good choice at all...
EDIT:
A link to a WebRTC sample
Here is a project that uses SignalR for video conferencing.
Now, unless you provide the sources saying that SignalR is slow, I can't really have much to say, except that it depends on your scenario. Have a look at the introduction to SignalR and see if your project fits.
If you really want to use Mono and Apache, you will face some compatibility issues, since ASP.NET doesn't have a stable release on Linux, and SignalR will not make the first release of ASP.NET 5.
Unless there is no other option, I would go with IIS for hosting an ASP.NET application until Microsoft releases the cross-platform framework.
As of SigalR being slow, I really don't know what this is about (how many users, what is the behaviour of this 'slow', when sending, or when receiving messages?).
Hope this helps. Best of luck!
EDIT: Ok, have a look at this repo, give it a try and see if you have issues. As for the other technologies listed, I didn't work with them, so I can't really help you.
For my website I wrote a WebSockets server in C# (most preferred language to code in) that uses Fleck and it's approximately 600 lines of code. Everything seems to be working decently (a little unstable at times though. Not sure if it's a problem with my code or Fleck).
However, I want to move this from my computer to an actual domain and I'm not sure if there are any hosting providers that would support .NET console applications like that.
I was thinking that maybe I would have to rewrite it in another language like PHP but I'm slightly unsure about the whole idea. Are there any popular hosting providers that would support what I am looking for? And even if they are, is it such a good idea? I imagine it may be less secure or slower than the typical solution of using Perl, PHP, or Python for servers. (lots of P's)
Lastly, if it was a good idea to rewrite, I'm not sure of which language I would write it in. It's been a while and I'm not sure what everyone still uses. Is PHP still considered to be the most supported and secure for web servers?
Which WebSockets implementation is best suited? It took me a while to find Fleck and there seem to be twice as many PHP derivatives and I'm feeling a bit overwhelmed again. Also, a lot of posts on Stackoverflow about WebSockets are from two years ago when they were not as supported.
Sorry for my naivete and lack of focus in my question but as you can see I'm a bit confused as to what my course of action here should be and I'm looking for some insight. Thanks for reading.
Probably the most popular WebSocket server is Socket.IO. It is implemented in Node (Javascript) and has fallbacks to long-polling/AJAX when WebSockets support is not available.
The most well supported implementation of WebSockets is the python pywebsocket project which is used by both Mozilla and Google for developing and testing their client browser implementations. In addition, pywebsocket is designed to easily integrate with Apache allowing you to run your web server and websocket service on the same port(s).
If your application just needs a WebSocket based messaging service and is largely peer-to-peer you might consider using a commercial WebSocket service like Pusher. That could save you from having to host and manage your own server for this.
I would not recommend PHP for WebSocket servers. Until recently there wasn't a PHP implementation that supported both the older and newer WebSocket protocol variation. The older is still used by current iOS devices and the newer IETF 6455 version of the protocol is used by Chrome, Firefox, IE10 and the Flash based WebSocket polyfill web-socket-js.
Also, you ask if PHP is still considered to be the most supported and secure for web servers. Certainly, PHP has always had great documentation and examples and very wide deployment so you could argue it's well supported. However, PHP falls near the bottom of the list in terms of security. I would certainly not rewrite your application from scratch in PHP.
If you are partial to C like languages, you might consider libwebsockets which you could use to build a C or C++ WebSocket server. Andy Green developed and maintains libwebsockets and participated in the IETF working group that developed the standard.
Ruby is another language/community that has seen a lot of uptake of WebSockets (perhaps second behind Node). The most popular websocket library for Ruby is em-weboskcet.
you can try node.js, is "new" and it look good.
Regards
I realize a very similar question was asked on SO in the past, but that was a while ago, and some of the replies no longer work.
The first road I went down was the .NET port of Aspell. Problems I ran into were:
1. The website is worthless. Cannot browse source, no binaries available, broken links...
2. Trying to build Aspell on Windows 7, then create my own .NET wrapper was turning into a complete hack involving installing MinGW, then MinGW/SYS, then Cygwin. Every time I would follow the directions on how to build ASpell for Win, but never worked.
This is going to be for very large amounts of data, sending it to a web service like google or whatever is most likely out of the question.
I'm going to try NHunspell next, unless there other suggestions out there.
I'm currently using RapidSpell for ASP.NET spell checking, but am not sure how it compares to some others.
thanks,
Mark
Lucene.net is port of Java Lucene. I played with it enough to discover it worked reasonably well before finding that it was much faster to just let SQL 2005 handle misspelled data itself.
Have you tried The NetSpell project?
I am a Java programmer looking to learn .NET, particularly C# and F#, to improve my employability. Toward this goal I am creating a website which will have a few demo projects. My hope is to learn C#/F# and the .NET framework by creating this website and then have a finished product to self-advertise and to show potential employers.
What I need is a good host.
My priorities are cost, stability, and capability. I might be willing to pay up to around $10/mo, but I don't really want to pay more than $5/mo. Stability and performance have to be reasonable. I want access to all the commonly-used .NET tools (SQLServer, LINQ, C#, F#, VB, MVC, any other stuff I might reasonably need that I don't know about yet). Basically I don't really know what I want besides room for my projects to grow as my expertise grows.
EDIT: Some have expressed concern that I shouldn't pay for time before my project is ready-to go. However, my hope is to get it up in less than a month, so I'm not too worried about paying for time before that.
What time frame do you have? I would strongly suggest not purchasing hosting until you have your project ready to deploy, because you may waste a month or two of hosting money.
That said, I highly recommend DiscountASP. They stay on top of the MS stack really hard. I had ASP.NET MVC installed the day it was released, for example, and they have a lot of experience tweaking the environment to match your needs.
EDIT: To more clearly answer your question, ASP.NET, MVC, Linq, SQL Server 2005 or 2008 (choice), SQL Server Express, etc. are preinstalled. I know someone who runs F# code there as well, but I cannot say whether or not he requested it. I do know its not costing him extra.
I'm also just learning, and I'm using reliablesite.net for my asp.net projects. They have a coupon section that is real easy to overlook, will give you 80% off your first bill - so I signed up for a quarterly cost of around $30, just paying $6 for my first 3 months. Take a look, I think they may right up your alley.
As for discountasp.net, yeah, they are good, but the surcharge for MSSQL alone puts the cost around $20 a month to start, and then you are restricted to quarterly or annually bills - no monthly. Basically, $60 up front.
Edit: One of the major features that got me to sign on to this host, even after looking at tons of others, was the dedicated application pools. Wasn't something I saw everyone offering.
I second ReliableSite.Net
It is cheap and good. They even throw a free MS SQL 2005 database(1 GB- Extra DB costs $1) what other places charge $10/Month and give you less then 500MB of space.
I find Reliable does not nickle and dim you for every single thing and gives reasonable prices and have great coupons.
Like this coupon for 15% off for life: "aspforum"
My advice: If you can afford hosting a virtual machine in your own computer, or using a spare machine from a friend or relative, take it as your "development server". Learn and deploy there, and when you are satisfied with your work, go online. Then, if you can afford an internet connection 24/7 with a public IP addres, you can be your own host! Services like no-ip allow you to have a free domain re-directed to your own machine.
The honest answer is that you cannot do that for $10 or less. The .NET platform (with the exception of Mono) runs under licensed software and so that platform obviously costs more money for hosting companies than deployments of Linux based systems.
I second the DiscountAsp hosting service with Josh Jordan. i have used them for a number of projects and have several sites running with them currently. They're not as fancy as some other hosting providers but they are SOLID. (By fancy i mean some of the quick start bells and whistles such as web site templates.) Better yet, they feel like a developer's host. For example, i do a great deal of Sql Server work and i can connect from my own IDE from anywhere. Many hosts require you to use a custom, web-based IDE that does not work nearly as well as the MS client.
Get this: Have you ever known any other hosting service that has a "Account Cancellation" link on their site? Yes. These guys are so confident that they don't force you to go through hoops if you decide you want to opt out! That takes some brass b#lls! Better yet, they can back it up.
Do you have an extra box? Why not just host it yourself off your internet connection and use dyndns so you can use cnames to point your domain to your server?
(I'm not sure how common using F# is in ASP.Net... or if it's even possible.)
How about an Amazon EC2 virtual machine? Just fire it up when you need it, and pay only for the time its running.
Mono have a Visual Studio Plugin in the works, that will automatically start up an EC2 machine for you and start running/debugging your app.
I was thinking similarly too. I decided to open a blog site* to post my code, resume, and other related stuff as a career boosting tool. I tried to make it dev. oriented too.
As for .NET hosting, I've got a friend who uses GoDaddy for his website.
Other than setting up a Wordpress or other blogging software, I'd probably do what nairdaen suggested.
I haven't personally used F#, so I can't speak to that.
I like MochaHost. Some people have said that they have problems with them, but I have not run into any. Unlimited space and bandwidth (meaning that as long as you aren't impacting other users), unlimited domains,and they are IIS7 on Server 2008 with the 3.5 Framework. Those are for the "Mocha" level. You get a discount, depending on how long you prepay. If you go monthly, it is $12.95. A year puts it at $10.79/mo. You should be able to get by with the "Business" hosting, which is in your price range - even if going month to month.
You also have Parallels Plesk for managing your domain(s), which is a very nice plus. For kicking around personal projects, it should be fine. Anything more than that, though, and I would look at a virtualized option. Ultimately, you get what you pay for.
Tip: if you land on a nice provider, but which for some reason doesn't have ASP.NET MVC installed yet, you can still use MVC by deploying it yourself.
You can also try CrystalTech (recommended from the ALT.NET Yahoo group). Their intermediate plan is $16.95 per month with SQL Server or their Value plan is $7.95 per month with MySQL.
Also recommended by the same group (but for personal/low usage projects only) is MochaHost (same in the answer from joseph.ferris). Their Business plan lists at $4.95 per month.
I third ReliableSite.Net. Running a box at home would cost you more in power costs than a cheap shared hosting account.