SlideShare a Scribd company logo
1 of 12
Mazda Consultance Pvt. Ltd.




       MVC Architecture
What is ASP.NET MVC ?

•   A new Web Application Project type
•   Separation of concerns
•   Built on top of ASP.NET platform
•   Tight control over HTML
•   Designed to be testable
•   Extensible routing system
•   Better integration with 3rd party libraries
•   Open source
•   Language innovations
What MVC is?

•   Maintain Clean Separation of Concerns
•   Extensible and Pluggable
•   Enable clean URLs and HTML
•   Great integration within ASP.NET
•   Tooling Support
Advantages of MVC are:

• Separation of concerns (SoC) : -
   – From a technical standpoint, the organization of code within
     MVC is very clean, organized and granular, making it easier
     (hopefully) for a web application to scale in terms of
     functionality. Promotes great design from a development
     standpoint.
• Easier integration with client side tools (rich user
  interface tools) :-
   –    More than ever, web applications are increasingly becoming
       as rich as the applications you see on your desktops. With
       MVC, it gives you the ability to integrate with such toolkits
       (such as jQuery) with greater ease and more seamless than
       in Web Forms.
Advantages of MVC are:

• Search Engine Optimization (SEO) Friendly /
  Stateless :-
   – URL's are more friendly to search engines (i.e.
     mywebapplication.com/users/ 1 - retrieve user with an ID of
     1 vs mywebapplication/users/getuser.aspx (id passed in
     session)). Similarly, since MVC is stateless, this removes the
     headache of users who spawn multiple web browsers from
     the same window (session collisions). Along those same
     lines, MVC adheres to the stateless web protocol rather than
     'battling' against it.
Advantages of MVC are:

• Works well with developers who need high degree of
  control : -
   – Many controls in ASP.NET web forms automatically
     generate much of the raw HTML you see when an page is
     rendered. This can cause headaches for developers. With
     MVC, it lends itself better towards having complete control
     with what is rendered and there are no surprises. Even
     more important, is that the HTML forms typically are much
     smaller than the Web forms which can equate to a
     performance boost - something to seriously consider.
• Test Driven Development (TDD) : -
   – With MVC, you can more easily create tests for the web side
     of things. An additional layer of testing will provide yet
     another layer of defense against unexpected behavior.
MVC Model


        Model




View            Controller
MVC Flow

               Controller
Request




  Step 1
  Incoming request directed to Controller
MVC Flow

             Controller
                                 Model




Step 2
Controller processes request and forms a data Model
MVC Flow

             Controller




                          View


Step 3
Model is passed to View
MVC Flow

            Controller




                                  View


Step 4
View transforms Model into appropriate output format
MVC Flow

            Controller




                         View
                            Response


Step 5
Response is rendered

More Related Content

What's hot (20)

Silver Light By Nyros Developer
Silver Light By Nyros DeveloperSilver Light By Nyros Developer
Silver Light By Nyros Developer
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
 
ASP.NET MVC4 Overview
ASP.NET MVC4 OverviewASP.NET MVC4 Overview
ASP.NET MVC4 Overview
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
 
Technoligent providing custom ASP.NET MVC development services
Technoligent providing custom ASP.NET MVC development servicesTechnoligent providing custom ASP.NET MVC development services
Technoligent providing custom ASP.NET MVC development services
 
10 things to remember
10 things to remember10 things to remember
10 things to remember
 
Introduction To Model View Presenter
Introduction To Model View PresenterIntroduction To Model View Presenter
Introduction To Model View Presenter
 
Mvc pattern and implementation in java fair
Mvc   pattern   and implementation   in   java fairMvc   pattern   and implementation   in   java fair
Mvc pattern and implementation in java fair
 
Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In AspnetModel View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnet
 
MVVM
MVVMMVVM
MVVM
 
MVC architecture by Mohd.Awais on 18th Aug, 2017
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
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
 
Mvc 130330091359-phpapp01
Mvc 130330091359-phpapp01Mvc 130330091359-phpapp01
Mvc 130330091359-phpapp01
 
MVC architecture
MVC architectureMVC architecture
MVC architecture
 
Building web 2.0 applications with ext js
Building web 2.0 applications with ext jsBuilding web 2.0 applications with ext js
Building web 2.0 applications with ext js
 
MVC Framework
MVC FrameworkMVC Framework
MVC Framework
 
Mvvm basics
Mvvm basicsMvvm basics
Mvvm basics
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
 

Viewers also liked

La sostenibilità come modello di business per il tessile italiano ed europeo
La sostenibilità come modello di business per il tessile italiano ed europeoLa sostenibilità come modello di business per il tessile italiano ed europeo
La sostenibilità come modello di business per il tessile italiano ed europeoRadiciGroup
 
White Paper | Connected Government in a Connected World
White Paper | Connected Government in a Connected WorldWhite Paper | Connected Government in a Connected World
White Paper | Connected Government in a Connected WorldThe Microsoft Openness Network
 
Tinh toan suc chiu tai thang dung
Tinh toan suc chiu tai thang dungTinh toan suc chiu tai thang dung
Tinh toan suc chiu tai thang dungmagicxlll
 
Larutan elektrolit it dan ict
Larutan elektrolit it dan ictLarutan elektrolit it dan ict
Larutan elektrolit it dan ictamaliafitrah81
 
MagGrow - Magnetic Spraying Technology
MagGrow - Magnetic Spraying TechnologyMagGrow - Magnetic Spraying Technology
MagGrow - Magnetic Spraying TechnologyAgroinform.com
 
To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano
To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano
To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano RadiciGroup
 
Sumit gulia presentation
Sumit gulia presentationSumit gulia presentation
Sumit gulia presentationSumit Sam
 
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessileLa responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessileRadiciGroup
 
Opinioni a confronto - L’importanza di essere “green” a cura di Luca Mei
Opinioni a confronto - L’importanza di essere “green” a cura di Luca MeiOpinioni a confronto - L’importanza di essere “green” a cura di Luca Mei
Opinioni a confronto - L’importanza di essere “green” a cura di Luca MeiRadiciGroup
 
RadiciGroup for sustainability 2013 English
RadiciGroup for sustainability 2013 EnglishRadiciGroup for sustainability 2013 English
RadiciGroup for sustainability 2013 EnglishRadiciGroup
 
Shale oil rush 3 keys to success
Shale oil rush   3 keys to successShale oil rush   3 keys to success
Shale oil rush 3 keys to successDr. Harald Lechner
 
UK accreditation framework
UK accreditation frameworkUK accreditation framework
UK accreditation frameworkcambridgeharry
 
To Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - EnglishTo Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - EnglishRadiciGroup
 
Zlatko radovanović pokrivanje biber crepom
Zlatko radovanović pokrivanje biber crepomZlatko radovanović pokrivanje biber crepom
Zlatko radovanović pokrivanje biber crepomalzalatco
 
Radici Engineering Plastic A Key Partner in Auto Market
Radici Engineering Plastic A Key Partner in Auto MarketRadici Engineering Plastic A Key Partner in Auto Market
Radici Engineering Plastic A Key Partner in Auto MarketRadiciGroup
 
Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...
Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...
Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...RadiciGroup
 

Viewers also liked (20)

La sostenibilità come modello di business per il tessile italiano ed europeo
La sostenibilità come modello di business per il tessile italiano ed europeoLa sostenibilità come modello di business per il tessile italiano ed europeo
La sostenibilità come modello di business per il tessile italiano ed europeo
 
White Paper | Connected Government in a Connected World
White Paper | Connected Government in a Connected WorldWhite Paper | Connected Government in a Connected World
White Paper | Connected Government in a Connected World
 
Tinh toan suc chiu tai thang dung
Tinh toan suc chiu tai thang dungTinh toan suc chiu tai thang dung
Tinh toan suc chiu tai thang dung
 
Larutan elektrolit it dan ict
Larutan elektrolit it dan ictLarutan elektrolit it dan ict
Larutan elektrolit it dan ict
 
drwing
drwingdrwing
drwing
 
MagGrow - Magnetic Spraying Technology
MagGrow - Magnetic Spraying TechnologyMagGrow - Magnetic Spraying Technology
MagGrow - Magnetic Spraying Technology
 
To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano
To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano
To Be Glocal 2013 - RadiciGroup Corporate Brochure - Italiano
 
Sumit gulia presentation
Sumit gulia presentationSumit gulia presentation
Sumit gulia presentation
 
CV
CVCV
CV
 
Calendar google
Calendar googleCalendar google
Calendar google
 
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessileLa responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
La responsabilità socio-ambientale lungo la filiera dalla chimica al tessile
 
Opinioni a confronto - L’importanza di essere “green” a cura di Luca Mei
Opinioni a confronto - L’importanza di essere “green” a cura di Luca MeiOpinioni a confronto - L’importanza di essere “green” a cura di Luca Mei
Opinioni a confronto - L’importanza di essere “green” a cura di Luca Mei
 
Intex Final Design-Zoheb Hossain
Intex Final Design-Zoheb HossainIntex Final Design-Zoheb Hossain
Intex Final Design-Zoheb Hossain
 
RadiciGroup for sustainability 2013 English
RadiciGroup for sustainability 2013 EnglishRadiciGroup for sustainability 2013 English
RadiciGroup for sustainability 2013 English
 
Shale oil rush 3 keys to success
Shale oil rush   3 keys to successShale oil rush   3 keys to success
Shale oil rush 3 keys to success
 
UK accreditation framework
UK accreditation frameworkUK accreditation framework
UK accreditation framework
 
To Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - EnglishTo Be Glocal 2014 - RadiciGroup Corporate Brochure - English
To Be Glocal 2014 - RadiciGroup Corporate Brochure - English
 
Zlatko radovanović pokrivanje biber crepom
Zlatko radovanović pokrivanje biber crepomZlatko radovanović pokrivanje biber crepom
Zlatko radovanović pokrivanje biber crepom
 
Radici Engineering Plastic A Key Partner in Auto Market
Radici Engineering Plastic A Key Partner in Auto MarketRadici Engineering Plastic A Key Partner in Auto Market
Radici Engineering Plastic A Key Partner in Auto Market
 
Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...
Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...
Nuovi compound su base poliammidica: le ultime novità di Radici Plastics per ...
 

Similar to Mvc part 1

Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6Bhaumik Patel
 
Avigma Tech LLC- Why the MVC pattern so popular?
Avigma Tech LLC- Why the MVC pattern so popular?Avigma Tech LLC- Why the MVC pattern so popular?
Avigma Tech LLC- Why the MVC pattern so popular?Mike Brown
 
Web engineering - MVC
Web engineering - MVCWeb engineering - MVC
Web engineering - MVCNosheen Qamar
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC StructureDipika Wadhvani
 
Getting started with MVC 5 and Visual Studio 2013
Getting started with MVC 5 and Visual Studio 2013Getting started with MVC 5 and Visual Studio 2013
Getting started with MVC 5 and Visual Studio 2013Thomas Robbins
 
Mvc presentation
Mvc presentationMvc presentation
Mvc presentationMaslowB
 
Joe Ulyatt MVC Lecture
Joe Ulyatt MVC LectureJoe Ulyatt MVC Lecture
Joe Ulyatt MVC Lecturessuser7e32f9
 
Web tier-framework-mvc
Web tier-framework-mvcWeb tier-framework-mvc
Web tier-framework-mvcKashfUlHuda1
 
Which is better asp.net mvc vs asp.net
Which is better  asp.net mvc vs asp.netWhich is better  asp.net mvc vs asp.net
Which is better asp.net mvc vs asp.netConcetto Labs
 
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...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...CrimsonpublishersPRSP
 

Similar to Mvc part 1 (20)

Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6Difference between MVC 3, 4, 5 and 6
Difference between MVC 3, 4, 5 and 6
 
Avigma Tech LLC- Why the MVC pattern so popular?
Avigma Tech LLC- Why the MVC pattern so popular?Avigma Tech LLC- Why the MVC pattern so popular?
Avigma Tech LLC- Why the MVC pattern so popular?
 
Mvc
MvcMvc
Mvc
 
Mvc3 part1
Mvc3   part1Mvc3   part1
Mvc3 part1
 
Mvc Architecture in a web based application
Mvc Architecture in a web based applicationMvc Architecture in a web based application
Mvc Architecture in a web based application
 
Web engineering - MVC
Web engineering - MVCWeb engineering - MVC
Web engineering - MVC
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
 
Mvc architecture
Mvc architectureMvc architecture
Mvc architecture
 
Getting started with MVC 5 and Visual Studio 2013
Getting started with MVC 5 and Visual Studio 2013Getting started with MVC 5 and Visual Studio 2013
Getting started with MVC 5 and Visual Studio 2013
 
Mvc presentation
Mvc presentationMvc presentation
Mvc presentation
 
Joe Ulyatt MVC Lecture
Joe Ulyatt MVC LectureJoe Ulyatt MVC Lecture
Joe Ulyatt MVC Lecture
 
Web tier-framework-mvc
Web tier-framework-mvcWeb tier-framework-mvc
Web tier-framework-mvc
 
IntroductionToMVC
IntroductionToMVCIntroductionToMVC
IntroductionToMVC
 
Intro ASP MVC
Intro ASP MVCIntro ASP MVC
Intro ASP MVC
 
Aspnet mvc
Aspnet mvcAspnet mvc
Aspnet mvc
 
Which is better asp.net mvc vs asp.net
Which is better  asp.net mvc vs asp.netWhich is better  asp.net mvc vs asp.net
Which is better asp.net mvc vs asp.net
 
MVC 4
MVC 4MVC 4
MVC 4
 
MVC.pptx
MVC.pptxMVC.pptx
MVC.pptx
 
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...
MVC Architecture: A Detailed Insight to the Modern Web Applications Developme...
 
Mvc Brief Overview
Mvc Brief OverviewMvc Brief Overview
Mvc Brief Overview
 

Mvc part 1

  • 1. Mazda Consultance Pvt. Ltd. MVC Architecture
  • 2. What is ASP.NET MVC ? • A new Web Application Project type • Separation of concerns • Built on top of ASP.NET platform • Tight control over HTML • Designed to be testable • Extensible routing system • Better integration with 3rd party libraries • Open source • Language innovations
  • 3. What MVC is? • Maintain Clean Separation of Concerns • Extensible and Pluggable • Enable clean URLs and HTML • Great integration within ASP.NET • Tooling Support
  • 4. Advantages of MVC are: • Separation of concerns (SoC) : - – From a technical standpoint, the organization of code within MVC is very clean, organized and granular, making it easier (hopefully) for a web application to scale in terms of functionality. Promotes great design from a development standpoint. • Easier integration with client side tools (rich user interface tools) :- – More than ever, web applications are increasingly becoming as rich as the applications you see on your desktops. With MVC, it gives you the ability to integrate with such toolkits (such as jQuery) with greater ease and more seamless than in Web Forms.
  • 5. Advantages of MVC are: • Search Engine Optimization (SEO) Friendly / Stateless :- – URL's are more friendly to search engines (i.e. mywebapplication.com/users/ 1 - retrieve user with an ID of 1 vs mywebapplication/users/getuser.aspx (id passed in session)). Similarly, since MVC is stateless, this removes the headache of users who spawn multiple web browsers from the same window (session collisions). Along those same lines, MVC adheres to the stateless web protocol rather than 'battling' against it.
  • 6. Advantages of MVC are: • Works well with developers who need high degree of control : - – Many controls in ASP.NET web forms automatically generate much of the raw HTML you see when an page is rendered. This can cause headaches for developers. With MVC, it lends itself better towards having complete control with what is rendered and there are no surprises. Even more important, is that the HTML forms typically are much smaller than the Web forms which can equate to a performance boost - something to seriously consider. • Test Driven Development (TDD) : - – With MVC, you can more easily create tests for the web side of things. An additional layer of testing will provide yet another layer of defense against unexpected behavior.
  • 7. MVC Model Model View Controller
  • 8. MVC Flow Controller Request Step 1 Incoming request directed to Controller
  • 9. MVC Flow Controller Model Step 2 Controller processes request and forms a data Model
  • 10. MVC Flow Controller View Step 3 Model is passed to View
  • 11. MVC Flow Controller View Step 4 View transforms Model into appropriate output format
  • 12. MVC Flow Controller View Response Step 5 Response is rendered