ASP.NET MVC 3
-
Upload
joselinoneto -
Category
Technology
-
view
1.767 -
download
1
Transcript of ASP.NET MVC 3
• Como funciona o ASP.NET MVC?
• E o que seria MVC?
• É o fim dos WebForms?
• O ASP.NET MVC é para vocês?
• Pode solucionar alguns problema de
desenvolvimento que estão enfrentando?
Caching Modules
HandlersIntrinsics
Pages Controls
Globalization
Profile
Master Pages
MembershipRoles
Etc.
ASP.NET
Um framework web que engloba quase
tudo.
Master Page
Control
Control
Não há reais regras de responsabilidades
Apresentção
Lógica da apresentação
Regras negócio
Acesso a Dados
Quem faz o que?
Como e quando?
Control
ControlPage
Control
Control
Control
Control
Abstração de controles pode ser negativo.
Lógica UI
ASP.NETDynamic Data
ASP.NETWebForms
ASP.NETMVC
Apresentação
ExecuçãoASP.NET
Core
Controller(Input)
Model(Logic)
View(Presentation)
Separação dos conceitos
Request
View
Controller
Response
Controller
Recebe Entradas dos
Usuários
(HTTP requests)
View
Representação
Visual dos
Modelos
Não se perca em…
/Produtos.aspx?ProdutoID=123
Quando facilmente pode ter…
/Produto/Detalhes/123
Ou então o que melhor fizer sentido durante uma migração
Nova caixa de diálogo
Razor View Engine
Global Filters
Dynamic ViewModel
Novos tipos de ActionResult
HttpNotFound
PermanentRedirect
StatusCode
Json Binding
Future Improvements: JavaScript, Helper
Support for jQuery Validation
Download ASP.NET MVC 3 Preview 1
Binaries: http://bit.ly/ahs64M
Source: http://aspnet.codeplex.com/releases/view/50092
Blogs
http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-
asp-net-mvc-3-preview-1.aspx
http://bradwilson.typepad.com/blog/2010/07/service-location-
pt1-introduction.html
Podcasts / Videos
Scott Hanselman: http://bit.ly/9bJ0JP
Hanselminutes with Phil Haack: http://bit.ly/dxRTxG
www.asp.net and http://forums.asp.net
Treinamentos e Formação em TI
• Hands On Lab - Professional – Official
– Open Training
• Boas práticas , dicas, experiência, etc
• ASP.NET 4, C# 4, LINQ, Windows
Azure, jQuery + Web
Standards, Silverlight, SQL...
• Windows Server 2008 R2, Sharepoint
2010, Exchange 2010, BPOS...www.pensou.net
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
www.devgoias.net