ASP.NET MVC


This is just a public draft, containing mvc related links…

Best Practices / Richtlinien

Model-Binding entweder mit Parameter-Blacklist, oder über Whitelist

http://blog.maartenballiauw.be/post/2009/05/06/More-ASPNET-MVC-Best-Practices.aspx

Put your controllers on a diet

Controllers should be really thin: they only accept an incoming request, dispatch an action to a service- or business layer and eventually respond to the incoming request with the result from service- or business layer, nicely wrapped and translated in a simple view model object.

In short: don’t put business logic in your controller!

Link list

Link list in ScottGu’s Blog

http://weblogs.asp.net/scottgu/archive/2009/06/07/june-7th-links-asp-net-ajax-asp-net-mvc-visual-studio.aspx

ScottGu’s Blog ASP.NET MVC Framework

Compile-time View Checking

Form validation

MVC Best Practices

Caching

Mehrsprachigkeit – Best practices

todo

Misc


One response to “ASP.NET MVC”

  1. the way I learned MVC was using the Models, Controllers and View fleodrs and data access being separate.To me, this example is very confusing, since in your Repository, you have ListEmployeesViewModel there is no model for the controller in the model folder. I have a very hard time distinguishing how the parts all fit together.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.