News for hackers. Stuff that matters.
Re:Microsoft ASP.net or Ruby on Rails? by snprbob86 on Saturday June 14, 2008 @03:55AM (#217439)
I am a hardcore huge big time C# fan. That said, I hate ASP.net with a passion. Two key reasons:

1) It tries to simulate WinForms. It's just the wrong paradigm for the web.

2) As much as I love C#, I feel that strongly typed languages are less than ideal for web development. Web development is inherently a dynamic environment. Javascript is dynamic, HTML content is dynamic, etc. etc. It is just easier and faster to build dynamic applications and test with page reloads than a typical compile & run loop.

Re:Microsoft ASP.net or Ruby on Rails? by tx on Saturday June 14, 2008 @02:30PM (#217620)
You don't hate ASP.NET, you seem to hate WebForms and for very good reasons. You don't have to use WebForms though, there are other toolkits available. In fact, I built a neat desktop application using ASP.NET stack once - you can embed it into any .NET process to neatly handle HTTP requests.

One huge advantage of ASP.NET is that it is crazy fast. After a while it generates native-code assemblies and you're basically looking at C/C++ speed when handling requests.

You can get yourself one of those newer (and cheap) dual-CPU quad-core servers with 8GB of RAM and this machine will handle some serious load (enough for most applications). This will allow you not to mess with distributed stuff and keep your stuff in RAM in between requests. Such setup will be an equivalent of a farm of RoR machines with MUCH smaller load on DB layer.

Of course, it doesn't apply to high-traffic projects like Twitter/Facebook, etc.

Re:Microsoft ASP.net or Ruby on Rails? by snprbob86 on Monday June 16, 2008 @11:12PM (#219363)
Ive also tried the MVC framework. It is a huge improvement over WebForms as it neatly addresses complaint #1, but it completely fails to address complaint #2. It is also beta software under heavy development and rapid change.

That said, Linq to Sql ROCKS MY WORLD. Maybe a more mature MVC framework and better Visual Studio support will join forces with Linq to swing me back to ASP.NET

I'm confused about the "crazy fast" comment. I'm a big believer in C#'s great performance, but ASP.net is super slow for me on every machine I have ever tried. Hell, every Microsoft site I can think of feels slow on round trips. Something is very very wrong...

Re:Microsoft ASP.net or Ruby on Rails? by justindz on Saturday June 14, 2008 @07:32AM (#217487)
I've always thought that ASP.NET was an attempt to get MFC programmers building web applications while avoiding re-training them on how to build web applications.
Re:Microsoft ASP.net or Ruby on Rails? by mpc on Saturday June 14, 2008 @09:50AM (#217518)
It is. They came up with the WinForms/WebForms abstraction to make building a .net desktop app or web app seem pretty much the same