SlideShare a Scribd company logo
 
Agenda What is ASP.NET MVC What is MVC MVC Flow Routing Using Ajax & Security Choosing Between MVC and Web forms Which one is better ? Summary
What is ASP.NET MVC? A new Web Application Project type Simply an option Not a replacement for WebForms Builds on top ASP.NET Manual vs Automatic Transmission
What is MVC? Model Controller View
Separation Of Concerns Each component has one responsibility SRP : Single Responsibility Principle More easily testable Helps with concurrent development
Not  the new Web Forms 4.0 Not  replacing Web Forms, but Adds to it It can  not  use Web Controls Not  a whole new engine but sits on ASP.NET engine Not  the best solution for REST What MVC   is not ?
Maintain  Clean Separation  of Concerns Extensible  and  Pluggable Enable  clean URLs and HTML Great  integration within ASP.NET Tooling Support
MVC Flow
 
 
URLs -> application -> Controller  Action Construct outgoing URLs  Constructed URLs can be used to call back to Controllers/Actions Routing Engine
Sequence Diagram ASP.Net MVC Flow
Ajax is not just “Update Panel”   You can use  Page methods Web Services They all require you to write a lot of javascript MVC Ajax helps with Forms and ActionLinks !! Ajax Support
Built in Controller for Logging Using ASP.NET Security Providers Having the ability to control the security level of each controller method Security Support
Choosing Between WebForms and MVC Now that Asp.Net is much more mainstream at work, The question is asked time and again as to which one should be used while developing a Web Application. One possible way to answer this question is to do a  analysis of both the frameworks.
 
 
ASP.Net MVC  VS  Web Forms Uses the ‘Front Controller’ pattern. There is a single central controller for all pages to process web application requests and facilitates a rich routing architecture At its core, ASP.NET MVC was designed to make test-driven development easier. You ‘can’ test your Controller without instantiating a View and carry out unit-tests without having to run the controllers in an ASP.NET process. Uses the ‘Page Controller’ pattern. Each page has a code-behind class that acts as a controller and is responsible for rendering the layout. At its core, you ‘cannot’ test your controller without instantiating a View. There are ways to get around it using tools
ASP.Net MVC  VS  Web Forms A thorough understanding of how HTML, CSS and JavaScript work together is required. The advantage is you can do a lot of jQuery and AJAX stuff in an efficient and simple manner than you would do in an ASP.NET application. You lose the 'drag and drop' quick model of building your web applications. Deep understanding of HTML, CSS and JavaScript is not required to a large extent since the WebForm model abstracts a lot of these details and provides automatic plumbing. While abstracting details to provide ease of use, sometimes a solution is overcomplicated, than it needs to be. Can drastically reduce time while building up intranet and internet applications that use a lot of controls (drag and drop model).
WebForms ??????? MVC ?????? Which one is better ?
 
Summary Not a replacement for WebForms –  All about alternatives Fundamental –  Same team that builds WebForms
 
 

More Related Content

PPTX
ASP.NET MVC Presentation
Volkan Uzun
 
PPTX
Introduction to mvc architecture
ravindraquicsolv
 
PDF
MVC architecture
Emily Bauman
 
PPTX
Asp.net MVC training session
Hrichi Mohamed
 
PPTX
MVC Framework
Ashton Feller
 
PPT
ASP.NET MVC Presentation
ivpol
 
PPT
Asp.net
Dinesh kumar
 
PPT
ASP .net MVC
Divya Sharma
 
ASP.NET MVC Presentation
Volkan Uzun
 
Introduction to mvc architecture
ravindraquicsolv
 
MVC architecture
Emily Bauman
 
Asp.net MVC training session
Hrichi Mohamed
 
MVC Framework
Ashton Feller
 
ASP.NET MVC Presentation
ivpol
 
Asp.net
Dinesh kumar
 
ASP .net MVC
Divya Sharma
 

What's hot (20)

PPTX
ASP.NET MVC.
Ni
 
PPT
MVC ppt presentation
Bhavin Shah
 
PPTX
Front-end development introduction (HTML, CSS). Part 1
Oleksii Prohonnyi
 
PPTX
Angular tutorial
Rohit Gupta
 
PPT
Asp.net basic
Neelesh Shukla
 
PDF
Introduction to asp.net
SHADAB ALI
 
PDF
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
PPT
web development
PV Farms
 
PDF
Asp.net mvc basic introduction
Bhagath Gopinath
 
PPTX
Advanced angular
Sumit Kumar Rakshit
 
PPTX
Model view controller (mvc)
M Ahsan Khan
 
PPTX
Introduction to ASP.NET
Rajkumarsoy
 
PDF
Angular components
Sultan Ahmed
 
PPTX
Introducing Razor - A new view engine for ASP.NET
Shiju Varghese
 
PPTX
laravel.pptx
asif290119
 
PPTX
Laravel ppt
Mayank Panchal
 
PPTX
Css selectors
Dinesh Kumar
 
PPTX
Client & server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
PPTX
Form using html and java script validation
Maitree Patel
 
PPTX
Introduction to react_js
MicroPyramid .
 
ASP.NET MVC.
Ni
 
MVC ppt presentation
Bhavin Shah
 
Front-end development introduction (HTML, CSS). Part 1
Oleksii Prohonnyi
 
Angular tutorial
Rohit Gupta
 
Asp.net basic
Neelesh Shukla
 
Introduction to asp.net
SHADAB ALI
 
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
web development
PV Farms
 
Asp.net mvc basic introduction
Bhagath Gopinath
 
Advanced angular
Sumit Kumar Rakshit
 
Model view controller (mvc)
M Ahsan Khan
 
Introduction to ASP.NET
Rajkumarsoy
 
Angular components
Sultan Ahmed
 
Introducing Razor - A new view engine for ASP.NET
Shiju Varghese
 
laravel.pptx
asif290119
 
Laravel ppt
Mayank Panchal
 
Css selectors
Dinesh Kumar
 
Client & server side scripting
baabtra.com - No. 1 supplier of quality freshers
 
Form using html and java script validation
Maitree Patel
 
Introduction to react_js
MicroPyramid .
 
Ad

Similar to MVC Architecture in ASP.Net By Nyros Developer (20)

PPT
Introduction to ASP.NET MVC 1.0
Shiju Varghese
 
PPTX
Technoligent providing custom ASP.NET MVC development services
Aaron Jacobson
 
PPTX
Which is better asp.net mvc vs asp.net
Concetto Labs
 
PPTX
Mvc Brief Overview
rainynovember12
 
PPS
Introduction To Mvc
Volkan Uzun
 
PPT
Asp.net mvc
Naga Harish M
 
PPT
MSDN - ASP.NET MVC
Maarten Balliauw
 
PDF
MVC Interview Questions PDF By ScholarHat
Scholarhat
 
PPTX
ASP .NET MVC
eldorina
 
PDF
Difference between asp.net web forms and asp.net mvc
Umar Ali
 
PDF
ASP.Net | Sabin Saleem
SaBin SaleEm
 
PPTX
Asp.netmvc handson
Prashant Kumar
 
PPTX
ASP.NET Presentation
Rasel Khan
 
PPTX
Asp.net Overview and Controllers
Mustafa Saeed
 
ODP
Mvc
abhigad
 
PPTX
Introduction to ASP.NET MVC
Khaled Musaied
 
PPTX
Head first asp.net mvc 2.0 rtt
Lanvige Jiang
 
PPTX
Mvc
Furqan Ashraf
 
PPT
MVC From Beginner to Advance in Indian Style by - Indiandotnet
Indiandotnet
 
PPTX
MVC 4
Vasilios Kuznos
 
Introduction to ASP.NET MVC 1.0
Shiju Varghese
 
Technoligent providing custom ASP.NET MVC development services
Aaron Jacobson
 
Which is better asp.net mvc vs asp.net
Concetto Labs
 
Mvc Brief Overview
rainynovember12
 
Introduction To Mvc
Volkan Uzun
 
Asp.net mvc
Naga Harish M
 
MSDN - ASP.NET MVC
Maarten Balliauw
 
MVC Interview Questions PDF By ScholarHat
Scholarhat
 
ASP .NET MVC
eldorina
 
Difference between asp.net web forms and asp.net mvc
Umar Ali
 
ASP.Net | Sabin Saleem
SaBin SaleEm
 
Asp.netmvc handson
Prashant Kumar
 
ASP.NET Presentation
Rasel Khan
 
Asp.net Overview and Controllers
Mustafa Saeed
 
Mvc
abhigad
 
Introduction to ASP.NET MVC
Khaled Musaied
 
Head first asp.net mvc 2.0 rtt
Lanvige Jiang
 
MVC From Beginner to Advance in Indian Style by - Indiandotnet
Indiandotnet
 
Ad

More from Nyros Technologies (20)

PPT
Web Designing Bugs - Fixes By Nyros Developer
Nyros Technologies
 
PPT
Capistrano Deployment By Nyros Developer
Nyros Technologies
 
PPT
Silver Light By Nyros Developer
Nyros Technologies
 
PPT
Web 2.0 Design Standards By Nyros Developer
Nyros Technologies
 
PPT
Web 2.0 By Nyros Developer
Nyros Technologies
 
PPT
Caching By Nyros Developer
Nyros Technologies
 
PPT
Language Integrated Query By Nyros Developer
Nyros Technologies
 
PPT
New Features in .Net Framework 4.0 By Nyros Developer
Nyros Technologies
 
PPT
Oops in PHP By Nyros Developer
Nyros Technologies
 
PPT
Connect with Facebook to Rails Application By Nyros Developer
Nyros Technologies
 
PPT
Github By Nyros Developer
Nyros Technologies
 
PPT
Research on Audio and Video Streaming
Nyros Technologies
 
PPT
User Interface
Nyros Technologies
 
PPT
Audio and Video Streaming
Nyros Technologies
 
PPT
Deploying Rails Apps with Capistrano
Nyros Technologies
 
PPT
Capistrano - Deployment Tool
Nyros Technologies
 
PPT
Social Networking
Nyros Technologies
 
PPT
Payment Gateway
Nyros Technologies
 
PPT
GIT By Sivakrishna
Nyros Technologies
 
Web Designing Bugs - Fixes By Nyros Developer
Nyros Technologies
 
Capistrano Deployment By Nyros Developer
Nyros Technologies
 
Silver Light By Nyros Developer
Nyros Technologies
 
Web 2.0 Design Standards By Nyros Developer
Nyros Technologies
 
Web 2.0 By Nyros Developer
Nyros Technologies
 
Caching By Nyros Developer
Nyros Technologies
 
Language Integrated Query By Nyros Developer
Nyros Technologies
 
New Features in .Net Framework 4.0 By Nyros Developer
Nyros Technologies
 
Oops in PHP By Nyros Developer
Nyros Technologies
 
Connect with Facebook to Rails Application By Nyros Developer
Nyros Technologies
 
Github By Nyros Developer
Nyros Technologies
 
Research on Audio and Video Streaming
Nyros Technologies
 
User Interface
Nyros Technologies
 
Audio and Video Streaming
Nyros Technologies
 
Deploying Rails Apps with Capistrano
Nyros Technologies
 
Capistrano - Deployment Tool
Nyros Technologies
 
Social Networking
Nyros Technologies
 
Payment Gateway
Nyros Technologies
 
GIT By Sivakrishna
Nyros Technologies
 

MVC Architecture in ASP.Net By Nyros Developer

  • 1.  
  • 2. Agenda What is ASP.NET MVC What is MVC MVC Flow Routing Using Ajax & Security Choosing Between MVC and Web forms Which one is better ? Summary
  • 3. What is ASP.NET MVC? A new Web Application Project type Simply an option Not a replacement for WebForms Builds on top ASP.NET Manual vs Automatic Transmission
  • 4. What is MVC? Model Controller View
  • 5. Separation Of Concerns Each component has one responsibility SRP : Single Responsibility Principle More easily testable Helps with concurrent development
  • 6. Not the new Web Forms 4.0 Not replacing Web Forms, but Adds to it It can not use Web Controls Not a whole new engine but sits on ASP.NET engine Not the best solution for REST What MVC is not ?
  • 7. Maintain Clean Separation of Concerns Extensible and Pluggable Enable clean URLs and HTML Great integration within ASP.NET Tooling Support
  • 9.  
  • 10.  
  • 11. URLs -> application -> Controller Action Construct outgoing URLs Constructed URLs can be used to call back to Controllers/Actions Routing Engine
  • 13. Ajax is not just “Update Panel”  You can use Page methods Web Services They all require you to write a lot of javascript MVC Ajax helps with Forms and ActionLinks !! Ajax Support
  • 14. Built in Controller for Logging Using ASP.NET Security Providers Having the ability to control the security level of each controller method Security Support
  • 15. Choosing Between WebForms and MVC Now that Asp.Net is much more mainstream at work, The question is asked time and again as to which one should be used while developing a Web Application. One possible way to answer this question is to do a analysis of both the frameworks.
  • 16.  
  • 17.  
  • 18. ASP.Net MVC VS Web Forms Uses the ‘Front Controller’ pattern. There is a single central controller for all pages to process web application requests and facilitates a rich routing architecture At its core, ASP.NET MVC was designed to make test-driven development easier. You ‘can’ test your Controller without instantiating a View and carry out unit-tests without having to run the controllers in an ASP.NET process. Uses the ‘Page Controller’ pattern. Each page has a code-behind class that acts as a controller and is responsible for rendering the layout. At its core, you ‘cannot’ test your controller without instantiating a View. There are ways to get around it using tools
  • 19. ASP.Net MVC VS Web Forms A thorough understanding of how HTML, CSS and JavaScript work together is required. The advantage is you can do a lot of jQuery and AJAX stuff in an efficient and simple manner than you would do in an ASP.NET application. You lose the 'drag and drop' quick model of building your web applications. Deep understanding of HTML, CSS and JavaScript is not required to a large extent since the WebForm model abstracts a lot of these details and provides automatic plumbing. While abstracting details to provide ease of use, sometimes a solution is overcomplicated, than it needs to be. Can drastically reduce time while building up intranet and internet applications that use a lot of controls (drag and drop model).
  • 20. WebForms ??????? MVC ?????? Which one is better ?
  • 21.  
  • 22. Summary Not a replacement for WebForms – All about alternatives Fundamental – Same team that builds WebForms
  • 23.  
  • 24.