ASP.NET MVC 3 Release Candidate
weblogs.asp.net
weblogs.asp.net
1. A technical bug - EF often fails to update SQL Server DB on model change (RecreateDatabaseIfModelChanges).
2. More general - the generated UI is completely data centric, while even MS people advocate for business centric, task based UIs.
As to the generated UI, it's pretty similar to what you get with Rails scaffolding. I haven't spent a ton of time with it so you may know better than me, but it's nice having the default views generated while wiring everything together and then changing the generated views to build something a little more useful (the same way you'd do with scaffolded Rails objects).
Or you could write the form itself with the "EditorFor" helper methods, either for the whole class or for each field. It's not perfect, but good enough for a quick prototype or first version.
http://channel9.msdn.com/Shows/Going+Deep/Andrew-Nurse-Insid...
If only I could just "azure push"...
My bet is that it will be implemented as a button with the Azure logo on it.
I had the mono/Ubuntu version up and running in about 30 minutes. The longest part of the install was that I chose to use Mono 2.6.7 which isn't officially supported, so you need to do some work to install it. The app was deployed using FastCGI and Nginx.
It took about 90 minutes to get the Windows 2008 version running. Most of which time was spent waiting for the instance to start and waiting for the bloody Platform Installer (worst app ever!) to do whatever it does.
The moral of this story: the Windows micro instances are unusable. But to scale vertically, use Windows. To scale horizontally, or if you are cheap||frugal, give mono/Ubuntu a shot. Can't wait to see what moving to LLVM is going to do to mono's performance.
I'm not an expert in ASP.NET MVC and I'm not a hater either -- but it doesn't seem to offer anything that Rails doesn't (other than aforementioned runs-on-MS-stack and compiled language). Would love to hear other opinions from people with more .Net MVC experience, though.
Otherwise, Rails, Django, Flask, Cake, etc are going to be significantly easier to get up to speed with, have better communities, have less murky IP situations and are generally going to be less expensive to develop for and to hire developers for.
There are advantages to the CLR world - Tooling is top notch (Mono's tools are lacking right now but seem to be improving quickly), there is a reasonable amount of documentation, even though some of it is of questionable quality. C# performs well, both on Mono and .Net. There are many libraries available (although the quality of the libraries can sometimes be lacking). Many of the higher quality libraries are closed-source commercial libraries. Some of the worst ones are also closed-source commercial packages, so it pays to do research prior to purchasing anything.
The community has been warming to open source - in my opinion this is largely due to the efforts of Miguel de Icaza and everyone working on the Mono Project. (As an aside, if you don't like asp but you do like C#, you should consider checking out and contributing to Manos de Mono, a Mono based web framework which is still in its infancy - https://github.com/jacksonh/manos .)
Microsoft is, and always will be a for-profit company that makes money from selling its software. It has a vested interest in creating platform lock-in, but developers don't have to stick to the Microsoft way of doing things if they choose not to, thanks to the strength of Mono today. Either way, Microsoft is pretty up-front about what the cost of doing business is with them; and they have proven to be pretty consistent with their pricing.
Politics and profits aside, C# is an enjoyable language to use. I haven't spent time with F# yet, but I understand it's quite enjoyable as well. The C# team has done an excellent job of paying attention to programming trends and adopting techniques from other languages. The transition from 1.1 to 2.0 was kind of clunky, but since then they've shown a great deal of good taste in what they've implemented as well as how it's been implemented. Of course, the downside is that C# is a large and complex language. I think the most recent "C# in Nutshell" book is well over a thousand pages.
I have production code deployed in Python, PHP and Clojure, but I'm currently migrating back to .Net for my personal projects. C# developers get an excellent cross-platform deployment story thanks to Mono (MonoTouch, MonoDroid, MonoMac). Honestly, I think Mono runs on pretty much everything from PC, Mac & Linux to WP7, iPhone and Android; as well as game consoles, embedded hardware, etc.
Additionally, many of the new to .Net technologies coming out of Microsoft right now such as F#, C# 5's async framework, MVC3 and Entity Framework 4 are very compelling. Microsoft is kind of a dorky company, but in my opinion they are producing pretty good software right now.
* dynamic keyword
* NuGet <=> gems
* MVC scaffold <=> rails g scaffold
The only reason why I keep developing my personal projects in RoR is because of Heroku. Azure is still too expensive.
There's more to dynamic programming than the dynamic keyword. I don't want to get into which is better, but to say that C# is even in the same league as Ruby for dynamic programming, because of the dynamic keyword, is wrong - if for no other reason that properties from anonymous types (which dynamics are built on top of) are internal. Read meta programming Ruby, or try doing extensive [tb]dd with both, and you'll see how different they are (hint, you don't need DI frameworks in Ruby).
Ruby gems has a rich history, a strong community, and a proven track record. Every ruby developer has, and uses gems. Most packages are in known repositories. Gems has been extended to solve other problems (bundler). NuGet is a good and necessary start, but, again where you say "pretty close", I'd say "pretty far".
1. Ease of deployment, Heroku compared to IIS 2. Scaffolding generation, not as easy to use, fast, or smart. Extremely hard (read impossible) to customize by comparison as well 3. Routing setup, not as clean and nice, harder to customize (though there are some routing projects out there that help) 4. No database migration story
I could probably go on if I spent much time thinking about it and I'm a Rail noob compared to my .NET MVC experience.
You hinted at Ruby not needing DI - for me, that's the biggest advantage when choosing a dynamic language (in my case Python) over C#. IMO, there's something about using DI that just feels wrong (don't mean to start a flame war over that).
Anyway, that's why I use F# in .NET land: the type inference provides the best of all worlds. No need for DI, light syntax, and great runtime speed. F# sucks w/ ASP.NET MVC though.
Nuts.
What about WinForms, WPF, Silverlight?
Silverlight is iterating quite quickly, but then they have WPF to build on.