boas prticas com

Download Boas prticas com

Post on 04-Dec-2014

1.758 views

Category:

Technology

2 download

Embed Size (px)

DESCRIPTION

 

TRANSCRIPT

  • 1. Rodolfo Fadino@rodolfofadino

2. Sobre 3. Agenda Controllers Validation Cache Views 4. Controllers IoC Container 5. Controllers IoC Container Unity CastleWindsor StructureMap Spring.NET Ninject Autofac 6. ControllersDemo 7. Validation Data Annotation Pode ser configurada no web.config Compare Attribute Remote Attribute AllowHml Model Validation via IValidatableObject 8. Validation Demo 9. Cache Output Cache Cache Profile 10. CacheDemo 11. Views Razor No magic strings: use strongly-typed view ViewModel != DomainModel Evite lazy load 12. ViewsDemo 13. Links http://tecnologia.minhavida.com.br/ http://structuremap.net/structuremap/ http://www.asp.net/mvc/mvc3 http://rodolfofadino.com.br/