Awesome framework. All the quirkiness of ASP.NET is abstracted away from you (though you can still get to it if you need to). As a Rails developer you'll feel right at home with controllers, views, routing, and tests. The annoyances: - ActiveRecord has its downsides but it's easy to use and ASP.NET MVC doesn't come with a similar ORM. LINQ is awkward to learn. - It doesn't have view partials.
ASP.NET MVC 1.0 Released
11–20 of 24 posts
Re: ASP.NET MVC 1.0 Released
#12This a great framework, i've been using it for over a year now. It's been iteratively released (to public) 10 times, which is a new way for MS to develop, and they have really listened to the feedback from its users. Visual Studio + asp.net mvc is a highly efficient dev. enviroment.
I've already decided against doing ASP.NET development on my own projects, but if I were forced to use ASP.NET, I wouldn't think twice about choosing the MVC version over the conventional one. I had already begun introducing the Castle frameworks (inspired by Rails) into ASP.NET projects well before ASP.NET MVC was even announced, so I can't help but praise MS here.
Re: ASP.NET MVC 1.0 Released
#13Earlier quoted context omitted.
Have you used Rails or another MVC framework? How does ASP.NET MVC compare?
I've dabbled with Rails and Django, but not extensively so I'm not in a position to give a detailed comparison. The features of ASP.NET MVC as listed "on the box", as it were, sound similar to those in frameworks like Rails and Django. Since the MVC framework is open sourced, I suppose there is nothing stopping somebody from verifying the quality of Microsoft's implementation. However, this new ASP.NET MVC framework…
Could you elaborate on that? I have never used ASP.NET. The ASP.NET WinForms model sounds good in theory. It's a little bit like Seaside: you have components on the page that have callbacks, etc. Yes, it isn't like the web, but I imagine it could work for web applications. Why is WinForms bad?
Re: ASP.NET MVC 1.0 Released
#14Earlier quoted context omitted.
Also the fact that the ASP.NET MVC framework is itself open sourced (the code is available on Codeplex). I've been using this framework for a recent project at my day job and it's definitely a step in the right direction (i.e. toward design patterns common in other popular web development frameworks such as MVC, pluggable ORM system, use of third-party libraries such as jQuery, clear separation of concerns, and a str…
Have you used Rails or another MVC framework? How does ASP.NET MVC compare?
I wouldn't choose ASP.NET over some other open source framework because of this MVC framework. But it would make ASP.NET development a lot less aggravating if I were forced to do development on ASP.NET.
Re: ASP.NET MVC 1.0 Released
#15Earlier quoted context omitted.
I've dabbled with Rails and Django, but not extensively so I'm not in a position to give a detailed comparison. The features of ASP.NET MVC as listed "on the box", as it were, sound similar to those in frameworks like Rails and Django. Since the MVC framework is open sourced, I suppose there is nothing stopping somebody from verifying the quality of Microsoft's implementation. However, this new ASP.NET MVC framework…
Thank you. Could you elaborate on that? I have never used ASP.NET. The ASP.NET WinForms model sounds good in theory. It's a little bit like Seaside: you have components on the page that have callbacks, etc. Yes, it isn't like the web, but I imagine it could work for web applications . Why is WinForms bad?
Seriously, if you've ever been to some beginner/intermediate MS conference lectures, they need to cover topics that no other web developer needs to even worry about, like how to keep your viewstate nice and trim, how to ensure that your web app works across a cluster and doesn't cough because the viewstate was generated on one server and consumed by another one (http://msdn.microsoft.com/en-us/library/ms998288.aspx), etc..
It's a terrible terrible terrible monstrosity that should only be interesting in the academic sense of "I wonder if it's possible to do that" kind of way.
Re: ASP.NET MVC 1.0 Released
#16Despite the difficulties, I've been encouraged by the flexibility of MVC and am thinking about making it my framework of choice for my coming projects.
IMO, the best bits of MVC are:
-Separation of concerns. No more mixing business logic with the presentation ("view") layer. I can swap out layers of my architecture more easily
-More control over page elements. I always found the ASP.NET controls a bit lacking...
-Leaner apps. I understand that this is mostly the developer's fault as there's always a way to do things better, but most of the apps I've seen written in webforms just feel bloated. There's too much cruft built into and around webforms to make it seem desktop-y
-Better support for TDD. I've not used this part of it yet, but the MVC model does lend itself to TDD much better than webforms.
I'm not saying that WebForms will be completely gone from my development cycle, though. It is still good for many things. I think the most glaring benefits are:
-Rapid development for internal/quickie apps. This may just be my experience and familiarity talking but it's very easy to throw up a quick and dirty app with webforms. Great for internal projects.
-Legacy applications. This benefit will fade over time, but I was hearing that there were problems with MVC on II6. Also, I don't believe it's supported on any version below II6.
Re: ASP.NET MVC 1.0 Released
#17Re: ASP.NET MVC 1.0 Released
#18Re: ASP.NET MVC 1.0 Released
#19Awesome framework. All the quirkiness of ASP.NET is abstracted away from you (though you can still get to it if you need to). As a Rails developer you'll feel right at home with controllers, views, routing, and tests. The annoyances: - ActiveRecord has its downsides but it's easy to use and ASP.NET MVC doesn't come with a similar ORM. LINQ is awkward to learn. - It doesn't have view partials.
The best way to learn Linq is with the 101 samples [1], but I might be bias because my friend wrote them [2].
[1] http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx
[2] http://www.microspotting.com/2007/12/anders-hejlsberg-intern
Re: ASP.NET MVC 1.0 Released
#20Awesome framework. All the quirkiness of ASP.NET is abstracted away from you (though you can still get to it if you need to). As a Rails developer you'll feel right at home with controllers, views, routing, and tests. The annoyances: - ActiveRecord has its downsides but it's easy to use and ASP.NET MVC doesn't come with a similar ORM. LINQ is awkward to learn. - It doesn't have view partials.
Linq is freaking sweet. I miss it every weekday I have to write C# 2.0 and every weekend I write Python. Anyone interested in pragmatic programming languages owe it to themselves to learn a bit about Linq and why it is so pleasant to use. The best way to learn Linq is with the 101 samples [1], but I might be bias because my friend wrote them [2]. [1] http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx [2] http://ww…
UPDATE: Here's a better example for Ruby syntax compared to LINQ.