SlideShare a Scribd company logo
ASP.NET MVC -
5
http://Sharma-
NareshIT.blogspot.com
Design Patterns
Design patterns are solutions to software
design problems you find again and again in
real-world application development. Patterns
are about reusable designs and interactions of
objects..
The 23 Gang of Four (GoF) patterns are
generally considered the foundation for all other
patterns. They are categorized in three groups:
 Creational,
 Structural, and
 Behavioral
Creational Patterns
Abstract
Factory
Creates an instance of several families of classes
Builder Separates object construction from its representation
Factory
Method
Creates an instance of several derived classes
Prototype A fully initialized instance to be copied or cloned
Singleton A class of which only a single instance can exist
Structural Patterns
Adapter Match interfaces of different classes
Bridge Separates an object’s interface from its implementation
Composite A tree structure of simple and composite objects
Decorator Add responsibilities to objects dynamically
Facade A single class that represents an entire subsystem
Flyweight A fine-grained instance used for efficient sharing
Proxy An object representing another object
Behavioral Patterns
Chain of
Resp.
A way of passing a request between a chain of objects
Command Encapsulate a command request as an object
Interpreter A way to include language elements in a program
Iterator Sequentially access the elements of a collection
Mediator Defines simplified communication between classes
Memento Capture and restore an object's internal state
Observer A way of notifying change to a number of classes
State Alter an object's behavior when its state changes
Strategy Encapsulates an algorithm inside a class
Template
Method
Defer the exact steps of an algorithm to a subclass
Visitor Defines a new operation to a class without change
The Model-View-Controller (MVC) architectural pattern separates an
application into three main components: the model, the view, and the
controller.
The ASP.NET MVC framework provides an alternative to the ASP.NET Web
Forms pattern for creating Web applications.
The MVC Pattern
8
 Model–view–controller (MVC) is a software
architecture pattern
 Originally formulated in the late 1970s by
Trygve Reenskaug as part of the Smalltalk
 Code reusability and separation of concerns
 Originally developed for
desktop, then adapted
for internet applications
Model
9
 Set of classes that describes the data we are
working with as well as the business
 Rules for how the data can be
changed and manipulated
 May contain data validation rules
 Often encapsulate data stored in a database as
well as code used to manipulate the data
 Most likely a Data Access Layer of some kind
 Apart from giving the data objects, it doesn't have
significance in the framework
View
10
 Defines how the application’s user interface
(UI) will be displayed
 May support master views (layouts) and sub-
views (partial views or controls)
 Web: Template to dynamically generate HTML
Controller
11
 The core MVC component
 Process the requests with the help of views and
models
 A set of classes that handles
Communication from the user
Overall application flow
Application-specific logic
 Every controller has one or more "Actions"
MVC Steps
12
 Incoming request routed to Controller
For web: HTTP request
 Controller processes request and creates
presentation Model
Controller also selects appropriate result
(view)
 Model is passed to View
 View transforms Model into appropriate output
format (HTML)
 Response is rendered (HTTP Response)
13
The MVC Pattern for Web
14
MVC Pattern in ASP.NET MVC
ASP.NET MVC Request
15
Request Flow
Request View Controller Model
HTTP
Select
ViewHTML
Routing
Select Controller
MVC Frameworks
17
 CakePHP (PHP)
 CodeIgniter (PHP)
 Spring (Java)
 Perl: Catalyst, Dancer
 Python: Django, Flask, Grok
 Ruby: Ruby on Rails, Camping, Nitro, Sinatra
 JavaScript: AngularJS, JavaScriptMVC, Spine
 ASP.NET MVC (.NET Framework)
ASP.NET Web Forms
 Stable and mature, supported by heaps of
third party controls and tools
 Event driven web development
 Postbacks
 Viewstate
 Less control over the HTML
 Hard to test
 Rapid development
ASP.NET MVC
 Runs on top of ASP.NET
Not a replacement for WebForms
Leverage the benefits of ASP.NET
 Embrace the web
User/SEO friendly URLs, HTML 5, SPA
Adopt REST concepts
 Uses MVC pattern
Conventions and Guidance
Separation of concerns
19
ASP.NET MVC (2)
 Tight control over markup
 Testable
 Loosely coupled and extensible
 Convention over configuration
 Razor view engine
One of the greatest view engines
With intellisense, integrated in Visual Studio
 Reuse of current skills (C#, LINQ, HTML, etc.)
 Application-based (not scripts like PHP)
20
Separation of Concerns
 Each component has one responsibility
SRP – Single Responsibility Principle
DRY – Don’t Repeat Yourself
 More easily testable
TDD – Test-driven development
 Helps with concurrent development
Performing tasks concurrently
 One developer works on views
 Another works on controllers
21
Extensible
 Replace any component of the system
Interface-based architecture
 Almost anything can be replaced or extended
Model binders (request data to CLR objects)
Action/result filters (e.g. OnActionExecuting)
Custom action result types
View engine (Razor, WebForms, NHaml, Spark)
View helpers (HTML, AJAX, URL, etc.)
Custom data providers (ADO.NET), etc.
22
Clean URLs
 REST-like
/products/update
/blog/posts/2013/01/28/mvc-is-cool
 Friendlier to humans
/product.aspx?catId=123 or post.php?id=123
Becomes /products/chocolate/
 Friendlier to web crawlers
Search engine optimization (SEO)
23
The ASP.NET MVC History
24
Date Version
10 December 2007 ASP.NET MVC
13 March 2009 ASP.NET MVC 1.0
16 December 2009 ASP.NET MVC 2 RC
4 February 2010 ASP.NET MVC 2 RC 2
10 March 2010 ASP.NET MVC 2
6 October 2010 ASP.NET MVC 3 Beta
9 November 2010 ASP.NET MVC 3 RC
10 December 2010 ASP.NET MVC 3 RC 2
13 January 2011 ASP.NET MVC 3
20 September 2011
ASP.NET MVC 4 Developer
Preview
15 February 2012 ASP.NET MVC 4 Beta
31 May 2012 ASP.NET MVC 4 RC
15 August 2012 ASP.NET MVC 4
30 May 2013 ASP.NET MVC 4 4.0.30506.0
26 June 2013 ASP.NET MVC 5 Preview
23 August 2013 ASP.NET MVC 5 RC 1
17 October 2013 ASP.NET MVC 5
17 January 2014 ASP.NET MVC 5.1
10 February 2014 ASP.NET MVC 5.1.1
4 April 2014 ASP.NET MVC 5.1.2
22 June 2014 ASP.NET MVC 5.1.3
The Technologies
 Technologies that ASP.NET MVC uses
C# (OOP, Unit Testing, async, etc.)
HTML(5) and CSS
JavaScript (jQuery, KendoUI, etc.)
AJAX, Single-page apps
Databases (MS SQL)
ORM (Entity Framework and LINQ)
Web and HTTP
26
The Tools
 Tools that we need:
IDE: Visual Studio 2012 (Express for Web)
 JustCode and Web Essentals
Framework: .NET Framework 4.5
Web server: IIS 8 (Express)
Data: Microsoft SQL Sever (Express or LocalDB)
 Web Platform Installer 4.0 will install
everything we need for us
microsoft.com/web/downloads/platform.aspx
Install Visual Studio Express 2012 for Web
NuGet package management
 Free, open source package management
 Makes it easy to install and update open
source libraries and tools
 Part of Visual Studio 2012
 Configurable package sources
 Simple as adding a reference
 GUI-based package installer
 Package manager console
28

More Related Content

What's hot (20)

PPSX
ASP.NET Web form
Md. Mahedee Hasan
 
PDF
Cours design pattern m youssfi partie 7 facade bridge flyweight
ENSET, Université Hassan II Casablanca
 
PPT
Introduction to the Web API
Brad Genereaux
 
PPT
Oauth2.0
Yasmine Gaber
 
PPTX
Introduction aux web services
mohammed addoumi
 
PPTX
Introduction à Angular
Jean-Baptiste Vigneron
 
PDF
C# ASP.NET WEB API APPLICATION DEVELOPMENT
Dr. Awase Khirni Syed
 
PPTX
Web application framework
Pankaj Chand
 
PPTX
ASP.NET Core MVC + Web API with Overview
Shahed Chowdhuri
 
PDF
Cours design pattern m youssfi partie 6 proxy
ENSET, Université Hassan II Casablanca
 
PPTX
Introduction to mvc architecture
ravindraquicsolv
 
PPTX
Servlets et JSP
Heithem Abbes
 
PDF
Headless CMS
Erik Van de Water
 
PPTX
Rest presentation
srividhyau
 
PPTX
.Net Core
Bertrand Le Roy
 
PPTX
Dot net platform and dotnet core fundamentals
Lalit Kale
 
PPTX
Api gateway in microservices
Kunal Hire
 
PDF
Tp1 - WS avec JAXWS
Lilia Sfaxi
 
PPTX
REST-API introduction for developers
Patrick Savalle
 
PPTX
An overview of object oriented systems development
Adri Jovin
 
ASP.NET Web form
Md. Mahedee Hasan
 
Cours design pattern m youssfi partie 7 facade bridge flyweight
ENSET, Université Hassan II Casablanca
 
Introduction to the Web API
Brad Genereaux
 
Oauth2.0
Yasmine Gaber
 
Introduction aux web services
mohammed addoumi
 
Introduction à Angular
Jean-Baptiste Vigneron
 
C# ASP.NET WEB API APPLICATION DEVELOPMENT
Dr. Awase Khirni Syed
 
Web application framework
Pankaj Chand
 
ASP.NET Core MVC + Web API with Overview
Shahed Chowdhuri
 
Cours design pattern m youssfi partie 6 proxy
ENSET, Université Hassan II Casablanca
 
Introduction to mvc architecture
ravindraquicsolv
 
Servlets et JSP
Heithem Abbes
 
Headless CMS
Erik Van de Water
 
Rest presentation
srividhyau
 
.Net Core
Bertrand Le Roy
 
Dot net platform and dotnet core fundamentals
Lalit Kale
 
Api gateway in microservices
Kunal Hire
 
Tp1 - WS avec JAXWS
Lilia Sfaxi
 
REST-API introduction for developers
Patrick Savalle
 
An overview of object oriented systems development
Adri Jovin
 

Viewers also liked (20)

PPTX
Dotnet Basics Presentation
Sudhakar Sharma
 
PPTX
MVC 6 Introduction
Sudhakar Sharma
 
DOC
Top 9 c#.net interview questions answers
Jobinterviews
 
PPTX
ASP.NET Brief History
Sudhakar Sharma
 
PPTX
Learning ASP.NET 5 and MVC 6
Ido Flatow
 
PPTX
Introduction to ASP.NET MVC
Khaled Musaied
 
PPTX
Building Next Generation Web Apps and Services using ASP.NET 5
Shravan Kumar Kasagoni
 
PPT
Intro to asp.net
Information Technology
 
PDF
Angular-ifying Your Visualforce Pages
Salesforce Developers
 
PPTX
Visualforce css developer guide(by forcetree.com)
Edwin Vijay R
 
DOCX
Interview questions
mallareddy0107
 
PPTX
C#.net
vnboghani
 
PDF
Salesforce course-training-material
sfdc232
 
PPTX
Angular JS
John Temoty Roca
 
PPTX
Introduction to SignalR
Adam Mokan
 
PPTX
Asp.Net MVC Intro
Stefano Paluello
 
PDF
Advanced Tips & Tricks for using Angular JS
Simon Guest
 
PPTX
Getting Started with Angular JS
Akshay Mathur
 
PPTX
ASP.NET Web API
habib_786
 
PPT
How to implement camera recording for USB webcam or IP camera in C#.NET
Ozeki Informatics Ltd.
 
Dotnet Basics Presentation
Sudhakar Sharma
 
MVC 6 Introduction
Sudhakar Sharma
 
Top 9 c#.net interview questions answers
Jobinterviews
 
ASP.NET Brief History
Sudhakar Sharma
 
Learning ASP.NET 5 and MVC 6
Ido Flatow
 
Introduction to ASP.NET MVC
Khaled Musaied
 
Building Next Generation Web Apps and Services using ASP.NET 5
Shravan Kumar Kasagoni
 
Intro to asp.net
Information Technology
 
Angular-ifying Your Visualforce Pages
Salesforce Developers
 
Visualforce css developer guide(by forcetree.com)
Edwin Vijay R
 
Interview questions
mallareddy0107
 
C#.net
vnboghani
 
Salesforce course-training-material
sfdc232
 
Angular JS
John Temoty Roca
 
Introduction to SignalR
Adam Mokan
 
Asp.Net MVC Intro
Stefano Paluello
 
Advanced Tips & Tricks for using Angular JS
Simon Guest
 
Getting Started with Angular JS
Akshay Mathur
 
ASP.NET Web API
habib_786
 
How to implement camera recording for USB webcam or IP camera in C#.NET
Ozeki Informatics Ltd.
 
Ad

Similar to MVC - Introduction (20)

PPTX
Asp.net c# MVC-5 Training-Day-1 of Day-9
AHM Pervej Kabir
 
PPTX
Asp.netmvc handson
Prashant Kumar
 
PPT
TDD with ASP.NET MVC 1.0
Shiju Varghese
 
PPTX
ASP.NET MVC Fundamental
ldcphuc
 
PPT
Introduction to ASP.NET MVC 1.0
Shiju Varghese
 
PPTX
Asp.net mvc 5 course module 1 overview
Sergey Seletsky
 
ODP
Mvc
abhigad
 
PPTX
Technoligent providing custom ASP.NET MVC development services
Aaron Jacobson
 
PPTX
Programming is Fun with ASP.NET MVC
Ian Carnaghan
 
PPS
Introduction To Mvc
Volkan Uzun
 
PPTX
MVC 4
Vasilios Kuznos
 
PPT
Asp.net mvc
Taranjeet Singh
 
PPT
ASP.NET MVC - In the Wild
Brian Boatright
 
PPTX
Presentation Thesis
Naim Latifi
 
PPTX
Asp net mvc series for beginers part 1
Gaurav Arora
 
PPTX
ASPNet MVC series for beginers part 1
Gaurav Arora
 
PPTX
Head first asp.net mvc 2.0 rtt
Lanvige Jiang
 
PPTX
SoftServe - "ASP.NET MVC як наступний крок у розвитку технології розробки Web...
SoftServe
 
PPTX
ASP.NET Presentation
Rasel Khan
 
PPTX
Session 1
Asif Atick
 
Asp.net c# MVC-5 Training-Day-1 of Day-9
AHM Pervej Kabir
 
Asp.netmvc handson
Prashant Kumar
 
TDD with ASP.NET MVC 1.0
Shiju Varghese
 
ASP.NET MVC Fundamental
ldcphuc
 
Introduction to ASP.NET MVC 1.0
Shiju Varghese
 
Asp.net mvc 5 course module 1 overview
Sergey Seletsky
 
Mvc
abhigad
 
Technoligent providing custom ASP.NET MVC development services
Aaron Jacobson
 
Programming is Fun with ASP.NET MVC
Ian Carnaghan
 
Introduction To Mvc
Volkan Uzun
 
Asp.net mvc
Taranjeet Singh
 
ASP.NET MVC - In the Wild
Brian Boatright
 
Presentation Thesis
Naim Latifi
 
Asp net mvc series for beginers part 1
Gaurav Arora
 
ASPNet MVC series for beginers part 1
Gaurav Arora
 
Head first asp.net mvc 2.0 rtt
Lanvige Jiang
 
SoftServe - "ASP.NET MVC як наступний крок у розвитку технології розробки Web...
SoftServe
 
ASP.NET Presentation
Rasel Khan
 
Session 1
Asif Atick
 
Ad

Recently uploaded (20)

PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 

MVC - Introduction

  • 2. Design Patterns Design patterns are solutions to software design problems you find again and again in real-world application development. Patterns are about reusable designs and interactions of objects..
  • 3. The 23 Gang of Four (GoF) patterns are generally considered the foundation for all other patterns. They are categorized in three groups:  Creational,  Structural, and  Behavioral
  • 4. Creational Patterns Abstract Factory Creates an instance of several families of classes Builder Separates object construction from its representation Factory Method Creates an instance of several derived classes Prototype A fully initialized instance to be copied or cloned Singleton A class of which only a single instance can exist
  • 5. Structural Patterns Adapter Match interfaces of different classes Bridge Separates an object’s interface from its implementation Composite A tree structure of simple and composite objects Decorator Add responsibilities to objects dynamically Facade A single class that represents an entire subsystem Flyweight A fine-grained instance used for efficient sharing Proxy An object representing another object
  • 6. Behavioral Patterns Chain of Resp. A way of passing a request between a chain of objects Command Encapsulate a command request as an object Interpreter A way to include language elements in a program Iterator Sequentially access the elements of a collection Mediator Defines simplified communication between classes Memento Capture and restore an object's internal state Observer A way of notifying change to a number of classes State Alter an object's behavior when its state changes Strategy Encapsulates an algorithm inside a class Template Method Defer the exact steps of an algorithm to a subclass Visitor Defines a new operation to a class without change
  • 7. The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications.
  • 8. The MVC Pattern 8  Model–view–controller (MVC) is a software architecture pattern  Originally formulated in the late 1970s by Trygve Reenskaug as part of the Smalltalk  Code reusability and separation of concerns  Originally developed for desktop, then adapted for internet applications
  • 9. Model 9  Set of classes that describes the data we are working with as well as the business  Rules for how the data can be changed and manipulated  May contain data validation rules  Often encapsulate data stored in a database as well as code used to manipulate the data  Most likely a Data Access Layer of some kind  Apart from giving the data objects, it doesn't have significance in the framework
  • 10. View 10  Defines how the application’s user interface (UI) will be displayed  May support master views (layouts) and sub- views (partial views or controls)  Web: Template to dynamically generate HTML
  • 11. Controller 11  The core MVC component  Process the requests with the help of views and models  A set of classes that handles Communication from the user Overall application flow Application-specific logic  Every controller has one or more "Actions"
  • 12. MVC Steps 12  Incoming request routed to Controller For web: HTTP request  Controller processes request and creates presentation Model Controller also selects appropriate result (view)  Model is passed to View  View transforms Model into appropriate output format (HTML)  Response is rendered (HTTP Response)
  • 14. 14 MVC Pattern in ASP.NET MVC
  • 16. Request Flow Request View Controller Model HTTP Select ViewHTML Routing Select Controller
  • 17. MVC Frameworks 17  CakePHP (PHP)  CodeIgniter (PHP)  Spring (Java)  Perl: Catalyst, Dancer  Python: Django, Flask, Grok  Ruby: Ruby on Rails, Camping, Nitro, Sinatra  JavaScript: AngularJS, JavaScriptMVC, Spine  ASP.NET MVC (.NET Framework)
  • 18. ASP.NET Web Forms  Stable and mature, supported by heaps of third party controls and tools  Event driven web development  Postbacks  Viewstate  Less control over the HTML  Hard to test  Rapid development
  • 19. ASP.NET MVC  Runs on top of ASP.NET Not a replacement for WebForms Leverage the benefits of ASP.NET  Embrace the web User/SEO friendly URLs, HTML 5, SPA Adopt REST concepts  Uses MVC pattern Conventions and Guidance Separation of concerns 19
  • 20. ASP.NET MVC (2)  Tight control over markup  Testable  Loosely coupled and extensible  Convention over configuration  Razor view engine One of the greatest view engines With intellisense, integrated in Visual Studio  Reuse of current skills (C#, LINQ, HTML, etc.)  Application-based (not scripts like PHP) 20
  • 21. Separation of Concerns  Each component has one responsibility SRP – Single Responsibility Principle DRY – Don’t Repeat Yourself  More easily testable TDD – Test-driven development  Helps with concurrent development Performing tasks concurrently  One developer works on views  Another works on controllers 21
  • 22. Extensible  Replace any component of the system Interface-based architecture  Almost anything can be replaced or extended Model binders (request data to CLR objects) Action/result filters (e.g. OnActionExecuting) Custom action result types View engine (Razor, WebForms, NHaml, Spark) View helpers (HTML, AJAX, URL, etc.) Custom data providers (ADO.NET), etc. 22
  • 23. Clean URLs  REST-like /products/update /blog/posts/2013/01/28/mvc-is-cool  Friendlier to humans /product.aspx?catId=123 or post.php?id=123 Becomes /products/chocolate/  Friendlier to web crawlers Search engine optimization (SEO) 23
  • 24. The ASP.NET MVC History 24
  • 25. Date Version 10 December 2007 ASP.NET MVC 13 March 2009 ASP.NET MVC 1.0 16 December 2009 ASP.NET MVC 2 RC 4 February 2010 ASP.NET MVC 2 RC 2 10 March 2010 ASP.NET MVC 2 6 October 2010 ASP.NET MVC 3 Beta 9 November 2010 ASP.NET MVC 3 RC 10 December 2010 ASP.NET MVC 3 RC 2 13 January 2011 ASP.NET MVC 3 20 September 2011 ASP.NET MVC 4 Developer Preview 15 February 2012 ASP.NET MVC 4 Beta 31 May 2012 ASP.NET MVC 4 RC 15 August 2012 ASP.NET MVC 4 30 May 2013 ASP.NET MVC 4 4.0.30506.0 26 June 2013 ASP.NET MVC 5 Preview 23 August 2013 ASP.NET MVC 5 RC 1 17 October 2013 ASP.NET MVC 5 17 January 2014 ASP.NET MVC 5.1 10 February 2014 ASP.NET MVC 5.1.1 4 April 2014 ASP.NET MVC 5.1.2 22 June 2014 ASP.NET MVC 5.1.3
  • 26. The Technologies  Technologies that ASP.NET MVC uses C# (OOP, Unit Testing, async, etc.) HTML(5) and CSS JavaScript (jQuery, KendoUI, etc.) AJAX, Single-page apps Databases (MS SQL) ORM (Entity Framework and LINQ) Web and HTTP 26
  • 27. The Tools  Tools that we need: IDE: Visual Studio 2012 (Express for Web)  JustCode and Web Essentals Framework: .NET Framework 4.5 Web server: IIS 8 (Express) Data: Microsoft SQL Sever (Express or LocalDB)  Web Platform Installer 4.0 will install everything we need for us microsoft.com/web/downloads/platform.aspx Install Visual Studio Express 2012 for Web
  • 28. NuGet package management  Free, open source package management  Makes it easy to install and update open source libraries and tools  Part of Visual Studio 2012  Configurable package sources  Simple as adding a reference  GUI-based package installer  Package manager console 28