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#
  – 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
• Web Fundamentals
  – HTTP Transactions
  – Static & Dynamic Web Pages
  – Role Web Server

• Beginning ASP.NET MVC
  –   Overview of MVC
  –   Exploring MVC (File -> New Project)
  –   ASP.NET Intrinsic objects
  –   Demo Site
HTTP Transactions
• HTTP Request & Response
  – The communication mechanism by which Web
    browsers talk to Web sites
  – As a connection protocol, HTTP is built around
    several basic commands
  – GET, HEAD, POST
  – HTTP is Stateless Protocol
HTTP GET
              http://www.abc.com



Web Browser                          Web Site
  (Client)
                                     (Server)
              Response be rendered
               HTML to
               by browser
HTTP Transactions
• Sample GET Request

  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 Transactions
• Sample Response
Static vs. Dynamic Pages
• Static Pages
   – The earliest web sites were built primarily using static HTML pages.
   – HTML eventually evolved to be capable of much more

• Dynamic Web Pages
   – The user can make requests (often through a form) for data contained
     in a database on the server that will be assembled on the fly

• What's the difference?
   – Static pages are those that send exactly the same response to every
     request
   – Dynamic pages can customize the response on the server to offer
     personalization based on cookies and information it can get from the
     visitor.
Role of Web Server
• Role of Web Server
  – A program on server that monitors port 80 for
    incoming HTTP Requests

  – On the Microsoft platform, IIS is the watchdog
    intercepting HTTP requests from port 80—the
    normal inbound port for HTTP requests
HTTP GET
              http://www.abc.com       IIS
                                      (Web
                                     Server)
Web Browser
  (Client)

              Response be rendered
               HTML to                Web Site
               by browser
                                      (Server)
Beginning 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 three different 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




          POST

                               new




                                                  Invoke
                         Invoke action            method


                                              Lookup view




                                                  Render (viewData)


          HTML
Exploring ASP.NET MVC
• Demo: File -> New Project
DEMO
Web Development
           using
 Visual Studio 2012 &
     ASP.NET MVC

                              Adil Ahmed Mughal


Thank YOU for your time and
        attention!

More Related Content

PPTX
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
PPTX
Interactive Web Design 5 - Week 2 - Introduction
PPTX
Module 3 - Intro to Bootstrap
PPTX
Module 5 - WCM system comparison
PPTX
Building WordPress sites with AngularJS and the RESTful plugin JSON API @ Dev...
PPTX
Building WordPress sites with AngularJS and the RESTful plugin JSON API
PPTX
Advanced Wordpress
PDF
Best Practices for Building Sites in dotCMS
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
Interactive Web Design 5 - Week 2 - Introduction
Module 3 - Intro to Bootstrap
Module 5 - WCM system comparison
Building WordPress sites with AngularJS and the RESTful plugin JSON API @ Dev...
Building WordPress sites with AngularJS and the RESTful plugin JSON API
Advanced Wordpress
Best Practices for Building Sites in dotCMS

What's hot (20)

PPTX
Introduction to maya
PPTX
An Introduction to Creating Websites and Blogs with WordPress
PPT
EPUB for Website Producers
PPTX
WebNetConf 2012 - Single Page Apps
PPT
Wywiwyg and Drupal
PPTX
Equity WordPress framework with Chad and Dave
PPTX
A11y Conference Talk: Building an Accessible WordPress Theme
PDF
WordPress as a CMS - Case Study of an Organizational Intranet
PPTX
SoCal Code Camp 2011 - ASP.NET 4.5
PPTX
WordPress Themes and Plugins
PPTX
Frontender in-2016
PPTX
Castro Chapter 2
PDF
Making Multisite Work for You
PDF
My Site is slow - Drupal Camp London 2013
PPTX
WCBos13 intermediate workshop
PPTX
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
PDF
WordPress Code Architecture
PDF
Bandwidth optimisation in Responsive Webdesign - J&Beyond, june 1st 2013
Introduction to maya
An Introduction to Creating Websites and Blogs with WordPress
EPUB for Website Producers
WebNetConf 2012 - Single Page Apps
Wywiwyg and Drupal
Equity WordPress framework with Chad and Dave
A11y Conference Talk: Building an Accessible WordPress Theme
WordPress as a CMS - Case Study of an Organizational Intranet
SoCal Code Camp 2011 - ASP.NET 4.5
WordPress Themes and Plugins
Frontender in-2016
Castro Chapter 2
Making Multisite Work for You
My Site is slow - Drupal Camp London 2013
WCBos13 intermediate workshop
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordPress Code Architecture
Bandwidth optimisation in Responsive Webdesign - J&Beyond, june 1st 2013
Ad

Similar to Web development using ASP.NET MVC (20)

PDF
Web Development using ASP.NET MVC at HEC
PPTX
ASP MVC asderfewerwrwerwrefeewwfdewfewfdsfsd
PPTX
Introduction to ASP.NET
PPTX
PPT
DevNext - Web Programming Concepts Using Asp Net
PDF
Single Page Apps
PDF
Unit 02: Web Technologies (2/2)
PPTX
Languages and tools for web programming
PPTX
Languages and tools for web programming
PPSX
Introduction to ASP.NET
PPTX
06 web api
PPTX
ASP.NET Mvc 4 web api
PPSX
Web development concepts using microsoft technologies
PDF
cyber security-ethical hacking web servers.pdf
PPTX
CodeCamp Iasi 10 March 2012 - Gabriel Enea - ASP.NET Web API
PDF
Ch 10: Hacking Web Servers
PPTX
PDF
Introduction to asp.net
Web Development using ASP.NET MVC at HEC
ASP MVC asderfewerwrwerwrefeewwfdewfewfdsfsd
Introduction to ASP.NET
DevNext - Web Programming Concepts Using Asp Net
Single Page Apps
Unit 02: Web Technologies (2/2)
Languages and tools for web programming
Languages and tools for web programming
Introduction to ASP.NET
06 web api
ASP.NET Mvc 4 web api
Web development concepts using microsoft technologies
cyber security-ethical hacking web servers.pdf
CodeCamp Iasi 10 March 2012 - Gabriel Enea - ASP.NET Web API
Ch 10: Hacking Web Servers
Introduction to asp.net
Ad

More from Adil Mughal (10)

PDF
Write cleaner, maintainable, and testable code in Android with MVVM
PDF
Code Sharing Between Windows Phone/Store Apps
PDF
Community Contribution Experience
PDF
Quality Assurance in SDLC
PDF
Refactoring to SOLID Code
PPT
2 Day - WPF Training by Adil Mughal
PPTX
What's New in Visual Studio 2010
PPTX
Practical Enterprise Application Development
PPT
DevNext - How we build applications in Industry
PPT
Windows 7 For Geeks
Write cleaner, maintainable, and testable code in Android with MVVM
Code Sharing Between Windows Phone/Store Apps
Community Contribution Experience
Quality Assurance in SDLC
Refactoring to SOLID Code
2 Day - WPF Training by Adil Mughal
What's New in Visual Studio 2010
Practical Enterprise Application Development
DevNext - How we build applications in Industry
Windows 7 For Geeks

Recently uploaded (20)

PDF
CloudStack 4.21: First Look Webinar slides
PPT
Geologic Time for studying geology for geologist
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
DOCX
search engine optimization ppt fir known well about this
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Five Habits of High-Impact Board Members
PPTX
The various Industrial Revolutions .pptx
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Consumable AI The What, Why & How for Small Teams.pdf
CloudStack 4.21: First Look Webinar slides
Geologic Time for studying geology for geologist
A comparative study of natural language inference in Swahili using monolingua...
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
NewMind AI Weekly Chronicles – August ’25 Week III
Benefits of Physical activity for teenagers.pptx
Developing a website for English-speaking practice to English as a foreign la...
Taming the Chaos: How to Turn Unstructured Data into Decisions
search engine optimization ppt fir known well about this
Credit Without Borders: AI and Financial Inclusion in Bangladesh
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
A contest of sentiment analysis: k-nearest neighbor versus neural network
sustainability-14-14877-v2.pddhzftheheeeee
Five Habits of High-Impact Board Members
The various Industrial Revolutions .pptx
Custom Battery Pack Design Considerations for Performance and Safety
A review of recent deep learning applications in wood surface defect identifi...
Consumable AI The What, Why & How for Small Teams.pdf

Web development using ASP.NET MVC

  • 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# – 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 • Web Fundamentals – HTTP Transactions – Static & Dynamic Web Pages – Role Web Server • Beginning ASP.NET MVC – Overview of MVC – Exploring MVC (File -> New Project) – ASP.NET Intrinsic objects – Demo Site
  • 5. HTTP Transactions • HTTP Request & Response – The communication mechanism by which Web browsers talk to Web sites – As a connection protocol, HTTP is built around several basic commands – GET, HEAD, POST – HTTP is Stateless Protocol
  • 6. HTTP GET http://www.abc.com Web Browser Web Site (Client) (Server) Response be rendered HTML to by browser
  • 7. HTTP Transactions • Sample GET Request 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
  • 9. Static vs. Dynamic Pages • Static Pages – The earliest web sites were built primarily using static HTML pages. – HTML eventually evolved to be capable of much more • Dynamic Web Pages – The user can make requests (often through a form) for data contained in a database on the server that will be assembled on the fly • What's the difference? – Static pages are those that send exactly the same response to every request – Dynamic pages can customize the response on the server to offer personalization based on cookies and information it can get from the visitor.
  • 10. Role of Web Server • Role of Web Server – A program on server that monitors port 80 for incoming HTTP Requests – On the Microsoft platform, IIS is the watchdog intercepting HTTP requests from port 80—the normal inbound port for HTTP requests
  • 11. HTTP GET http://www.abc.com IIS (Web Server) Web Browser (Client) Response be rendered HTML to Web Site by browser (Server)
  • 12. Beginning 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 three different development models: – Web Pages, MVC (Model View Controller), and Web Forms.
  • 14. Life Cycle of MVC Request Browser URL Routing Controller Model View POST new Invoke Invoke action method Lookup view Render (viewData) HTML
  • 15. Exploring ASP.NET MVC • Demo: File -> New Project
  • 16. DEMO
  • 17. Web Development using Visual Studio 2012 & ASP.NET MVC Adil Ahmed Mughal Thank YOU for your time and attention!