Mvc

A
MVC for ASP.NET Developers
                   Abhijit Gadkari
                 Enterprise Architect




http://www.technolatte.net/image.axd?picture=2009%2F3%2Frequest.jpg




Yet Other WebFramework!
Million $ Question?
“Who here is attending this talk
because you are concerned that
ASP.NET MVC is going to throw
out all of your existing knowledge
on Web Forms and require
you to learn new technology?”
                      From Chapter 2 of the Professional ASP.NET MVC
Please Note:

Release of ASP.NET MVC does not mean the
death of Web Forms. This just isn't true.
ASP.NET MVC is not ASP.NET Web Forms 4.0.
It's an alternative to Web Forms,
and it's a fully supported part of the
[.NET] framework.

           Professional ASP.NET MVC 1.0 by
                           Scott Guthrie et al.
                                  [page 171]
Lets call our dear
friend...
http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en




                     www.asp.net/mvc
Model View Controller (MVC) is one of the most quoted (and most
misquoted) pattern around. It started as a framework developed
By Trygve Reenskaug for the Smalltalk platform in the late 1970s.
Since then it has played an influential role in most UI frameworks
and the thinking about UI design.
     - from Patterns of Enterprise Application Architecture by Martin
                                                Fowler et.al. Page 330


           View                                  Controller




                               Model


 Splits user interface interaction into three distinct roles.
What is a Model View Controller (MVC) Framework?

      MVC is a framework methodology that divides an application's
  implementation into three component roles: models, views,
 and controllers.

 "Models" in a MVC based application are the components of the application
 that are responsible for maintaining state. Often this state is persisted inside
  a database (for example: we might have a Product class that is used to
  represent order data from the Products table inside SQL).

 "Views" in a MVC based application are the components responsible
  for displaying the application's user interface. Typically this UI is created
  off of the model data (for example: we might create an Product "Edit" view
  that surfaces textboxes, dropdowns and checkboxes based on the
 current state of a Product object).

 "Controllers" in a MVC based application are the components responsible for
  handling end user interaction, manipulating the model, and ultimately
  choosing a view to render to display UI. In a MVC application
  the view is only about displaying information - it is the controller that
 handles and responds to user input and interaction.
http://weblogs.asp.net/scottgu/archive/2007/11/13/asp-net-mvc-framework-part-1.aspx



One of the benefits of using a MVC methodology is that it helps
enforce a clean separation of concerns between the models, views
and controllers within an application.

Maintaining a clean separation of concerns makes
the testing of applications much easier, since the contract between
different application components are more clearly defined and articulated.
                                              Slide 4 and 5 from
                                              http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx
My First MVC
    Application...

MVC is built on top of ASP.NET
3
              Controllers


                    4
                  Models



                       5.
                     Scripts



                     2
                   Views

                     1
                 Default.as-
                     px
Convention over Configuration!
MVC with real
Model...
Summary

MVC framework is not an alternative to the existing web form
Technology. Use Web Forms on projects where you use third party
server controls, web parts and dynamic data

Going forward MS will support MVC as well as Web Forms

MVC can be added to the existing ASP.NET web form application
       ASP.NET MVC                     ASP.NET Web Forms
No Server Controls                 Based on the standard server
                                  control model
No Postbacks and ViewState – Postbacks and ViewState is an
View will talk to the controller integral part of this framework
 Controller is the glue that binds Codebehind file is a glue that
a view with the model              binds a view with the model
Doesn't hide HTML & HTTP          Hides HTML and HTTP
Thanks for attending this presentation.
Please let me know your feedback on abhigad@hotmail.com
We are planning on conducting
a day long [9 -5] hands-on
seminar on ASP.NET MVC in
Orange County.

Let us know if you
are interested...

ABHIGAD@HOTMAIL.COM
1 de 14

Recomendados

Asp.net mvc basic introduction por
Asp.net mvc basic introductionAsp.net mvc basic introduction
Asp.net mvc basic introductionBhagath Gopinath
294 visualizações10 slides
Dot net interview questions and asnwers por
Dot net interview questions and asnwersDot net interview questions and asnwers
Dot net interview questions and asnwerskavinilavuG
99 visualizações17 slides
Mvc framework por
Mvc frameworkMvc framework
Mvc frameworkDhurham Fahem
128 visualizações10 slides
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing por
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazingMortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazingTom Walker
690 visualizações13 slides
Introduction to ASP.NET MVC por
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVCEmad Alashi
925 visualizações23 slides
Asp.net mvc por
Asp.net mvcAsp.net mvc
Asp.net mvcNaga Harish M
1.9K visualizações11 slides

Mais conteúdo relacionado

Mais procurados

MVC architecture by Mohd.Awais on 18th Aug, 2017 por
MVC architecture by Mohd.Awais on 18th Aug, 2017MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017Innovation Studio
144 visualizações19 slides
MVC Architecture in ASP.Net By Nyros Developer por
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperNyros Technologies
4.3K visualizações24 slides
MVC Pattern. Flex implementation of MVC por
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCAnton Krasnoshchok
4.4K visualizações13 slides
MVC architecture por
MVC architectureMVC architecture
MVC architecturebaabtra.com - No. 1 supplier of quality freshers
1.1K visualizações15 slides
MVC Framework por
MVC FrameworkMVC Framework
MVC FrameworkAshton Feller
1.4K visualizações27 slides
Introduction to mvc architecture por
Introduction to mvc architectureIntroduction to mvc architecture
Introduction to mvc architectureravindraquicsolv
1.3K visualizações17 slides

Mais procurados(20)

MVC architecture by Mohd.Awais on 18th Aug, 2017 por Innovation Studio
MVC architecture by Mohd.Awais on 18th Aug, 2017MVC architecture by Mohd.Awais on 18th Aug, 2017
MVC architecture by Mohd.Awais on 18th Aug, 2017
Innovation Studio144 visualizações
MVC Architecture in ASP.Net By Nyros Developer por Nyros Technologies
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies4.3K visualizações
MVC Pattern. Flex implementation of MVC por Anton Krasnoshchok
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVC
Anton Krasnoshchok4.4K visualizações
MVC Framework por Ashton Feller
MVC FrameworkMVC Framework
MVC Framework
Ashton Feller1.4K visualizações
Introduction to mvc architecture por ravindraquicsolv
Introduction to mvc architectureIntroduction to mvc architecture
Introduction to mvc architecture
ravindraquicsolv1.3K visualizações
MSDN - ASP.NET MVC por Maarten Balliauw
MSDN - ASP.NET MVCMSDN - ASP.NET MVC
MSDN - ASP.NET MVC
Maarten Balliauw6K visualizações
Asp.net mvc presentation by Nitin Sawant por Nitin Sawant
Asp.net mvc presentation by Nitin SawantAsp.net mvc presentation by Nitin Sawant
Asp.net mvc presentation by Nitin Sawant
Nitin Sawant2.3K visualizações
MVC ppt presentation por Bhavin Shah
MVC ppt presentationMVC ppt presentation
MVC ppt presentation
Bhavin Shah14K visualizações
Asp.net MVC training session por Hrichi Mohamed
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training session
Hrichi Mohamed6.3K visualizações
ASP.net MVC Introduction Wikilogia (nov 2014) por Hatem Hamad
ASP.net MVC Introduction Wikilogia (nov 2014)ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
Hatem Hamad591 visualizações
Mvc summary por Muhammad Younis
Mvc summaryMvc summary
Mvc summary
Muhammad Younis2.4K visualizações
MVC Architecture por Prem Sanil
MVC ArchitectureMVC Architecture
MVC Architecture
Prem Sanil504 visualizações
MVC architecture por Emily Bauman
MVC architectureMVC architecture
MVC architecture
Emily Bauman1.8K visualizações
ASP.NET MVC Presentation por Volkan Uzun
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
Volkan Uzun5.4K visualizações
ASP.NET MVC Presentation por ivpol
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
ivpol23.6K visualizações
Asp.net mvc por Er. Kamal Bhusal
Asp.net mvcAsp.net mvc
Asp.net mvc
Er. Kamal Bhusal1.6K visualizações

Destaque

1001 RAZONES PARA LEER por
1001 RAZONES PARA LEER1001 RAZONES PARA LEER
1001 RAZONES PARA LEERTRASTOLILLOS
326 visualizações12 slides
081208 Aaa Year In Review Presentation por
081208 Aaa   Year In Review Presentation081208 Aaa   Year In Review Presentation
081208 Aaa Year In Review Presentationbiferguson
629 visualizações28 slides
How to build a better inbound marketing machine por
How to build a better inbound marketing machineHow to build a better inbound marketing machine
How to build a better inbound marketing machineAlexey Kononenko
253 visualizações34 slides
Content Strategy por
Content StrategyContent Strategy
Content StrategyArunima Saboo
497 visualizações39 slides
Extend Your MS Dynamics ERP & CRM with a Complete BI Solution por
Extend Your MS Dynamics ERP & CRM with a Complete BI SolutionExtend Your MS Dynamics ERP & CRM with a Complete BI Solution
Extend Your MS Dynamics ERP & CRM with a Complete BI Solutionwww.panorama.com
1.7K visualizações33 slides
Holopticism por
HolopticismHolopticism
HolopticismAlanRosenblith
1.6K visualizações19 slides

Destaque(20)

1001 RAZONES PARA LEER por TRASTOLILLOS
1001 RAZONES PARA LEER1001 RAZONES PARA LEER
1001 RAZONES PARA LEER
TRASTOLILLOS326 visualizações
081208 Aaa Year In Review Presentation por biferguson
081208 Aaa   Year In Review Presentation081208 Aaa   Year In Review Presentation
081208 Aaa Year In Review Presentation
biferguson629 visualizações
How to build a better inbound marketing machine por Alexey Kononenko
How to build a better inbound marketing machineHow to build a better inbound marketing machine
How to build a better inbound marketing machine
Alexey Kononenko253 visualizações
Content Strategy por Arunima Saboo
Content StrategyContent Strategy
Content Strategy
Arunima Saboo497 visualizações
Extend Your MS Dynamics ERP & CRM with a Complete BI Solution por www.panorama.com
Extend Your MS Dynamics ERP & CRM with a Complete BI SolutionExtend Your MS Dynamics ERP & CRM with a Complete BI Solution
Extend Your MS Dynamics ERP & CRM with a Complete BI Solution
www.panorama.com1.7K visualizações
Holopticism por AlanRosenblith
HolopticismHolopticism
Holopticism
AlanRosenblith1.6K visualizações
Proforma Branded Apps por Jim Hanika
Proforma Branded AppsProforma Branded Apps
Proforma Branded Apps
Jim Hanika203 visualizações
Interior Design: Easy Ways to Add Flash Without Wasting Cash por Crystal Henson
Interior Design: Easy Ways to Add Flash Without Wasting Cash Interior Design: Easy Ways to Add Flash Without Wasting Cash
Interior Design: Easy Ways to Add Flash Without Wasting Cash
Crystal Henson631 visualizações
Carlsbad Median Prices Jan-June 2009 por lps58
Carlsbad Median Prices Jan-June 2009Carlsbad Median Prices Jan-June 2009
Carlsbad Median Prices Jan-June 2009
lps58203 visualizações
Mysql Fulltext Search por johnymas
Mysql Fulltext SearchMysql Fulltext Search
Mysql Fulltext Search
johnymas3.9K visualizações
Andreas .Key por plumum
Andreas .KeyAndreas .Key
Andreas .Key
plumum434 visualizações
Charge conference 2013 por Pete Berntson
Charge conference 2013Charge conference 2013
Charge conference 2013
Pete Berntson295 visualizações
Elevate your webapps with Scala and Lift por Sander Mak (@Sander_Mak)
Elevate your webapps with Scala and LiftElevate your webapps with Scala and Lift
Elevate your webapps with Scala and Lift
Sander Mak (@Sander_Mak)3.2K visualizações
Mars Approaching por lps58
Mars ApproachingMars Approaching
Mars Approaching
lps58306 visualizações
Gastcollege CHE por Harmen van Doorn
Gastcollege CHEGastcollege CHE
Gastcollege CHE
Harmen van Doorn483 visualizações
Prospero 2010 por graciela27
Prospero 2010Prospero 2010
Prospero 2010
graciela27285 visualizações
Panorama Business Intelligence Solution por www.panorama.com
Panorama Business Intelligence SolutionPanorama Business Intelligence Solution
Panorama Business Intelligence Solution
www.panorama.com1.2K visualizações
Question 2 por David Wooldridge
Question 2Question 2
Question 2
David Wooldridge321 visualizações

Similar a Mvc

Technoligent providing custom ASP.NET MVC development services por
Technoligent providing custom ASP.NET MVC development servicesTechnoligent providing custom ASP.NET MVC development services
Technoligent providing custom ASP.NET MVC development servicesAaron Jacobson
878 visualizações16 slides
Ppt of Basic MVC Structure por
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC StructureDipika Wadhvani
676 visualizações27 slides
An overview of microsoft mvc dot net por
An overview of microsoft mvc dot netAn overview of microsoft mvc dot net
An overview of microsoft mvc dot netneha sharma
100 visualizações8 slides
IntroductionToMVC por
IntroductionToMVCIntroductionToMVC
IntroductionToMVCAkhil Mittal
214 visualizações3 slides
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme... por
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...CrimsonpublishersPRSP
88 visualizações7 slides
Asp.net Mvc Introduction por
Asp.net Mvc IntroductionAsp.net Mvc Introduction
Asp.net Mvc IntroductionVishal Sharma
109 visualizações12 slides

Similar a Mvc(20)

Technoligent providing custom ASP.NET MVC development services por Aaron Jacobson
Technoligent providing custom ASP.NET MVC development servicesTechnoligent providing custom ASP.NET MVC development services
Technoligent providing custom ASP.NET MVC development services
Aaron Jacobson878 visualizações
Ppt of Basic MVC Structure por Dipika Wadhvani
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
Dipika Wadhvani676 visualizações
An overview of microsoft mvc dot net por neha sharma
An overview of microsoft mvc dot netAn overview of microsoft mvc dot net
An overview of microsoft mvc dot net
neha sharma100 visualizações
IntroductionToMVC por Akhil Mittal
IntroductionToMVCIntroductionToMVC
IntroductionToMVC
Akhil Mittal214 visualizações
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme... por CrimsonpublishersPRSP
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
CrimsonpublishersPRSP88 visualizações
Asp.net Mvc Introduction por Vishal Sharma
Asp.net Mvc IntroductionAsp.net Mvc Introduction
Asp.net Mvc Introduction
Vishal Sharma109 visualizações
ASP .NET MVC por eldorina
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
eldorina1K visualizações
Asp.net mvc por Taranjeet Singh
Asp.net mvcAsp.net mvc
Asp.net mvc
Taranjeet Singh248 visualizações
Asp.net c# MVC-5 Training-Day-1 of Day-9 por AHM Pervej Kabir
Asp.net c# MVC-5 Training-Day-1 of Day-9Asp.net c# MVC-5 Training-Day-1 of Day-9
Asp.net c# MVC-5 Training-Day-1 of Day-9
AHM Pervej Kabir923 visualizações
Spring Framework-II por People Strategists
Spring Framework-IISpring Framework-II
Spring Framework-II
People Strategists1.3K visualizações
ASP.Net | Sabin Saleem por SaBin SaleEm
ASP.Net | Sabin SaleemASP.Net | Sabin Saleem
ASP.Net | Sabin Saleem
SaBin SaleEm70 visualizações
Head first asp.net mvc 2.0 rtt por Lanvige Jiang
Head first asp.net mvc 2.0 rttHead first asp.net mvc 2.0 rtt
Head first asp.net mvc 2.0 rtt
Lanvige Jiang3.6K visualizações
Jinal desai .net por rohitkumar1987in
Jinal desai .netJinal desai .net
Jinal desai .net
rohitkumar1987in321 visualizações
Mvc 130330091359-phpapp01 por Jennie Gajjar
Mvc 130330091359-phpapp01Mvc 130330091359-phpapp01
Mvc 130330091359-phpapp01
Jennie Gajjar264 visualizações
Struts(mrsurwar) ppt por mrsurwar
Struts(mrsurwar) pptStruts(mrsurwar) ppt
Struts(mrsurwar) ppt
mrsurwar1.9K visualizações
MVC - Introduction por Sudhakar Sharma
MVC - IntroductionMVC - Introduction
MVC - Introduction
Sudhakar Sharma8.7K visualizações
Intro ASP MVC por KrishnaPPatel
Intro ASP MVCIntro ASP MVC
Intro ASP MVC
KrishnaPPatel424 visualizações
ASP.NET MVC Introduction por Sumit Chhabra
ASP.NET MVC IntroductionASP.NET MVC Introduction
ASP.NET MVC Introduction
Sumit Chhabra13.8K visualizações
Principles of MVC for PHP Developers por Edureka!
Principles of MVC for PHP DevelopersPrinciples of MVC for PHP Developers
Principles of MVC for PHP Developers
Edureka!3.1K visualizações

Mvc

  • 1. MVC for ASP.NET Developers Abhijit Gadkari Enterprise Architect http://www.technolatte.net/image.axd?picture=2009%2F3%2Frequest.jpg Yet Other WebFramework!
  • 2. Million $ Question? “Who here is attending this talk because you are concerned that ASP.NET MVC is going to throw out all of your existing knowledge on Web Forms and require you to learn new technology?” From Chapter 2 of the Professional ASP.NET MVC
  • 3. Please Note: Release of ASP.NET MVC does not mean the death of Web Forms. This just isn't true. ASP.NET MVC is not ASP.NET Web Forms 4.0. It's an alternative to Web Forms, and it's a fully supported part of the [.NET] framework. Professional ASP.NET MVC 1.0 by Scott Guthrie et al. [page 171]
  • 4. Lets call our dear friend...
  • 6. Model View Controller (MVC) is one of the most quoted (and most misquoted) pattern around. It started as a framework developed By Trygve Reenskaug for the Smalltalk platform in the late 1970s. Since then it has played an influential role in most UI frameworks and the thinking about UI design. - from Patterns of Enterprise Application Architecture by Martin Fowler et.al. Page 330 View Controller Model Splits user interface interaction into three distinct roles.
  • 7. What is a Model View Controller (MVC) Framework? MVC is a framework methodology that divides an application's implementation into three component roles: models, views, and controllers. "Models" in a MVC based application are the components of the application that are responsible for maintaining state. Often this state is persisted inside a database (for example: we might have a Product class that is used to represent order data from the Products table inside SQL). "Views" in a MVC based application are the components responsible for displaying the application's user interface. Typically this UI is created off of the model data (for example: we might create an Product "Edit" view that surfaces textboxes, dropdowns and checkboxes based on the current state of a Product object). "Controllers" in a MVC based application are the components responsible for handling end user interaction, manipulating the model, and ultimately choosing a view to render to display UI. In a MVC application the view is only about displaying information - it is the controller that handles and responds to user input and interaction.
  • 8. http://weblogs.asp.net/scottgu/archive/2007/11/13/asp-net-mvc-framework-part-1.aspx One of the benefits of using a MVC methodology is that it helps enforce a clean separation of concerns between the models, views and controllers within an application. Maintaining a clean separation of concerns makes the testing of applications much easier, since the contract between different application components are more clearly defined and articulated. Slide 4 and 5 from http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx
  • 9. My First MVC Application... MVC is built on top of ASP.NET
  • 10. 3 Controllers 4 Models 5. Scripts 2 Views 1 Default.as- px Convention over Configuration!
  • 12. Summary MVC framework is not an alternative to the existing web form Technology. Use Web Forms on projects where you use third party server controls, web parts and dynamic data Going forward MS will support MVC as well as Web Forms MVC can be added to the existing ASP.NET web form application ASP.NET MVC ASP.NET Web Forms No Server Controls Based on the standard server control model No Postbacks and ViewState – Postbacks and ViewState is an View will talk to the controller integral part of this framework Controller is the glue that binds Codebehind file is a glue that a view with the model binds a view with the model Doesn't hide HTML & HTTP Hides HTML and HTTP
  • 13. Thanks for attending this presentation. Please let me know your feedback on abhigad@hotmail.com
  • 14. We are planning on conducting a day long [9 -5] hands-on seminar on ASP.NET MVC in Orange County. Let us know if you are interested... ABHIGAD@HOTMAIL.COM