SlideShare a Scribd company logo
Hatem Hamad 
Nov 2014
 What is ASP.NET MVC? 
 ASP.NET MVC Power. 
 ASP.NET Web Forms vs. ASP.NET MVC 
 What is MVC? 
 ASP.NET MVC Parts: 
Model 
 Controller 
 View 
 Router
 New Web Application (Presentation Layer). 
 Based on Model-View-Controller Design 
Pattern.
Complete control on HTML. 
Smooth Web 2.0 Development . 
SEO-friendly URLs. 
 Easy Test Driven Development (TDD). 
 Stateless.
 ASP.NET Web Forms 
 Advantages: 
▪ Fast Development. 
▪ Windows Application Development Experience. 
▪ Event Driven. 
▪ View State. 
▪ Web Controls. 
 Disadvantages: 
▪ Hard to Control HTML. 
▪ Unfriendly URLs. 
▪ Single “Form” tag in single page. 
▪ Hardly Extensible (Ex: JavaScript Libraries ,CSS , etc..)
 ASP.NET MVC 
 Advantages: 
▪ Model-View-Controller Design Pattern. 
▪ Web Application Development Experience. 
▪ Easy to control HTML. 
▪ Razor view engine 
▪ One of the greatest view engines 
▪ With intellisense, integrated in Visual Studio 
▪ Reuse of current skills (C#, LINQ, HTML, etc.) 
▪ Search engine optimization (SEO) URL’s. 
▪ Adopt REST concepts. 
 Disadvantages: 
▪ Stateless.
 ASP.NET MVC 
 References: 
▪ http://en.wikipedia.org/wiki/ 
ASP.NET_MVC_Framework 
▪ http://www.dotnet-tricks.com/ 
Tutorial/mvc/ 
XWX7210713-A-brief 
-history-of-Asp.Net-MVC 
-framework.html
Model–view–controller (MVC) is a software 
architecture pattern. 
 Code reusability and separation of concerns 
 Originally developed for 
desktop, then adapted 
for internet applications.
 Model: 
 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
ASP.net MVC Introduction Wikilogia (nov 2014)
 View: 
 Defines how the application’s user interface (UI) will be 
displayed 
 Web: Template to dynamically generate HTML
ASP.net MVC Introduction Wikilogia (nov 2014)
 Controller: 
 The core MVC component 
 Process the requests with the help of views and models 
 A set of classes that handles 
 Communication from the user 
 Interactions between Model(s) & View(s) 
 Every controller has one or more "Actions"
ASP.net MVC Introduction Wikilogia (nov 2014)
 Model ( Data Object). 
 Controller (Control Application Actions). 
 View (Renders HTML). 
 Router (URL Mapping).
 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)
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
 Helps with concurrent development 
 Performing tasks concurrently 
▪ One developer works on views 
▪ Another works on controllers 
 Almost anything can be replaced or extended 
 Interface-based architecture 
 Model binders (request data to CLR objects) 
 Custom action result types 
 View engine (Razor, WebForms, NHaml, Spark) 
 View helpers (HTML, AJAX, URL, etc.) 
 Custom data providers (ADO.NET), etc.
http://yoursite.com/Security/Login 
http://yoursite.com/Login 
http://yoursite.com/Products/Details/58 
http://yoursite.com/Products/58 
http://yoursite.com/Customers/Details.aspx?id=21 
http://yoursite.com/Customers/Details/21 
Default Value 
Regular Expression 
URL
 REST-like 
 /products/update 
 /Wiki/posts/2014/11/28/mvc-is-cool 
 Friendlier to humans 
 /product.aspx?catId=123 or post.php?id=123 
 Becomes /products/chocolate/
 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) 
 Entity Framework and LINQ) 
 Web and HTTP
 Hello World Demo. 
 Single Form Demo. 
 Two Forms Demo. 
 JavaScript Demo. 
 Routers Demo.
 Tools that we need: 
 IDE: Visual Studio 2012<2013 more efficient> 
(Express for Web) 
▪ JustCode and Web Essentals 
 Framework: .NET Framework 4.5 
 Web server: IIS 8 (Express) 
 Data: MS 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
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
27 
Static files (CSS, Images, etc.) 
All controllers and actions 
JavaScript files (jQuery, Modernizr, knockout, etc.) 
View templates 
_Layout.cshtml – master page (main template) 
Application_Start() –The entry point of the application 
Configuration file
ASP.net MVC Introduction Wikilogia (nov 2014)
ASP.net MVC Introduction Wikilogia (nov 2014)
 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 
 GUI-based package installer 
 Package manager console 
30
Install and update packages as easy as adding a 
reference
Hatem Hamad 
E-mail : hatem.h.hamad@gmail.com 
LinkedIn: Hatem Hamad
Ad

More Related Content

What's hot (20)

MSDN - ASP.NET MVC
MSDN - ASP.NET MVCMSDN - ASP.NET MVC
MSDN - ASP.NET MVC
Maarten Balliauw
 
ASP .net MVC
ASP .net MVCASP .net MVC
ASP .net MVC
Divya Sharma
 
Mvc summary
Mvc summaryMvc summary
Mvc summary
Muhammad Younis
 
ASP.NET MVC 5 - EF 6 - VS2015
ASP.NET MVC 5 - EF 6 - VS2015ASP.NET MVC 5 - EF 6 - VS2015
ASP.NET MVC 5 - EF 6 - VS2015
Hossein Zahed
 
Asp.net MVC training session
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training session
Hrichi Mohamed
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
Joe Wilson
 
ASP .NET MVC - best practices
ASP .NET MVC - best practicesASP .NET MVC - best practices
ASP .NET MVC - best practices
Bohdan Pashkovskyi
 
ASP.NET MVC 3
ASP.NET MVC 3ASP.NET MVC 3
ASP.NET MVC 3
Buu Nguyen
 
MVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVC
Anton Krasnoshchok
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
Er. Kamal Bhusal
 
Mvc fundamental
Mvc fundamentalMvc fundamental
Mvc fundamental
Nguyễn Thành Phát
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
Sunpawet Somsin
 
ASP.NET MVC for Begineers
ASP.NET MVC for BegineersASP.NET MVC for Begineers
ASP.NET MVC for Begineers
Shravan Kumar Kasagoni
 
MVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
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
Thomas Robbins
 
MVC ppt presentation
MVC ppt presentationMVC ppt presentation
MVC ppt presentation
Bhavin Shah
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
Khaled Musaied
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
ivpol
 
CTTDNUG ASP.NET MVC
CTTDNUG ASP.NET MVCCTTDNUG ASP.NET MVC
CTTDNUG ASP.NET MVC
Barry Gervin
 
Mvc3 crash
Mvc3 crashMvc3 crash
Mvc3 crash
Melick Baranasooriya
 
ASP.NET MVC 5 - EF 6 - VS2015
ASP.NET MVC 5 - EF 6 - VS2015ASP.NET MVC 5 - EF 6 - VS2015
ASP.NET MVC 5 - EF 6 - VS2015
Hossein Zahed
 
Asp.net MVC training session
Asp.net MVC training sessionAsp.net MVC training session
Asp.net MVC training session
Hrichi Mohamed
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
Joe Wilson
 
MVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVCMVC Pattern. Flex implementation of MVC
MVC Pattern. Flex implementation of MVC
Anton Krasnoshchok
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
Sunpawet Somsin
 
MVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros DeveloperMVC Architecture in ASP.Net By Nyros Developer
MVC Architecture in ASP.Net By Nyros Developer
Nyros Technologies
 
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
Thomas Robbins
 
MVC ppt presentation
MVC ppt presentationMVC ppt presentation
MVC ppt presentation
Bhavin Shah
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
Khaled Musaied
 
ASP.NET MVC Presentation
ASP.NET MVC PresentationASP.NET MVC Presentation
ASP.NET MVC Presentation
ivpol
 
CTTDNUG ASP.NET MVC
CTTDNUG ASP.NET MVCCTTDNUG ASP.NET MVC
CTTDNUG ASP.NET MVC
Barry Gervin
 

Viewers also liked (15)

MexADL
MexADLMexADL
MexADL
jccastrejon
 
Presentation of the Instance Model Bus
Presentation of the Instance Model BusPresentation of the Instance Model Bus
Presentation of the Instance Model Bus
jccastrejon
 
Aspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency InjectionAspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency Injection
Robert Lemke
 
Web Development Ppt
Web Development PptWeb Development Ppt
Web Development Ppt
Bruce Tucker
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
www.netgains.org
 
Web Development on Web Project Presentation
Web Development on Web Project PresentationWeb Development on Web Project Presentation
Web Development on Web Project Presentation
Milind Gokhale
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
Niharika Gupta
 
Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3Up to Speed on HTML 5 and CSS 3
Up to Speed on HTML 5 and CSS 3
M. Jackson Wilkinson
 
jQuery Essentials
jQuery EssentialsjQuery Essentials
jQuery Essentials
Marc Grabanski
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Presentation of the Instance Model Bus
Presentation of the Instance Model BusPresentation of the Instance Model Bus
Presentation of the Instance Model Bus
jccastrejon
 
Aspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency InjectionAspect-Oriented Programming and Depedency Injection
Aspect-Oriented Programming and Depedency Injection
Robert Lemke
 
Web Development Ppt
Web Development PptWeb Development Ppt
Web Development Ppt
Bruce Tucker
 
Web Development on Web Project Presentation
Web Development on Web Project PresentationWeb Development on Web Project Presentation
Web Development on Web Project Presentation
Milind Gokhale
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Ad

Similar to ASP.net MVC Introduction Wikilogia (nov 2014) (20)

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
Shiju Varghese
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Web Development Today
Web Development TodayWeb Development Today
Web Development Today
bretticus
 
Mvc Brief Overview
Mvc Brief OverviewMvc Brief Overview
Mvc Brief Overview
rainynovember12
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
Hosam Kamel
 
Introduction To Mvc
Introduction To MvcIntroduction To Mvc
Introduction To Mvc
Volkan Uzun
 
MVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on RailsMVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on Rails
codeinmotion
 
Asp.net mvc
Asp.net mvcAsp.net mvc
Asp.net mvc
Taranjeet Singh
 
ASP.NET Lecture 1
ASP.NET Lecture 1ASP.NET Lecture 1
ASP.NET Lecture 1
Julie Iskander
 
MVC patten relate using in. net core latest varsion
MVC patten relate using in. net core latest varsionMVC patten relate using in. net core latest varsion
MVC patten relate using in. net core latest varsion
sachingothi25
 
Single Page Apps
Single Page AppsSingle Page Apps
Single Page Apps
Gil Fink
 
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
Aaron Jacobson
 
Using MVC with Kentico 8
Using MVC with Kentico 8Using MVC with Kentico 8
Using MVC with Kentico 8
Thomas Robbins
 
Asp.net mvc 5 course module 1 overview
Asp.net mvc 5 course   module 1 overviewAsp.net mvc 5 course   module 1 overview
Asp.net mvc 5 course module 1 overview
Sergey Seletsky
 
Web tier-framework-mvc
Web tier-framework-mvcWeb tier-framework-mvc
Web tier-framework-mvc
KashfUlHuda1
 
Asp.Net MVC Intro
Asp.Net MVC IntroAsp.Net MVC Intro
Asp.Net MVC Intro
Stefano Paluello
 
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
Concetto Labs
 
Mvc presentation
Mvc presentationMvc presentation
Mvc presentation
MaslowB
 
MVC 4
MVC 4MVC 4
MVC 4
Vasilios Kuznos
 
MVC
MVCMVC
MVC
akshin
 
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
Shiju Varghese
 
ASP.NET Presentation
ASP.NET PresentationASP.NET Presentation
ASP.NET Presentation
Rasel Khan
 
Web Development Today
Web Development TodayWeb Development Today
Web Development Today
bretticus
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
Hosam Kamel
 
Introduction To Mvc
Introduction To MvcIntroduction To Mvc
Introduction To Mvc
Volkan Uzun
 
MVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on RailsMVC Demystified: Essence of Ruby on Rails
MVC Demystified: Essence of Ruby on Rails
codeinmotion
 
MVC patten relate using in. net core latest varsion
MVC patten relate using in. net core latest varsionMVC patten relate using in. net core latest varsion
MVC patten relate using in. net core latest varsion
sachingothi25
 
Single Page Apps
Single Page AppsSingle Page Apps
Single Page Apps
Gil Fink
 
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
Aaron Jacobson
 
Using MVC with Kentico 8
Using MVC with Kentico 8Using MVC with Kentico 8
Using MVC with Kentico 8
Thomas Robbins
 
Asp.net mvc 5 course module 1 overview
Asp.net mvc 5 course   module 1 overviewAsp.net mvc 5 course   module 1 overview
Asp.net mvc 5 course module 1 overview
Sergey Seletsky
 
Web tier-framework-mvc
Web tier-framework-mvcWeb tier-framework-mvc
Web tier-framework-mvc
KashfUlHuda1
 
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
Concetto Labs
 
Mvc presentation
Mvc presentationMvc presentation
Mvc presentation
MaslowB
 
Ad

Recently uploaded (20)

TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Xforce Keygen 64-bit AutoCAD 2025 Crack
Xforce Keygen 64-bit AutoCAD 2025  CrackXforce Keygen 64-bit AutoCAD 2025  Crack
Xforce Keygen 64-bit AutoCAD 2025 Crack
usmanhidray
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Shift Left using Lean for Agile Software Development
Shift Left using Lean for Agile Software DevelopmentShift Left using Lean for Agile Software Development
Shift Left using Lean for Agile Software Development
SathyaShankar6
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Mastering OOP: Understanding the Four Core Pillars
Mastering OOP: Understanding the Four Core PillarsMastering OOP: Understanding the Four Core Pillars
Mastering OOP: Understanding the Four Core Pillars
Marcel David
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Xforce Keygen 64-bit AutoCAD 2025 Crack
Xforce Keygen 64-bit AutoCAD 2025  CrackXforce Keygen 64-bit AutoCAD 2025  Crack
Xforce Keygen 64-bit AutoCAD 2025 Crack
usmanhidray
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Shift Left using Lean for Agile Software Development
Shift Left using Lean for Agile Software DevelopmentShift Left using Lean for Agile Software Development
Shift Left using Lean for Agile Software Development
SathyaShankar6
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& ConsiderationsDesigning AI-Powered APIs on Azure: Best Practices& Considerations
Designing AI-Powered APIs on Azure: Best Practices& Considerations
Dinusha Kumarasiri
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Mastering OOP: Understanding the Four Core Pillars
Mastering OOP: Understanding the Four Core PillarsMastering OOP: Understanding the Four Core Pillars
Mastering OOP: Understanding the Four Core Pillars
Marcel David
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
How to Batch Export Lotus Notes NSF Emails to Outlook PST Easily?
steaveroggers
 
EASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License CodeEASEUS Partition Master Crack + License Code
EASEUS Partition Master Crack + License Code
aneelaramzan63
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 

ASP.net MVC Introduction Wikilogia (nov 2014)

  • 2.  What is ASP.NET MVC?  ASP.NET MVC Power.  ASP.NET Web Forms vs. ASP.NET MVC  What is MVC?  ASP.NET MVC Parts: Model  Controller  View  Router
  • 3.  New Web Application (Presentation Layer).  Based on Model-View-Controller Design Pattern.
  • 4. Complete control on HTML. Smooth Web 2.0 Development . SEO-friendly URLs.  Easy Test Driven Development (TDD).  Stateless.
  • 5.  ASP.NET Web Forms  Advantages: ▪ Fast Development. ▪ Windows Application Development Experience. ▪ Event Driven. ▪ View State. ▪ Web Controls.  Disadvantages: ▪ Hard to Control HTML. ▪ Unfriendly URLs. ▪ Single “Form” tag in single page. ▪ Hardly Extensible (Ex: JavaScript Libraries ,CSS , etc..)
  • 6.  ASP.NET MVC  Advantages: ▪ Model-View-Controller Design Pattern. ▪ Web Application Development Experience. ▪ Easy to control HTML. ▪ Razor view engine ▪ One of the greatest view engines ▪ With intellisense, integrated in Visual Studio ▪ Reuse of current skills (C#, LINQ, HTML, etc.) ▪ Search engine optimization (SEO) URL’s. ▪ Adopt REST concepts.  Disadvantages: ▪ Stateless.
  • 7.  ASP.NET MVC  References: ▪ http://en.wikipedia.org/wiki/ ASP.NET_MVC_Framework ▪ http://www.dotnet-tricks.com/ Tutorial/mvc/ XWX7210713-A-brief -history-of-Asp.Net-MVC -framework.html
  • 8. Model–view–controller (MVC) is a software architecture pattern.  Code reusability and separation of concerns  Originally developed for desktop, then adapted for internet applications.
  • 9.  Model:  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
  • 11.  View:  Defines how the application’s user interface (UI) will be displayed  Web: Template to dynamically generate HTML
  • 13.  Controller:  The core MVC component  Process the requests with the help of views and models  A set of classes that handles  Communication from the user  Interactions between Model(s) & View(s)  Every controller has one or more "Actions"
  • 15.  Model ( Data Object).  Controller (Control Application Actions).  View (Renders HTML).  Router (URL Mapping).
  • 16.  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)
  • 19.  Helps with concurrent development  Performing tasks concurrently ▪ One developer works on views ▪ Another works on controllers  Almost anything can be replaced or extended  Interface-based architecture  Model binders (request data to CLR objects)  Custom action result types  View engine (Razor, WebForms, NHaml, Spark)  View helpers (HTML, AJAX, URL, etc.)  Custom data providers (ADO.NET), etc.
  • 20. http://yoursite.com/Security/Login http://yoursite.com/Login http://yoursite.com/Products/Details/58 http://yoursite.com/Products/58 http://yoursite.com/Customers/Details.aspx?id=21 http://yoursite.com/Customers/Details/21 Default Value Regular Expression URL
  • 21.  REST-like  /products/update  /Wiki/posts/2014/11/28/mvc-is-cool  Friendlier to humans  /product.aspx?catId=123 or post.php?id=123  Becomes /products/chocolate/
  • 22.  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)  Entity Framework and LINQ)  Web and HTTP
  • 23.  Hello World Demo.  Single Form Demo.  Two Forms Demo.  JavaScript Demo.  Routers Demo.
  • 24.  Tools that we need:  IDE: Visual Studio 2012<2013 more efficient> (Express for Web) ▪ JustCode and Web Essentals  Framework: .NET Framework 4.5  Web server: IIS 8 (Express)  Data: MS 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
  • 27. 27 Static files (CSS, Images, etc.) All controllers and actions JavaScript files (jQuery, Modernizr, knockout, etc.) View templates _Layout.cshtml – master page (main template) Application_Start() –The entry point of the application Configuration file
  • 30.  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  GUI-based package installer  Package manager console 30
  • 31. Install and update packages as easy as adding a reference
  • 32. Hatem Hamad E-mail : [email protected] LinkedIn: Hatem Hamad