SlideShare uma empresa Scribd logo
1 de 17
Conhecendo o
ASP.NET MVC e as
novidades da versão 3
José LinoNeto
@joselinoneto
contato@joselino.net
http://joselino.net
Alliston Carlos
@allistoncarlos
alliston@live.com
http://alliston.wordpress.com
• Como funciona o ASP.NET MVC?
• E o que seria MVC?
• É o fim dos WebForms?
• ASP.NET MVC 2 Stable
• ASP.NET MVC 3 Release Candidate
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.NET
Dynamic Data
ASP.NET
WebForms
ASP.NET
MVC
Apresentação
Execução
ASP.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
ASP.NET MVC 2
só exemplos...
;-)
Minha apresentação...
 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
Apoio
Agradecimentos
Patrocinadores
Realização
© 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
José LinoNeto
@joselinoneto
contato@joselino.net
http://joselino.net
Alliston Carlos
@allistoncarlos
alliston@live.com
http://alliston.wordpress.com

Mais conteúdo relacionado

Mais procurados

Mais procurados (9)

ASP .NET MVC na Prática - C. Augusto Proiete
ASP .NET MVC na Prática - C. Augusto ProieteASP .NET MVC na Prática - C. Augusto Proiete
ASP .NET MVC na Prática - C. Augusto Proiete
 
ASP.NET MVC 4 - Introdução - Parte I
ASP.NET MVC 4 - Introdução - Parte IASP.NET MVC 4 - Introdução - Parte I
ASP.NET MVC 4 - Introdução - Parte I
 
Como trabalhar com angular js
Como trabalhar com angular jsComo trabalhar com angular js
Como trabalhar com angular js
 
Minicurso Aplicação Web Utilizando o Framework Laravel
Minicurso Aplicação Web Utilizando o Framework LaravelMinicurso Aplicação Web Utilizando o Framework Laravel
Minicurso Aplicação Web Utilizando o Framework Laravel
 
ASP .NET MVC na Prática
ASP .NET MVC na PráticaASP .NET MVC na Prática
ASP .NET MVC na Prática
 
Jheat
JheatJheat
Jheat
 
Treinamento MVC .Net
Treinamento MVC .NetTreinamento MVC .Net
Treinamento MVC .Net
 
ApresentaçãO Mvc
ApresentaçãO MvcApresentaçãO Mvc
ApresentaçãO Mvc
 
Direct Web Remoting Sun Tech Days2007
Direct Web Remoting Sun Tech Days2007Direct Web Remoting Sun Tech Days2007
Direct Web Remoting Sun Tech Days2007
 

Destaque

Church Of England 2
Church Of England 2Church Of England 2
Church Of England 2semmerson
 
Pakkaspaivat 20.2.2009
Pakkaspaivat 20.2.2009Pakkaspaivat 20.2.2009
Pakkaspaivat 20.2.2009Anu Wulff
 
Unit 5 Good and Evil Overivew
Unit 5 Good and Evil OverivewUnit 5 Good and Evil Overivew
Unit 5 Good and Evil Overivewsemmerson
 
W&P Student Cwork Guide[1]
W&P Student Cwork Guide[1]W&P Student Cwork Guide[1]
W&P Student Cwork Guide[1]semmerson
 
Science Overview
Science OverviewScience Overview
Science Overviewsemmerson
 
Baptist Church
Baptist ChurchBaptist Church
Baptist Churchsemmerson
 
Baptist Church
Baptist ChurchBaptist Church
Baptist Churchsemmerson
 
Methodist Church 2
Methodist Church 2Methodist Church 2
Methodist Church 2semmerson
 
Lesson 4 creation
Lesson 4 creationLesson 4 creation
Lesson 4 creationsemmerson
 
Lesson 5 the problem of evil
Lesson 5   the problem of evilLesson 5   the problem of evil
Lesson 5 the problem of evilsemmerson
 
Cafod In Zambia
Cafod In ZambiaCafod In Zambia
Cafod In Zambiasemmerson
 
Cafod Faith In Action
Cafod   Faith In ActionCafod   Faith In Action
Cafod Faith In Actionsemmerson
 

Destaque (17)

Django tlp2k11
Django tlp2k11Django tlp2k11
Django tlp2k11
 
Church Of England 2
Church Of England 2Church Of England 2
Church Of England 2
 
Pakkaspaivat 20.2.2009
Pakkaspaivat 20.2.2009Pakkaspaivat 20.2.2009
Pakkaspaivat 20.2.2009
 
Rescatealavasca
RescatealavascaRescatealavasca
Rescatealavasca
 
Unit 5 Good and Evil Overivew
Unit 5 Good and Evil OverivewUnit 5 Good and Evil Overivew
Unit 5 Good and Evil Overivew
 
W&P Student Cwork Guide[1]
W&P Student Cwork Guide[1]W&P Student Cwork Guide[1]
W&P Student Cwork Guide[1]
 
Laura
LauraLaura
Laura
 
Science Overview
Science OverviewScience Overview
Science Overview
 
Baptist Church
Baptist ChurchBaptist Church
Baptist Church
 
Baptist Church
Baptist ChurchBaptist Church
Baptist Church
 
Methodist Church 2
Methodist Church 2Methodist Church 2
Methodist Church 2
 
Lesson 4 creation
Lesson 4 creationLesson 4 creation
Lesson 4 creation
 
Euthanasia
EuthanasiaEuthanasia
Euthanasia
 
ASP.NET MVC 3
ASP.NET MVC 3ASP.NET MVC 3
ASP.NET MVC 3
 
Lesson 5 the problem of evil
Lesson 5   the problem of evilLesson 5   the problem of evil
Lesson 5 the problem of evil
 
Cafod In Zambia
Cafod In ZambiaCafod In Zambia
Cafod In Zambia
 
Cafod Faith In Action
Cafod   Faith In ActionCafod   Faith In Action
Cafod Faith In Action
 

Semelhante a Asp.net mvc 3 - eco 2010

ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...
ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...
ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...anybalrocha
 
Comtec2010 asp.net mvc
Comtec2010 asp.net mvcComtec2010 asp.net mvc
Comtec2010 asp.net mvcTadeu Matos
 
ASP.NET MVC - Alexandre Tarifa
ASP.NET MVC - Alexandre TarifaASP.NET MVC - Alexandre Tarifa
ASP.NET MVC - Alexandre Tarifaguestea329c
 
Desenvolvimento Web com ASP.NET 4
Desenvolvimento Web com ASP.NET 4Desenvolvimento Web com ASP.NET 4
Desenvolvimento Web com ASP.NET 4Rodrigo Kono
 
ASP.Net MVC no VS 2010
ASP.Net MVC no VS 2010ASP.Net MVC no VS 2010
ASP.Net MVC no VS 2010Giovanni Bassi
 
ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)
ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)
ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)Giovanni Bassi
 
ASP.NET MVC para desenvolvedores Web Forms (TechEd)
ASP.NET MVC para desenvolvedores Web Forms (TechEd)ASP.NET MVC para desenvolvedores Web Forms (TechEd)
ASP.NET MVC para desenvolvedores Web Forms (TechEd)Giovanni Bassi
 
Introdução ao Asp.NET MVC
Introdução ao Asp.NET MVCIntrodução ao Asp.NET MVC
Introdução ao Asp.NET MVCBenicio Ávila
 
ASP.NET Web Forms X ASP.NET MVC
ASP.NET Web Forms X ASP.NET MVCASP.NET Web Forms X ASP.NET MVC
ASP.NET Web Forms X ASP.NET MVCguest489a65e
 
Ebook AngularJS | Guia Introdutório
Ebook AngularJS | Guia Introdutório Ebook AngularJS | Guia Introdutório
Ebook AngularJS | Guia Introdutório Portal GSTI
 
MVC, MVP e MVVM: Uma Comparação de Padrões Arquiteturais
MVC, MVP e MVVM: Uma Comparação de Padrões ArquiteturaisMVC, MVP e MVVM: Uma Comparação de Padrões Arquiteturais
MVC, MVP e MVVM: Uma Comparação de Padrões ArquiteturaisJorge Tressino Rua
 

Semelhante a Asp.net mvc 3 - eco 2010 (20)

Palestra ASP.NET MVC
Palestra ASP.NET MVCPalestra ASP.NET MVC
Palestra ASP.NET MVC
 
ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...
ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...
ASM.NET MVC 5 + Entity Framework - Explorando conceitos e criando um projeto ...
 
Comtec2010 asp.net mvc
Comtec2010 asp.net mvcComtec2010 asp.net mvc
Comtec2010 asp.net mvc
 
ASP .NET Core MVC
ASP .NET Core MVCASP .NET Core MVC
ASP .NET Core MVC
 
ASP.NET MVC - Alexandre Tarifa
ASP.NET MVC - Alexandre TarifaASP.NET MVC - Alexandre Tarifa
ASP.NET MVC - Alexandre Tarifa
 
ASP.NET MVC
ASP.NET MVCASP.NET MVC
ASP.NET MVC
 
Apresentação M V C
Apresentação M V CApresentação M V C
Apresentação M V C
 
Desenvolvimento Web com ASP.NET 4
Desenvolvimento Web com ASP.NET 4Desenvolvimento Web com ASP.NET 4
Desenvolvimento Web com ASP.NET 4
 
ASP.NET MVC
ASP.NET MVCASP.NET MVC
ASP.NET MVC
 
Padrões de Projeto Web e o MVC
Padrões de Projeto Web e o MVCPadrões de Projeto Web e o MVC
Padrões de Projeto Web e o MVC
 
ASP.Net MVC no VS 2010
ASP.Net MVC no VS 2010ASP.Net MVC no VS 2010
ASP.Net MVC no VS 2010
 
ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)
ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)
ASP.NET MVC com jQuery (Retome o controle da sua aplicação web)
 
ASP.NET MVC para desenvolvedores Web Forms (TechEd)
ASP.NET MVC para desenvolvedores Web Forms (TechEd)ASP.NET MVC para desenvolvedores Web Forms (TechEd)
ASP.NET MVC para desenvolvedores Web Forms (TechEd)
 
Introdução ao Asp.NET MVC
Introdução ao Asp.NET MVCIntrodução ao Asp.NET MVC
Introdução ao Asp.NET MVC
 
Desenvolviemento web com ASP.Net e MVC
Desenvolviemento web com ASP.Net e MVCDesenvolviemento web com ASP.Net e MVC
Desenvolviemento web com ASP.Net e MVC
 
ASP.NET Web Forms X ASP.NET MVC
ASP.NET Web Forms X ASP.NET MVCASP.NET Web Forms X ASP.NET MVC
ASP.NET Web Forms X ASP.NET MVC
 
Ebook AngularJS | Guia Introdutório
Ebook AngularJS | Guia Introdutório Ebook AngularJS | Guia Introdutório
Ebook AngularJS | Guia Introdutório
 
MVC, MVP e MVVM: Uma Comparação de Padrões Arquiteturais
MVC, MVP e MVVM: Uma Comparação de Padrões ArquiteturaisMVC, MVP e MVVM: Uma Comparação de Padrões Arquiteturais
MVC, MVP e MVVM: Uma Comparação de Padrões Arquiteturais
 
Mvc - Semifinal
Mvc - SemifinalMvc - Semifinal
Mvc - Semifinal
 
Asp.Net Mvc Dev Days09 V3 Pt
Asp.Net Mvc Dev Days09 V3 PtAsp.Net Mvc Dev Days09 V3 Pt
Asp.Net Mvc Dev Days09 V3 Pt
 

Asp.net mvc 3 - eco 2010

Notas do Editor

  1. Estimated Time: 1 minute The main objectives of this session are to explain what ASP.NET MVC is and how it sits in the overall ASP.NET ecosystem. We’ll take a look at its main value propositions and see what style of development it enables. The key takeaways are to determine whether or not ASP.NET MVC is the right choice for you as a developer, and to figure out whether or not it can ease some pain you’re currently experiencing as a web developer on the .NET stack.
  2. Estimated Time: 2 minutes The level of abstraction that WebForms provides has a lot of benefits to it, but it doesn’t provide any framework-level guidance in terms of what should do what and when. Between your pages, master pages, user controls, server controls, and custom controls, you can end up with a mixture of HTML, data access code, and business logic. There are certainly methodologies/practices that can be employed with WebForms that can remedy that, but it becomes an implementation task of the developer, since the framework doesn’t provide any of that separation/guidance.
  3. Estimated Time: 2 minutes The control abstractions that WebForms provides are very powerful in that they neatly contain all of the UI and business logic needed so you can just place them within a page and go. The adverse side of that is that it can end up hiding complexity that you’d rather have control over. A common problem is viewstate [Advance Animation]. It isn’t viewstate’s fault that things like this can happen, but it can be very easy to consume a control that could end up hurting the performance of your application. In addition, many times the markup rendered by server controls aren’t always ideal and there is little control over that without having to redo its rendering completely.
  4. Estimated Time: 1 minute WebForms has been the only option on the ASP.NET stack and provides a mature product that has proven successful for lots of developers. But it does have some weaknesses.
  5. Estimated Time: 2 minutes MVC is a design pattern that stands for Model-View-Controller. What is strives to do is separate the concerns of an application’s presentation layer by assigning specific roles to the three different components. The Controller is responsible for handling all user input. Once input has been received, the Controller will perform any operations/actions it needs to, which might include interacting with the Model. The Model represents the core concern/logic of the application. Once the Controller retrieves some model data and performs any work with the model/etc it needs to it constructs a presentation model that describes the model in terms the View can understand. The View is the visual representation of the model. It presents the model data to the actual user in a way that is meaningful. In a web application, this would typically be HTML. With these three pieces in place, your presentation layer becomes cleanly separated in such a way that each component can be developed/tested independently.
  6. © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  7. © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.