3

I have been using Castle Monorail for some years now with great success, although I haven't bothered to update the version I'm using (2 or 3 year old). Now I'm making a decision on go to ASP.Net MVC 3 or update to the latest Castle version.

I have been looking documentation on the newest version of Castle projects (specially Monorail), but there is really little or no info around (I may be wrong).

Does someone knows what are the differences between Castle Monorail version 3 over ASP.Net MVC3?

Thanks!

2
  • ASP.Net MVC is great and is only getting better, it would be my suggestion. Commented Jun 27, 2012 at 5:09
  • @Lavinski: Unless you like your frameworks opinionated, in which case FubuMVC is at least worth looking at.
    – pdr
    Commented Jun 27, 2012 at 13:21

2 Answers 2

3

To paraphrase Twain the news of the death of the Castle project has been greatly exaggerated. Dynamic Proxy, for example, is used in countless .NET projects, to many to list. It is true that the Castle Project certainly does not always hold your hand with documentation and releases, but that has never been the case. If you were happy to use it in the past then the circumstances are little different.

As for the newest version of Monorail there are some things to consider. First of all it uses a completely different pattern to Monorail 2, that is to say "Composition over inheritance". It follows similar principles to FubuMVC, OpenRasta and NancyFX, unlike MR2 and Asp.net MVC which follow a base controller pattern. Secondly, MR3 is written in F#, not C#. And thirdly there is no upgrade path from MR2 to 3.

1
2

Castle seems to be dead (latest blog post says "another one bites the dust....". MVC3 (4 is out soon) is very much alive and has strong team behind it. And, I believe, it has gone open-source recently.

I would switch to a project that actually has some community. Does not have to be ASP.Net MVC, but Castle does not seem to be it.

2
  • 2
    -1 Castle encompasses a lot of projects, not just MonoRail. Windsor is probably the most active and known one, but that doesn't mean that all others are dead. Have you even read the blog post you mention? I don't disagree that ASP.NET MVC has a lot more community, but the actual points you raise here are invalid... Commented Jun 28, 2012 at 14:24
  • ASPNET MVC has been open source for quite a while. since v2, I believe: aspnet.codeplex.com Commented Jul 18, 2012 at 21:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.