I like the Rails approach to web application development quite a bit, but in my current occupation I should like to use .NET technology. What is the premier Rails-style framework in the .NET world? I understand Microsoft has developed ASP.NET MVC as such a framework, but my knowledge of it is totally superficial at this point.
Ease of testing is particularly important to me, I love how you can write testable scenarios for Rails with Cucumber. Testing of Javascript bits should be accounted for as well.
In sum: I’m looking for a .NET alternative that offers the same complete development stack, from end-to-end, you get with Rails 🙂
Yes, you are right. ASP.NET MVC 3.0 is the framework you are looking for. And it does offer you the complete stack.
For Cucumber style testing you can use SpecFlow. There are other BDD tools too but SpecFlow is the closest to Cucumber as both are based on Gherkin.
For learning MVC, I would suggest the following tutorials, preferably in the same order:
Between these tutorials you will not only just learn the basics, you will also learn Linq2SQL or Entity Framework (ORM), Ninject (Dependency Injection), Moq (Mocking framework), SpecFlow, etc…
In case, you want to try something on your own, you can start with the ASP.NET MVC 2.0 Starter Site
released by Rob Conery (from Tekpub) on codeplex. Rob is an expert on both ASP.Net MVC and Ruby on Rails and shares the same concerns as you. While this is in MVC 2.0, it should also work with version 3.
Hope this helps.