SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
ASP.NET MVC 4 –
New Features
By Mayank Srivastava
MPS Partners LLC
About me
Mayank Srivastava
Senior Consultant / Specialist Web,
MPS Partners LLC.
http://MayankSrivastava.com
MayankSri@Live.com
MayankSri
CNUG07-18-2012
Know your audience
• Experience on ASP.NET MVC prior versions?
• Understanding of ASP.NET MVC framework?
• jQuery Mobile / HTML 5?
CNUG07-18-2012
Topics
• Quick Look
• Solution Templates – Web and Mobile
• Cloud Ready
• Controller Anywhere
• Cleaner Global.ascx.cs
• Display Modes and Mobile Features
• Web APIs
• Bundling and minification
• Task-based async controllers
• Razor enhancements
CNUG07-18-2012
Quick Look
CNUG07-18-2012
The Mobile Buzz…
Why Target Mobile Platform?
CNUG07-18-2012
Case for Mobile
CNUG07-18-2012
World’s population 7 billion
Total Mobile Broadband Users Hit 1 Billion in 2011
The new primary way to browse the web.
Top 10 CIO Technology Priorities in
2012 - SurveybyGartner
1. Analytics and business intelligence. (Last year's rank: 5)
2. Mobile technologies. (Last year's rank : 3)
3. Cloud computing, including SaaS. (Last year's rank : 1)
4. Collaboration/workflow technologies. (Last year's rank : 8)
5. Legacy modernization.
6. IT management. (Last year's rank : 4)
7. CRM
8. ERP applications
9. Security
10. Virtualization. (Last year's rank : 2)
CNUG07-18-2012
Building a Mobile Web App
Leveraging your existing skills to build Mobile applications.
What are the options?
Client Side:
HTML 5 / CSS 3 – Meta Viewport tag / Media Queries
Server Side
ASP.NET MVC – Display Modes
CNUG07-18-2012
Client side: CSS style – Pre HTML 5
CNUG07-18-2012
What is HTML 5
• New version of HTML
• A new standard UI platform.
• Accepted on wide verity of platforms, not just web
• Metro Apps
• Apple web kit
• Android platform
• Packaging HTML 5 Websites as Apps using Phone Gap (aka Adobe
Cordova)
http://phonegap.com/
CNUG07-18-2012
Client side : Adaptive rendering
Problems:
Bandwidth -Amount of data sent over the wire same whether mobile or desktop.
Application performance – Potentially additional data fetch for mobile.
User Experience – Smaller screen might need simpler UI design (button/links).
CNUG07-18-2012
DAL
Business Logic
Presentation Logic
(URL)
Desktop
Browser
IE Mobile
Win Phone
Safari
iPhone
Safari iPad
DB
Web Application BrowsersStandard markup
Server side : Display Modes
Being able to send different views to different devices.
CNUG07-18-2012
DAL
Business Logic
Presentation Logic
(URL)
Desktop
Browser
IE Mobile
Win Ph 7
Safari
iPhone
Safari iPad
DB
Web Application BrowsersClient specific markup
Demo
• Display modes
• jQuery Mobile
CNUG07-18-2012
Web API
• A framework that makes it easy to build HTTP services that
reach a broad range of clients, including browsers and mobile
devices
• A platform for building RESTful applications on the .NET
Framework
• New landing page - http://www.asp.net/web-api
• Demo from Channel 9 http://www.asp.net/web-api/samples
CNUG07-18-2012
Improvements to Mobile Web
CNUG07-18-2012
DAL
Business Logic
Web API
Desktop
Browser
IE Mobile
Win Ph 7
Safari
iPhone
Safari iPad
DB
Web Application BrowsersClient specific HTML
& JS based App
Web App
Web App
Web App
Web App
Client side JavaScript libraries
• Knockout.js
• http://knockoutjs.com/
• http://learn.knockoutjs.com/
• History.js
• https://github.com/balupton/history.js/wiki/Showcase
• Upshot.js
http://nuget.org/packages/upshot
Single page Applications
• http://code.msdn.microsoft.com/ASPNET-Single-Page-d6d7172c
CNUG07-18-2012
Web APIs Demo
CNUG07-18-2012
Bundling and Minification
CNUG07-18-2012
Productivity feature
Compression and bundling
• CSS
• JavaScript
• Folder Bundles
• Declarative Static bundles
• Custom Dynamic bundles
Async Controllers
Old Event-based Asynchronous Pattern
CNUG07-18-2012
Async Controllers
Task based asynchronous pattern
CNUG07-18-2012
Razor Enhancements
• Use of ~ as Root.
CNUG07-18-2012
Download DEMO & Slides
http://blogs.MPSPartners.com/MayankSrivastava/Default.aspx
Also
http://www.MayankSrivastava.com/
CNUG07-18-2012
Questions

Contenu connexe

Tendances

How can Big data accelerate CDN services ?
How can Big data accelerate CDN services ?How can Big data accelerate CDN services ?
How can Big data accelerate CDN services ?ANOOP KUMAR P
 
Convertigo Mobility Platform | Mobile Application Development for Enterprises...
Convertigo Mobility Platform | Mobile Application Development for Enterprises...Convertigo Mobility Platform | Mobile Application Development for Enterprises...
Convertigo Mobility Platform | Mobile Application Development for Enterprises...Convertigo | MADP & MBaaS
 
MyMobileWeb Certification Part I
MyMobileWeb Certification Part IMyMobileWeb Certification Part I
MyMobileWeb Certification Part Icrdlc
 
Achieve Responsive Web Applications With Ease Using Kendo UI
Achieve Responsive Web Applications With Ease Using Kendo UIAchieve Responsive Web Applications With Ease Using Kendo UI
Achieve Responsive Web Applications With Ease Using Kendo UILohith Goudagere Nagaraj
 
Pragmatic approach to building native apps hybrid way
Pragmatic approach to building native apps hybrid wayPragmatic approach to building native apps hybrid way
Pragmatic approach to building native apps hybrid wayThoughtworks
 
Enterprise mobility Application Ruggedization
Enterprise mobility Application RuggedizationEnterprise mobility Application Ruggedization
Enterprise mobility Application RuggedizationANOOP KUMAR P
 
How Customers are Building and Using their Own Connectors
How Customers are Building and Using their Own ConnectorsHow Customers are Building and Using their Own Connectors
How Customers are Building and Using their Own ConnectorsMuleSoft
 
Harbinger Systems Mobile App Development Practice Group
Harbinger Systems Mobile App Development Practice GroupHarbinger Systems Mobile App Development Practice Group
Harbinger Systems Mobile App Development Practice GroupSachin Katariya
 
Mobile architecture overview
Mobile architecture overviewMobile architecture overview
Mobile architecture overviewDavid Scruggs
 
Mobile (App) Development with Sitecore
Mobile (App) Development with SitecoreMobile (App) Development with Sitecore
Mobile (App) Development with SitecorePieter Brinkman
 
Introducing Hippo CMS 10.2
Introducing Hippo CMS 10.2Introducing Hippo CMS 10.2
Introducing Hippo CMS 10.2Hippo
 
Convertigo Mobile Application Development platform for Enterprises
Convertigo Mobile Application Development platform for EnterprisesConvertigo Mobile Application Development platform for Enterprises
Convertigo Mobile Application Development platform for EnterprisesConvertigo | MADP & MBaaS
 
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" HappyEnterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" HappyWaveMaker, Inc.
 
API-led Architecture
API-led ArchitectureAPI-led Architecture
API-led ArchitectureTecholution
 
Dan Coughlin Resume 2020
Dan Coughlin Resume 2020Dan Coughlin Resume 2020
Dan Coughlin Resume 2020DanCoughlin8
 
Practical strategies to innovate faster and meet business goals
Practical strategies to innovate faster and meet business goalsPractical strategies to innovate faster and meet business goals
Practical strategies to innovate faster and meet business goalsWaveMaker, Inc.
 

Tendances (20)

Enhancing Unified Communication Experience through Microsoft Lync SDK and UCMA
Enhancing Unified Communication Experience through Microsoft Lync SDK and UCMAEnhancing Unified Communication Experience through Microsoft Lync SDK and UCMA
Enhancing Unified Communication Experience through Microsoft Lync SDK and UCMA
 
How can Big data accelerate CDN services ?
How can Big data accelerate CDN services ?How can Big data accelerate CDN services ?
How can Big data accelerate CDN services ?
 
Convertigo Mobility Platform | Mobile Application Development for Enterprises...
Convertigo Mobility Platform | Mobile Application Development for Enterprises...Convertigo Mobility Platform | Mobile Application Development for Enterprises...
Convertigo Mobility Platform | Mobile Application Development for Enterprises...
 
MyMobileWeb Certification Part I
MyMobileWeb Certification Part IMyMobileWeb Certification Part I
MyMobileWeb Certification Part I
 
Achieve Responsive Web Applications With Ease Using Kendo UI
Achieve Responsive Web Applications With Ease Using Kendo UIAchieve Responsive Web Applications With Ease Using Kendo UI
Achieve Responsive Web Applications With Ease Using Kendo UI
 
Pragmatic approach to building native apps hybrid way
Pragmatic approach to building native apps hybrid wayPragmatic approach to building native apps hybrid way
Pragmatic approach to building native apps hybrid way
 
Enterprise mobility Application Ruggedization
Enterprise mobility Application RuggedizationEnterprise mobility Application Ruggedization
Enterprise mobility Application Ruggedization
 
How Customers are Building and Using their Own Connectors
How Customers are Building and Using their Own ConnectorsHow Customers are Building and Using their Own Connectors
How Customers are Building and Using their Own Connectors
 
Harbinger Systems Mobile App Development Practice Group
Harbinger Systems Mobile App Development Practice GroupHarbinger Systems Mobile App Development Practice Group
Harbinger Systems Mobile App Development Practice Group
 
Mobile architecture overview
Mobile architecture overviewMobile architecture overview
Mobile architecture overview
 
Hippo Presentation Jboye Study tour
Hippo Presentation Jboye Study tourHippo Presentation Jboye Study tour
Hippo Presentation Jboye Study tour
 
Neev AngularJS Capabilities
Neev AngularJS CapabilitiesNeev AngularJS Capabilities
Neev AngularJS Capabilities
 
Mobile (App) Development with Sitecore
Mobile (App) Development with SitecoreMobile (App) Development with Sitecore
Mobile (App) Development with Sitecore
 
Introducing Hippo CMS 10.2
Introducing Hippo CMS 10.2Introducing Hippo CMS 10.2
Introducing Hippo CMS 10.2
 
Convertigo Mobile Application Development platform for Enterprises
Convertigo Mobile Application Development platform for EnterprisesConvertigo Mobile Application Development platform for Enterprises
Convertigo Mobile Application Development platform for Enterprises
 
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" HappyEnterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
Enterprise App Dev Platform to keep your "Developers, Architects and CIO" Happy
 
Kuoll pitch-deck
Kuoll pitch-deckKuoll pitch-deck
Kuoll pitch-deck
 
API-led Architecture
API-led ArchitectureAPI-led Architecture
API-led Architecture
 
Dan Coughlin Resume 2020
Dan Coughlin Resume 2020Dan Coughlin Resume 2020
Dan Coughlin Resume 2020
 
Practical strategies to innovate faster and meet business goals
Practical strategies to innovate faster and meet business goalsPractical strategies to innovate faster and meet business goals
Practical strategies to innovate faster and meet business goals
 

Similaire à CNUG ASP.NET MVC 4 – New Features

Soa architect summit mobile 2013_mar [compatibility mode]
Soa architect summit mobile 2013_mar [compatibility mode]Soa architect summit mobile 2013_mar [compatibility mode]
Soa architect summit mobile 2013_mar [compatibility mode]Sreeni Pamidala
 
Building Mobile Websites with Joomla
Building Mobile Websites with JoomlaBuilding Mobile Websites with Joomla
Building Mobile Websites with JoomlaTom Deryckere
 
Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7Petr Jiricka
 
Best Institute for IBM Web Experience Factory
Best Institute for IBM Web Experience FactoryBest Institute for IBM Web Experience Factory
Best Institute for IBM Web Experience FactoryVirtual Nuggets
 
Resume Partha Roy
Resume Partha RoyResume Partha Roy
Resume Partha RoyPartha Roy
 
Mobile web application development
Mobile web application developmentMobile web application development
Mobile web application developmentVince Aggrippino
 
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - RecifeThe challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - RecifeCaridy Patino
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsRomin Irani
 
How to-choose-the-right-technology-architecture-for-your-mobile-application
How to-choose-the-right-technology-architecture-for-your-mobile-applicationHow to-choose-the-right-technology-architecture-for-your-mobile-application
How to-choose-the-right-technology-architecture-for-your-mobile-applicationlverb
 
Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...
Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...
Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...hpcmitresearch
 
Development of Android Based Mobile App for PrestaShop eCommerce Shopping Ca...
Development of Android Based Mobile App for PrestaShop eCommerce  Shopping Ca...Development of Android Based Mobile App for PrestaShop eCommerce  Shopping Ca...
Development of Android Based Mobile App for PrestaShop eCommerce Shopping Ca...IRJET Journal
 
Worklight mobile v6
Worklight mobile v6 Worklight mobile v6
Worklight mobile v6 GameStop
 
App forum2015 London - RhoMobile Update
App forum2015 London - RhoMobile UpdateApp forum2015 London - RhoMobile Update
App forum2015 London - RhoMobile Updaterobgalvinjr
 

Similaire à CNUG ASP.NET MVC 4 – New Features (20)

Soa architect summit mobile 2013_mar [compatibility mode]
Soa architect summit mobile 2013_mar [compatibility mode]Soa architect summit mobile 2013_mar [compatibility mode]
Soa architect summit mobile 2013_mar [compatibility mode]
 
Building Mobile Websites with Joomla
Building Mobile Websites with JoomlaBuilding Mobile Websites with Joomla
Building Mobile Websites with Joomla
 
Project Proposel Documentation
Project Proposel  DocumentationProject Proposel  Documentation
Project Proposel Documentation
 
Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7Coding for Desktop and Mobile with HTML5 and Java EE 7
Coding for Desktop and Mobile with HTML5 and Java EE 7
 
DHANA_CV
DHANA_CVDHANA_CV
DHANA_CV
 
SunidhiSharma
SunidhiSharmaSunidhiSharma
SunidhiSharma
 
Best Institute for IBM Web Experience Factory
Best Institute for IBM Web Experience FactoryBest Institute for IBM Web Experience Factory
Best Institute for IBM Web Experience Factory
 
PhoneGap Credentials @ Neev
PhoneGap Credentials @ NeevPhoneGap Credentials @ Neev
PhoneGap Credentials @ Neev
 
GenericFrame Technology
GenericFrame TechnologyGenericFrame Technology
GenericFrame Technology
 
Ibm empresa movil
Ibm empresa movilIbm empresa movil
Ibm empresa movil
 
Resume Partha Roy
Resume Partha RoyResume Partha Roy
Resume Partha Roy
 
Mobile web application development
Mobile web application developmentMobile web application development
Mobile web application development
 
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - RecifeThe challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
The challenges of building mobile HTML5 applications - FEEC Brazil 2012 - Recife
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElements
 
How to-choose-the-right-technology-architecture-for-your-mobile-application
How to-choose-the-right-technology-architecture-for-your-mobile-applicationHow to-choose-the-right-technology-architecture-for-your-mobile-application
How to-choose-the-right-technology-architecture-for-your-mobile-application
 
Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...
Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...
Rapidvalue whitepaper-howtochoosetherightarchitectureforyourmobileapplication...
 
.Net @ Neev
.Net @ Neev.Net @ Neev
.Net @ Neev
 
Development of Android Based Mobile App for PrestaShop eCommerce Shopping Ca...
Development of Android Based Mobile App for PrestaShop eCommerce  Shopping Ca...Development of Android Based Mobile App for PrestaShop eCommerce  Shopping Ca...
Development of Android Based Mobile App for PrestaShop eCommerce Shopping Ca...
 
Worklight mobile v6
Worklight mobile v6 Worklight mobile v6
Worklight mobile v6
 
App forum2015 London - RhoMobile Update
App forum2015 London - RhoMobile UpdateApp forum2015 London - RhoMobile Update
App forum2015 London - RhoMobile Update
 

Plus de Mayank Srivastava

CNUG - Effective Data Visualization
CNUG - Effective Data VisualizationCNUG - Effective Data Visualization
CNUG - Effective Data VisualizationMayank Srivastava
 
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...Mayank Srivastava
 
Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Mayank Srivastava
 

Plus de Mayank Srivastava (8)

Microsoft DevOps Journey
Microsoft DevOps JourneyMicrosoft DevOps Journey
Microsoft DevOps Journey
 
CNUG - Effective Data Visualization
CNUG - Effective Data VisualizationCNUG - Effective Data Visualization
CNUG - Effective Data Visualization
 
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
CNUG - Getting started on IoT Devices & Solutions using Windows 10 & Microsof...
 
CNUG TDD June 2014
CNUG TDD June 2014CNUG TDD June 2014
CNUG TDD June 2014
 
Why do you need REST
Why do you need RESTWhy do you need REST
Why do you need REST
 
Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0Targeting Mobile Platform with MVC 4.0
Targeting Mobile Platform with MVC 4.0
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 

Dernier

Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?IES VE
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostMatt Ray
 
VoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXVoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXTarek Kalaji
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemAsko Soukka
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 

Dernier (20)

Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
VoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXVoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBX
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 

CNUG ASP.NET MVC 4 – New Features

  • 1. ASP.NET MVC 4 – New Features By Mayank Srivastava MPS Partners LLC
  • 2. About me Mayank Srivastava Senior Consultant / Specialist Web, MPS Partners LLC. http://MayankSrivastava.com MayankSri@Live.com MayankSri CNUG07-18-2012
  • 3. Know your audience • Experience on ASP.NET MVC prior versions? • Understanding of ASP.NET MVC framework? • jQuery Mobile / HTML 5? CNUG07-18-2012
  • 4. Topics • Quick Look • Solution Templates – Web and Mobile • Cloud Ready • Controller Anywhere • Cleaner Global.ascx.cs • Display Modes and Mobile Features • Web APIs • Bundling and minification • Task-based async controllers • Razor enhancements CNUG07-18-2012
  • 6. The Mobile Buzz… Why Target Mobile Platform? CNUG07-18-2012
  • 7. Case for Mobile CNUG07-18-2012 World’s population 7 billion Total Mobile Broadband Users Hit 1 Billion in 2011 The new primary way to browse the web.
  • 8. Top 10 CIO Technology Priorities in 2012 - SurveybyGartner 1. Analytics and business intelligence. (Last year's rank: 5) 2. Mobile technologies. (Last year's rank : 3) 3. Cloud computing, including SaaS. (Last year's rank : 1) 4. Collaboration/workflow technologies. (Last year's rank : 8) 5. Legacy modernization. 6. IT management. (Last year's rank : 4) 7. CRM 8. ERP applications 9. Security 10. Virtualization. (Last year's rank : 2) CNUG07-18-2012
  • 9. Building a Mobile Web App Leveraging your existing skills to build Mobile applications. What are the options? Client Side: HTML 5 / CSS 3 – Meta Viewport tag / Media Queries Server Side ASP.NET MVC – Display Modes CNUG07-18-2012
  • 10. Client side: CSS style – Pre HTML 5 CNUG07-18-2012
  • 11. What is HTML 5 • New version of HTML • A new standard UI platform. • Accepted on wide verity of platforms, not just web • Metro Apps • Apple web kit • Android platform • Packaging HTML 5 Websites as Apps using Phone Gap (aka Adobe Cordova) http://phonegap.com/ CNUG07-18-2012
  • 12. Client side : Adaptive rendering Problems: Bandwidth -Amount of data sent over the wire same whether mobile or desktop. Application performance – Potentially additional data fetch for mobile. User Experience – Smaller screen might need simpler UI design (button/links). CNUG07-18-2012 DAL Business Logic Presentation Logic (URL) Desktop Browser IE Mobile Win Phone Safari iPhone Safari iPad DB Web Application BrowsersStandard markup
  • 13. Server side : Display Modes Being able to send different views to different devices. CNUG07-18-2012 DAL Business Logic Presentation Logic (URL) Desktop Browser IE Mobile Win Ph 7 Safari iPhone Safari iPad DB Web Application BrowsersClient specific markup
  • 14. Demo • Display modes • jQuery Mobile CNUG07-18-2012
  • 15. Web API • A framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices • A platform for building RESTful applications on the .NET Framework • New landing page - http://www.asp.net/web-api • Demo from Channel 9 http://www.asp.net/web-api/samples CNUG07-18-2012
  • 16. Improvements to Mobile Web CNUG07-18-2012 DAL Business Logic Web API Desktop Browser IE Mobile Win Ph 7 Safari iPhone Safari iPad DB Web Application BrowsersClient specific HTML & JS based App Web App Web App Web App Web App
  • 17. Client side JavaScript libraries • Knockout.js • http://knockoutjs.com/ • http://learn.knockoutjs.com/ • History.js • https://github.com/balupton/history.js/wiki/Showcase • Upshot.js http://nuget.org/packages/upshot Single page Applications • http://code.msdn.microsoft.com/ASPNET-Single-Page-d6d7172c CNUG07-18-2012
  • 19. Bundling and Minification CNUG07-18-2012 Productivity feature Compression and bundling • CSS • JavaScript • Folder Bundles • Declarative Static bundles • Custom Dynamic bundles
  • 20. Async Controllers Old Event-based Asynchronous Pattern CNUG07-18-2012
  • 21. Async Controllers Task based asynchronous pattern CNUG07-18-2012
  • 22. Razor Enhancements • Use of ~ as Root. CNUG07-18-2012
  • 23. Download DEMO & Slides http://blogs.MPSPartners.com/MayankSrivastava/Default.aspx Also http://www.MayankSrivastava.com/ CNUG07-18-2012 Questions