SlideShare a Scribd company logo
Web Development
               using
Visual Studio 2012 & ASP.NET MVC




     Adil Ahmed Mughal
Speaker => Adil Ahmed Mughal
Affiliations:




Contact Information:
       adil.mughal@live.com

       @adilamughal

       http://www.adilmughal.com
What to Expect Today?
• What you must already know?
  – Object Oriented Programming Language such as Java, C++, C#
  – Previous hands on .NET and Visual Studio
  – Basic familiarity with web development (HTML, CSS, JavaScript)


• What you will learn?
  – Understanding of how web works under the hood
  – A glance look at Model-View-Controller
  – Demonstration of sample build using ASP.NET MVC & Visual Studio
    2012
Agenda
1. Web Fundamentals
  – HTTP Transactions
  – Static & Dynamic Web Pages
  – Role Web Server - IIS


2. Beginning ASP.NET MVC
  –   Overview of MVC
  –   MVC Request Lifecycle
  –   Exploring Model, View, Controller (File -> New Project)
  –   Demo sample
Web Fundamentals
HTTP Transactions
   The browser generates a HTTP
            Request e.g.
  GET http://www.adilmughal.com



  HTTP Request



             HTTP Response


           The server process the request and
                sends the HTTP Response
              containing HTML/JS/CSS for
                   browser to render
HTTP Transactions



              HTTP Request



                         HTTP Response




HTTP Transactions = HTTP Request + HTTP Response
HTTP Request
• Commonly used HTTP Verbs
  GET              Retrieve
  POST             Update
  PUT              Create
  DELETE           Deletes a specified resource

  GET http://www.adilmughal.com HTTP/1.1
  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, ... , */*
  Accept-Language: en-us
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; ... .NET CLR
  3.0.04506.30)
  Host: localhost:80
  Connection: Keep-Alive
HTTP Response
• Sample Response
Static vs. Dynamic Pages

          Static Pages                    Dynamic Pages

• Unchanging Content               • Dynamic content
• Pre-written HTML defines web     • Utilizes server side languages
  pages                              such as PHP, ASP.NET, JSP etc.
• Send exactly the same response   • May generate different HTML
  to every request                   for each request
Role of Web Server
• Role of Web Server
  – A piece of software that run on a physical or virtual
    machine, which designed to serve web content over
    the internet

  – Typically it monitors port 80 for incoming HTTP
    Requests

  – On the Microsoft platform, IIS is the watchdog
    intercepting HTTP requests
Uniform Resource Locators



 http://www.adilmughal.com/search?label=Visual%20Studio
URL Scheme     Host          Path        Query String
Intro to ASP.NET MVC
Pre-Requisite
• Microsoft Web Platform Installer is one stop shop to get
  complete ecosystem of web tools to get started
   – Server, Frameworks, Database, Tools etc.
   – Get the installer from http://www.microsoft.com/web/platform/


• Once you install Web Platform Installer, download the
  following to get started
   – Visual Studio 2012 Web Express (includes ASP.NET MVC 4)
   – Windows Azure SDK (optional, required for deployment on Azure)
Pre-Requisite: Web Platform Installer
ASP.NET MVC
• Web application development framework by
  Microsoft to easily create dynamic websites

• Built on top of CLR allowing programmer to write
  ASP.NET code using any .NET Languages (such as
  C#, VB.NET etc.)

• ASP.NET supports various development models:
  – Web Pages, MVC (Model View Controller), and Web
    Forms.
Overview of MVC
Life Cycle of MVC Request
Browser             URL Routing         Controller             Model     View




           HTTP
          Request
                                  new




                                                     Invoke
                            Invoke action            method


                                                 Lookup view




                                                     Render (viewData)


           HTML
Controllers
• Routes & Controllers
• Action
Model
• Model Binding
• Validation
Views
•   Razor Syntax
•   Html Helpers
•   Layout
•   Partial Views
DEMO
Q&A
Web Development               Adil Ahmed Mughal

           using                 adil.mughal@live.com


 Visual Studio 2012 &            @adilamughal


     ASP.NET MVC                 http://www.adilmughal.com




Thank YOU for your time and
        attention!

More Related Content

What's hot (20)

Android MVVM
Android MVVM
David Estivariz Pierola
 
AngularJS – What, Why, Advantages and Disadvantages
AngularJS – What, Why, Advantages and Disadvantages
WeblineIndia
 
MVVM presentation
MVVM presentation
Inova LLC
 
AngularJS – What, Why, Advantages and Disadvantages
AngularJS – What, Why, Advantages and Disadvantages
karenmsmith0504
 
Creating MVC Application with backbone js
Creating MVC Application with backbone js
Mindfire Solutions
 
Introduction To Asp.Net Mvc
Introduction To Asp.Net Mvc
Rishu Mehra
 
AngularJS Basics - Knowledge Sharing
AngularJS Basics - Knowledge Sharing
Branko Djurkovic
 
How do you get your idea into the app store?
How do you get your idea into the app store?
Gabe Kwakyi
 
Slideshow 4
Slideshow 4
AshishApponix
 
suma cv
suma cv
Suma ;)
 
Introduction to asp.net mvc
Introduction to asp.net mvc
Lohith Goudagere Nagaraj
 
Resume-Amar.compressed
Resume-Amar.compressed
Amarjeet Kumar
 
Introduction To Model View Presenter
Introduction To Model View Presenter
saeed shargi ghazani
 
Angularjs on line training
Angularjs on line training
Jahan Murugassan
 
Angular js for web development
Angular js for web development
Mindfire LLC
 
Angular js training institute
Angular js training institute
nihalsingh113
 
Backbone.js – an introduction
Backbone.js – an introduction
bobbyroe
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnet
rainynovember12
 
Slideshow 3
Slideshow 3
AshishApponix
 
bala_CV _Developer_2.3_years
bala_CV _Developer_2.3_years
Bala Subramanin
 
AngularJS – What, Why, Advantages and Disadvantages
AngularJS – What, Why, Advantages and Disadvantages
WeblineIndia
 
MVVM presentation
MVVM presentation
Inova LLC
 
AngularJS – What, Why, Advantages and Disadvantages
AngularJS – What, Why, Advantages and Disadvantages
karenmsmith0504
 
Creating MVC Application with backbone js
Creating MVC Application with backbone js
Mindfire Solutions
 
Introduction To Asp.Net Mvc
Introduction To Asp.Net Mvc
Rishu Mehra
 
AngularJS Basics - Knowledge Sharing
AngularJS Basics - Knowledge Sharing
Branko Djurkovic
 
How do you get your idea into the app store?
How do you get your idea into the app store?
Gabe Kwakyi
 
Resume-Amar.compressed
Resume-Amar.compressed
Amarjeet Kumar
 
Introduction To Model View Presenter
Introduction To Model View Presenter
saeed shargi ghazani
 
Angularjs on line training
Angularjs on line training
Jahan Murugassan
 
Angular js for web development
Angular js for web development
Mindfire LLC
 
Angular js training institute
Angular js training institute
nihalsingh113
 
Backbone.js – an introduction
Backbone.js – an introduction
bobbyroe
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnet
rainynovember12
 
bala_CV _Developer_2.3_years
bala_CV _Developer_2.3_years
Bala Subramanin
 

Viewers also liked (20)

Quality Assurance in SDLC
Quality Assurance in SDLC
Adil Mughal
 
Quality Assurance and Software Testing
Quality Assurance and Software Testing
pingkapil
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)
Angelin R
 
Test Life Cycle
Test Life Cycle
Nilesh Patange
 
Quality Assurance Vs Quality Control
Quality Assurance Vs Quality Control
Yogita patil
 
Quality control and quality assurance
Quality control and quality assurance
Leola Ramirez
 
Introduction To Software Quality Assurance
Introduction To Software Quality Assurance
ruth_reategui
 
Top six quality assurance for website developers
Top six quality assurance for website developers
innovinstechnologies
 
Quality Assurance in Web Applications
Quality Assurance in Web Applications
Isuri Navarathna
 
What's New in Visual Studio 2010
What's New in Visual Studio 2010
Adil Mughal
 
Windows 7 For Geeks
Windows 7 For Geeks
Adil Mughal
 
Community Contribution Experience
Community Contribution Experience
Adil Mughal
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp Net
Adil Mughal
 
Business Analyst Documentation
Business Analyst Documentation
Yaswanth Babu Gummadivelli
 
Android Wear CodeLab - GDG Firenze
Android Wear CodeLab - GDG Firenze
Fabio Collini
 
Testable Android Apps DroidCon Italy 2015
Testable Android Apps DroidCon Italy 2015
Fabio Collini
 
QACampus PPT (STLC)
QACampus PPT (STLC)
QACampus Noida
 
Quality Assurance & Quality Control
Quality Assurance & Quality Control
Pintu Badatiya
 
Testable Android Apps using data binding and MVVM
Testable Android Apps using data binding and MVVM
Fabio Collini
 
The Business Analyst And The Sdlc
The Business Analyst And The Sdlc
Craig Brown
 
Quality Assurance in SDLC
Quality Assurance in SDLC
Adil Mughal
 
Quality Assurance and Software Testing
Quality Assurance and Software Testing
pingkapil
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)
Angelin R
 
Quality Assurance Vs Quality Control
Quality Assurance Vs Quality Control
Yogita patil
 
Quality control and quality assurance
Quality control and quality assurance
Leola Ramirez
 
Introduction To Software Quality Assurance
Introduction To Software Quality Assurance
ruth_reategui
 
Top six quality assurance for website developers
Top six quality assurance for website developers
innovinstechnologies
 
Quality Assurance in Web Applications
Quality Assurance in Web Applications
Isuri Navarathna
 
What's New in Visual Studio 2010
What's New in Visual Studio 2010
Adil Mughal
 
Windows 7 For Geeks
Windows 7 For Geeks
Adil Mughal
 
Community Contribution Experience
Community Contribution Experience
Adil Mughal
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp Net
Adil Mughal
 
Android Wear CodeLab - GDG Firenze
Android Wear CodeLab - GDG Firenze
Fabio Collini
 
Testable Android Apps DroidCon Italy 2015
Testable Android Apps DroidCon Italy 2015
Fabio Collini
 
Quality Assurance & Quality Control
Quality Assurance & Quality Control
Pintu Badatiya
 
Testable Android Apps using data binding and MVVM
Testable Android Apps using data binding and MVVM
Fabio Collini
 
The Business Analyst And The Sdlc
The Business Analyst And The Sdlc
Craig Brown
 
Ad

Similar to Web Development using ASP.NET MVC at HEC (20)

Web development using ASP.NET MVC
Web development using ASP.NET MVC
Adil Mughal
 
C# Advanced L09-HTML5+ASP
C# Advanced L09-HTML5+ASP
Mohammad Shaker
 
Asp.Net MVC3 - Basics
Asp.Net MVC3 - Basics
Saravanan Subburayal
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Gabriel Villa
 
Intro to .NET for Government Developers
Intro to .NET for Government Developers
Frank La Vigne
 
ASP.NET MVC as the next step in web development
ASP.NET MVC as the next step in web development
Volodymyr Voytyshyn
 
Java Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.Catagorized
roialdaag
 
Aspnet mvc
Aspnet mvc
Hiep Luong
 
MVC 4
MVC 4
Vasilios Kuznos
 
Asp.Net Mvc
Asp.Net Mvc
micham
 
ASP.NET MVC - Whats The Big Deal
ASP.NET MVC - Whats The Big Deal
Venketash (Pat) Ramadass
 
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
Hatem Hamad
 
Hanselman lipton asp_connections_ams304_mvc
Hanselman lipton asp_connections_ams304_mvc
denemedeniz
 
Asp.net With mvc handson
Asp.net With mvc handson
Prashant Kumar
 
MVC 6 Introduction
MVC 6 Introduction
Sudhakar Sharma
 
Three Other Web Frameworks. All .NET. All OSS. One Hour. Go
Three Other Web Frameworks. All .NET. All OSS. One Hour. Go
Christian Horsdal
 
Introduction to the World Wide Web
Introduction to the World Wide Web
Abdalla Mahmoud
 
ASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
barbuhalahdl
 
Asp.net mvc
Asp.net mvc
Anurag Gupta
 
Web development using ASP.NET MVC
Web development using ASP.NET MVC
Adil Mughal
 
C# Advanced L09-HTML5+ASP
C# Advanced L09-HTML5+ASP
Mohammad Shaker
 
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Gabriel Villa
 
Intro to .NET for Government Developers
Intro to .NET for Government Developers
Frank La Vigne
 
ASP.NET MVC as the next step in web development
ASP.NET MVC as the next step in web development
Volodymyr Voytyshyn
 
Java Edge.2008.Web.Frameworks.Catagorized
Java Edge.2008.Web.Frameworks.Catagorized
roialdaag
 
Asp.Net Mvc
Asp.Net Mvc
micham
 
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
Hatem Hamad
 
Hanselman lipton asp_connections_ams304_mvc
Hanselman lipton asp_connections_ams304_mvc
denemedeniz
 
Asp.net With mvc handson
Asp.net With mvc handson
Prashant Kumar
 
Three Other Web Frameworks. All .NET. All OSS. One Hour. Go
Three Other Web Frameworks. All .NET. All OSS. One Hour. Go
Christian Horsdal
 
Introduction to the World Wide Web
Introduction to the World Wide Web
Abdalla Mahmoud
 
ASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
barbuhalahdl
 
Ad

Recently uploaded (20)

Edge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdf
AmirStern2
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
Oracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization Program
VICTOR MAESTRE RAMIREZ
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
Edge AI and Vision Alliance
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Safe Software
 
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
angelo60207
 
Oracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI Professional
VICTOR MAESTRE RAMIREZ
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 
Edge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdf
AmirStern2
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Integration of Utility Data into 3D BIM Models Using a 3D Solids Modeling Wor...
Safe Software
 
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Agentic AI: Beyond the Buzz- LangGraph Studio V2
Shashikant Jagtap
 
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
 
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Seminar: Authentication for a Billion Consumers - Amazon.pptx
FIDO Alliance
 
Oracle Cloud and AI Specialization Program
Oracle Cloud and AI Specialization Program
VICTOR MAESTRE RAMIREZ
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
“Addressing Evolving AI Model Challenges Through Memory and Storage,” a Prese...
Edge AI and Vision Alliance
 
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Seminar: Perspectives on Passkeys & Consumer Adoption.pptx
FIDO Alliance
 
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
“Why It’s Critical to Have an Integrated Development Methodology for Edge AI,...
Edge AI and Vision Alliance
 
Your startup on AWS - How to architect and maintain a Lean and Mean account
Your startup on AWS - How to architect and maintain a Lean and Mean account
angelo60207
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Floods in Valencia: Two FME-Powered Stories of Data Resilience
Safe Software
 
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
Your startup on AWS - How to architect and maintain a Lean and Mean account J...
angelo60207
 
Oracle Cloud Infrastructure Generative AI Professional
Oracle Cloud Infrastructure Generative AI Professional
VICTOR MAESTRE RAMIREZ
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
Oracle Cloud Infrastructure AI Foundations
Oracle Cloud Infrastructure AI Foundations
VICTOR MAESTRE RAMIREZ
 

Web Development using ASP.NET MVC at HEC

  • 1. Web Development using Visual Studio 2012 & ASP.NET MVC Adil Ahmed Mughal
  • 2. Speaker => Adil Ahmed Mughal Affiliations: Contact Information: [email protected] @adilamughal http://www.adilmughal.com
  • 3. What to Expect Today? • What you must already know? – Object Oriented Programming Language such as Java, C++, C# – Previous hands on .NET and Visual Studio – Basic familiarity with web development (HTML, CSS, JavaScript) • What you will learn? – Understanding of how web works under the hood – A glance look at Model-View-Controller – Demonstration of sample build using ASP.NET MVC & Visual Studio 2012
  • 4. Agenda 1. Web Fundamentals – HTTP Transactions – Static & Dynamic Web Pages – Role Web Server - IIS 2. Beginning ASP.NET MVC – Overview of MVC – MVC Request Lifecycle – Exploring Model, View, Controller (File -> New Project) – Demo sample
  • 6. HTTP Transactions The browser generates a HTTP Request e.g. GET http://www.adilmughal.com HTTP Request HTTP Response The server process the request and sends the HTTP Response containing HTML/JS/CSS for browser to render
  • 7. HTTP Transactions HTTP Request HTTP Response HTTP Transactions = HTTP Request + HTTP Response
  • 8. HTTP Request • Commonly used HTTP Verbs GET Retrieve POST Update PUT Create DELETE Deletes a specified resource GET http://www.adilmughal.com HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, ... , */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; ... .NET CLR 3.0.04506.30) Host: localhost:80 Connection: Keep-Alive
  • 10. Static vs. Dynamic Pages Static Pages Dynamic Pages • Unchanging Content • Dynamic content • Pre-written HTML defines web • Utilizes server side languages pages such as PHP, ASP.NET, JSP etc. • Send exactly the same response • May generate different HTML to every request for each request
  • 11. Role of Web Server • Role of Web Server – A piece of software that run on a physical or virtual machine, which designed to serve web content over the internet – Typically it monitors port 80 for incoming HTTP Requests – On the Microsoft platform, IIS is the watchdog intercepting HTTP requests
  • 12. Uniform Resource Locators http://www.adilmughal.com/search?label=Visual%20Studio URL Scheme Host Path Query String
  • 14. Pre-Requisite • Microsoft Web Platform Installer is one stop shop to get complete ecosystem of web tools to get started – Server, Frameworks, Database, Tools etc. – Get the installer from http://www.microsoft.com/web/platform/ • Once you install Web Platform Installer, download the following to get started – Visual Studio 2012 Web Express (includes ASP.NET MVC 4) – Windows Azure SDK (optional, required for deployment on Azure)
  • 16. ASP.NET MVC • Web application development framework by Microsoft to easily create dynamic websites • Built on top of CLR allowing programmer to write ASP.NET code using any .NET Languages (such as C#, VB.NET etc.) • ASP.NET supports various development models: – Web Pages, MVC (Model View Controller), and Web Forms.
  • 18. Life Cycle of MVC Request Browser URL Routing Controller Model View HTTP Request new Invoke Invoke action method Lookup view Render (viewData) HTML
  • 19. Controllers • Routes & Controllers • Action
  • 21. Views • Razor Syntax • Html Helpers • Layout • Partial Views
  • 22. DEMO
  • 23. Q&A
  • 24. Web Development Adil Ahmed Mughal using [email protected] Visual Studio 2012 & @adilamughal ASP.NET MVC http://www.adilmughal.com Thank YOU for your time and attention!