Saturday, June 13, 2009

MVC in .NET

Some useful links to MVC development.
www.asp.net/mvc
www.stackoverflow.com
www.tinyurl.com/cjfbs5 (codeplex-asp.net v1.0 source )
blogs.tallan.com


MVC is out with dotnet3.5 sp1
Model - data objects
View - output
Controller - performs action

Ajax, silverlight, Flash - shifts the complexity of application development.

Models
Entity Famework
LINQ to SQL
NHibernate
.nettiers (codesmith)
LLBLGen
subsonic

Views
Depends on models, not on controller

Controller
Depends on models and calls views
Data can be returned in HTML, RSS, JSON, Javascript, text, etc.,

Routing is new feature in .net 3.5 for MVC to hide the extension in website url. It includes Controller, action and id in the url.

extension methods : new in 3.5
We can use ent library validations with MVC, logging and exception handling as well

ActionFilters:
Decorators for actions / controllers
These handle error handling, authentication and authorization.

No comments:

Post a Comment

 
web counter
Download a free hit counter here.