SlideShare a Scribd company logo
Websites, Web Services and Cloud Applications with Visual Studio
Web Applications & Services - One
ASP.NET

Services Deeper Dive - Web API
2, OData, SignalR 2.0
Cloud Applications and Services Windows Azure
Service
s

Websites
Web Forms

Web-pages

Single-Page
Apps

MVC

Web API

SignalR
Continuous innovation: Release every ~6 months

Sept
2012

ASP.NET
4.5
VS2012

Feb
2013

ASP.NET
and Web
Tools
2012.2

Fall
2013

VS2013
No “upfront decision”
on any ASP.NET
technology
Unified dialog
One Project: Web
Forms, MVC, Web API
Add any framework to any project
Scaffolding works across all
frameworks
Configurable authentication

Bootstrap used for
layout and styling
Templates based on
Bootstrap.js

Popular CSS layout framework
Many themes available

Completely new
scaffolding system
for One ASP.NET
Web application code
generation based on your data
model
Targets data-driven and CRUD
boilerplate code
ASP.NET Identity
(a.k.a. Membership)

New
Membership
system

One
ASP.NET
Identity
system

Supports
Integrated
claims-based with external
authenticatio logons
n
One ASP.NET

New
HTML
editor

AngularJS
IntelliSens
e

Enable
Edit and
Continue

Browser
Link
(“Artery”)

By default for new
web apps
Websites, Web Services and Cloud Applications with Visual Studio
ASP.NET
Web API
2

Available
as standalone
NuGet
packages

Web API
OWIN
security
integration
(CORS, OA
uth 2.0)

Attribute
routing

Web API
OData
Enable CORS
in web API
Per action

Per controller

[EnableCors(origins: "http://www.example.com", headers:
"*", methods: "*")]
public class ItemsController : ApiController
{
public HttpResponseMessage GetAll() { ... }
public HttpResponseMessage GetItem(int id) { ... }
public HttpResponseMessage Post() { ... }
[DisableCors]
public HttpResponseMessage PutItem(int id) { ... }

Globally
}
OWIN = Open
Web Interface
for .NET
Common interface that
decouples apps from servers

Standards for
connecting
servers to
frameworks
Deeply integrated with the
ASP.NET pipeline

Run your web
APIs on any
OWINcompliant host
(your own
process)
OWIN components that are built and released by Microsoft
Portable
Easily substituted for new
components
Third-party frameworks can
seamlessly run on Microsoft
servers
Microsoft frameworks can
potentially run on third-party
servers and hosts

Modular/flexible Lightweight/
Small and focused components
performance/
Lightweight
scalable
Consume fewer computing
resources
Handle more load
Bring your routes closer to your resources
config.Routes.MapHttpRoute(
name: “TodosForTodoList",
routeTemplate: "api/todolists/{id}/todos",
defaults: new { controller = “todolists”, action = “GetTodos” }
);

public IEnumerable<TodoItem> GetTodos() { … }
Bring your routes closer to your resources

config.MapHttpAttributeRoutes();

[HttpGet("api/todolists/{id}/todos")]
public IEnumerable<TodoItem> GetTodos(int id) { … }
Optional values

Default values

[HttpGet(“Demographics/{zipcode?}")]
public Demographics Get(int? zipcode) { … }

[HttpGet("Demographics/{zipcode=98052}")]
public Demographics Get(int zipcode) { … }
[HttpGet("people/{id:int}")]
public Person Get(int id) { … }
[HttpGet("people/{name:alpha}")]
public Person Get(string name) { … }
How to add support for:

OData provides a standard solution for common Web API
patterns
Components for
implementing OData
services

Open Source

Now supports
$select, $expand, and
$batch

Built on ODataLib
Incredibly simple realtime web for .NET

How can I use real-time
functionality in my app?

Simplicity

Anytime a user refreshes the page or you
use polling
Dashboards and monitoring
Collaborative anything
Gaming
Real-time forms and concurrency management

Reach
Performance
ASP.NET SignalR
2.0

OWIN
Portable
integration Class
Library
client
Xamarin
C++ client
client
for
(iOS, Andr Windows
oid, and
Mac)
Websites, Web Services and Cloud Applications with Visual Studio
Sandbox environments for application development and testing
on supported OS
QA and application compatibility on new O/S (e.g., WS 2012) or
software (e.g., SQL Server 2012)
Stress & load testing
SharePoint 2013 dev/test sandbox
Reproduction and bug fixing for s/w and app stack failures
Environment for doing training, learning and application demos
TFS: Customized TFS setup with < 2200 users; testing TFS
upgrades and roll-outs
Test/Dev VMs in the cloud

Windows Azure

Leverage existing skillset to
move test/dev to cloud

Hyper-V
VHD

Saved
Disk
State

Deploy

Sandbox Test/Dev
VMs

Connectivity with on-premises
data and applications
Azure Storage

Common identity

VPN
Tunnel

Onpremises

Dispersed
Teams

Common dev tools and
frameworks for on-premise &
cloud
Accessed by a geographically
dispersed team
Activate your MSDN Windows Azure benefit and
receive up to $150 in credit each month to use on
any Windows Azure service including
VMs, Websites, Databases and more.
http://aka.ms/vsAzure
Core technologies that enable a truly hybrid application platform
Decrease onboarding costs and increase customer satisfaction
Web Sites cluster
Web workers
Server or virtual machine
Local routing logic
End user

Development Tools
Worker process
(w3wp)

HTTP/S
Request

Front-end
application
request
router

…..

Upstream
hardware
loadbalancers

Temporary perapp file storage

Front-end
application
request router

Persistent
storage

Visual Studio,
WebMatrix

Protocols
FTP, Git, WebDeplo
y, HTTP

Source control integration
Web
application
databases
Cluster topology and
run-time state

Resource usage data

Web
application file
directories

Visual Studio Team Foundation Server 2010

Developer tools and protocols
Websites, Web Services and Cloud Applications with Visual Studio
Frameworks for scalable, available services

Tooling for modern applications

Rapid application development tools
Download
Visual Studio
2013
http://www.microsoft.com/
visualstudio

Try Visual
Studio Online

Get started with
Windows Azure

Activate your MSDN benefit or
sign up for a plan

Activate your MSDN Benefit and
try it, or get a Windows Azure
Free Trial Account.

http://www.visualstudio.com

http://www.windowsazure.com
Websites, Web Services and Cloud Applications with Visual Studio

More Related Content

What's hot (20)

PPTX
Word on the Server
Mohamed Yehia Abdul Kader
 
PDF
Azure cloud for students and educators
Lee Stott
 
PPTX
Developing Sandbox Solutions
Mohamed Yehia Abdul Kader
 
PPTX
Visual Studio 2017 Release Notes
Ian Philpot
 
PPTX
Access SharePoint Remotely
Mohamed Yehia Abdul Kader
 
PPTX
LightSwitch
Robert MacLean
 
PPTX
What's New for SP2010 Devs
Mohamed Yehia Abdul Kader
 
DOCX
VonageOnlyExperience
Steven Bricker
 
PPTX
ASP.NET
Robert MacLean
 
PPTX
Access & SharePoint
Mohamed Yehia Abdul Kader
 
PPTX
What's new in ALM using Visual Studio 2013 and TFS 2013
Microsoft Visual Studio
 
PPTX
Team Foundation Server 2013 Lansering
Solidify
 
PPTX
Developing an aspnet web application
Rahul Bansal
 
PPTX
Cross-Platform Apps/Games with Azure
Shahed Chowdhuri
 
PPTX
SharePoint Development with the SharePoint Framework
JoAnna Cheshire
 
PPTX
Build intelligent solutions using Azure
Mostafa
 
PDF
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
NCCOMMS
 
PPTX
Microsoft Stack Visual Studio 2010 Overview
rfennell
 
PDF
Angular resolver tutorial
Katy Slemon
 
PPTX
Titanium presentation
aaltavas
 
Word on the Server
Mohamed Yehia Abdul Kader
 
Azure cloud for students and educators
Lee Stott
 
Developing Sandbox Solutions
Mohamed Yehia Abdul Kader
 
Visual Studio 2017 Release Notes
Ian Philpot
 
Access SharePoint Remotely
Mohamed Yehia Abdul Kader
 
LightSwitch
Robert MacLean
 
What's New for SP2010 Devs
Mohamed Yehia Abdul Kader
 
VonageOnlyExperience
Steven Bricker
 
Access & SharePoint
Mohamed Yehia Abdul Kader
 
What's new in ALM using Visual Studio 2013 and TFS 2013
Microsoft Visual Studio
 
Team Foundation Server 2013 Lansering
Solidify
 
Developing an aspnet web application
Rahul Bansal
 
Cross-Platform Apps/Games with Azure
Shahed Chowdhuri
 
SharePoint Development with the SharePoint Framework
JoAnna Cheshire
 
Build intelligent solutions using Azure
Mostafa
 
O365Con18 - Introduction to Azure Web Applications - Eric Shupps
NCCOMMS
 
Microsoft Stack Visual Studio 2010 Overview
rfennell
 
Angular resolver tutorial
Katy Slemon
 
Titanium presentation
aaltavas
 

Viewers also liked (14)

PPTX
DevOps con Visual Studio Team Services
Luis Fraile
 
PPTX
Agile best practices and what is Scrum - from a certified Scrum Master and PM...
Akhil Munjal
 
PPTX
Business transformation & Change Management - How not to go wrong : From a se...
Akhil Munjal
 
PPTX
Business transformation & Change Management - How not to go wrong : From a se...
Akhil Munjal
 
PPT
DevOps and Visual Studio Team Services
WinWire Technologies Inc
 
PPTX
DevOps and Continuous Delivery with Visual Studio 2015 and VSTS
Solidify
 
PPTX
Chap 5 software as a service (saass)
Raj Sarode
 
KEY
Intro To webOS
fpatton
 
PPTX
Web Operating System Overview
Madhu Bala
 
PPTX
Visual studio 2017 - Launch Event Keynote
Delta-N
 
PDF
Web Services PHP Tutorial
Lorna Mitchell
 
PPTX
Introducing Visual Studio Online
Ed Blankenship
 
PPTX
Introducing DevOps
Nishanth K Hydru
 
PPTX
DevOps 101
Ernest Mueller
 
DevOps con Visual Studio Team Services
Luis Fraile
 
Agile best practices and what is Scrum - from a certified Scrum Master and PM...
Akhil Munjal
 
Business transformation & Change Management - How not to go wrong : From a se...
Akhil Munjal
 
Business transformation & Change Management - How not to go wrong : From a se...
Akhil Munjal
 
DevOps and Visual Studio Team Services
WinWire Technologies Inc
 
DevOps and Continuous Delivery with Visual Studio 2015 and VSTS
Solidify
 
Chap 5 software as a service (saass)
Raj Sarode
 
Intro To webOS
fpatton
 
Web Operating System Overview
Madhu Bala
 
Visual studio 2017 - Launch Event Keynote
Delta-N
 
Web Services PHP Tutorial
Lorna Mitchell
 
Introducing Visual Studio Online
Ed Blankenship
 
Introducing DevOps
Nishanth K Hydru
 
DevOps 101
Ernest Mueller
 
Ad

Similar to Websites, Web Services and Cloud Applications with Visual Studio (20)

PPTX
Best of Microsoft Dev Camp 2015
Bluegrass Digital
 
PPTX
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Rodolfo Finochietti
 
PPTX
Overview of SignalR
Amit Naik
 
PPTX
Owin from spec to application
damian-h
 
PPTX
Owin & katana
Fabian Vilers
 
PPTX
A Brief History of OWIN
Ryan Riley
 
PPT
OWIN (Open Web Interface for .NET)
Folio3 Software
 
PPTX
Web API or WCF - An Architectural Comparison
Adnan Masood
 
PPTX
OWIN and Katana Project - Not Only IIS - NoIIS
Bilal Haidar
 
PPT
.NET Core Apps: Design & Development
GlobalLogic Ukraine
 
PPT
IIS 6.0 and asp.net
Rishi Kothari
 
PDF
11.Open Data Protocol(ODATA)
Nguyen Tuan
 
PPTX
Windows 8 Metro apps and the outside world
Prabhakaran Soundarapandian
 
PPTX
Mini-Training Owin Katana
Betclic Everest Group Tech Team
 
PDF
Introducing ASP.NET vNext – The Future of .NET on the Server | FalafelCON 2014
FalafelSoftware
 
PPTX
What's new in Web Development with ASP.NET Core 2.1
Microsoft Tech Community
 
PPTX
NET app modernization and Microsoft Azure.pptx
NishitPatel409228
 
PPTX
O futuro do .NET : O que eu preciso saber
Danilo Bordini
 
Best of Microsoft Dev Camp 2015
Bluegrass Digital
 
Que hay de nuevo en Visual Studio 2013 y ASP.NET 5.1
Rodolfo Finochietti
 
Overview of SignalR
Amit Naik
 
Owin from spec to application
damian-h
 
Owin & katana
Fabian Vilers
 
A Brief History of OWIN
Ryan Riley
 
OWIN (Open Web Interface for .NET)
Folio3 Software
 
Web API or WCF - An Architectural Comparison
Adnan Masood
 
OWIN and Katana Project - Not Only IIS - NoIIS
Bilal Haidar
 
.NET Core Apps: Design & Development
GlobalLogic Ukraine
 
IIS 6.0 and asp.net
Rishi Kothari
 
11.Open Data Protocol(ODATA)
Nguyen Tuan
 
Windows 8 Metro apps and the outside world
Prabhakaran Soundarapandian
 
Mini-Training Owin Katana
Betclic Everest Group Tech Team
 
Introducing ASP.NET vNext – The Future of .NET on the Server | FalafelCON 2014
FalafelSoftware
 
What's new in Web Development with ASP.NET Core 2.1
Microsoft Tech Community
 
NET app modernization and Microsoft Azure.pptx
NishitPatel409228
 
O futuro do .NET : O que eu preciso saber
Danilo Bordini
 
Ad

More from Microsoft Visual Studio (8)

PPTX
What's new in ALM using Visual Studio 2013 and Team Foundation Service
Microsoft Visual Studio
 
PPTX
Transforming Software Development in a World of Devices and Services
Microsoft Visual Studio
 
PPTX
Accelerating Business Agility with Modern ALM
Microsoft Visual Studio
 
PPTX
Enterprise DevOps
Microsoft Visual Studio
 
PDF
Agile Planning - Scaling Agile Development
Microsoft Visual Studio
 
PPTX
Introducing Release Management for Team Foundation Server 2013
Microsoft Visual Studio
 
PDF
Quality Enablement - Agile Practices with Quality Enablement
Microsoft Visual Studio
 
PDF
Whats new for developers in Visual Studio 2013
Microsoft Visual Studio
 
What's new in ALM using Visual Studio 2013 and Team Foundation Service
Microsoft Visual Studio
 
Transforming Software Development in a World of Devices and Services
Microsoft Visual Studio
 
Accelerating Business Agility with Modern ALM
Microsoft Visual Studio
 
Enterprise DevOps
Microsoft Visual Studio
 
Agile Planning - Scaling Agile Development
Microsoft Visual Studio
 
Introducing Release Management for Team Foundation Server 2013
Microsoft Visual Studio
 
Quality Enablement - Agile Practices with Quality Enablement
Microsoft Visual Studio
 
Whats new for developers in Visual Studio 2013
Microsoft Visual Studio
 

Recently uploaded (20)

PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
July Patch Tuesday
Ivanti
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
July Patch Tuesday
Ivanti
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 

Websites, Web Services and Cloud Applications with Visual Studio

  • 2. Web Applications & Services - One ASP.NET Services Deeper Dive - Web API 2, OData, SignalR 2.0 Cloud Applications and Services Windows Azure
  • 4. Continuous innovation: Release every ~6 months Sept 2012 ASP.NET 4.5 VS2012 Feb 2013 ASP.NET and Web Tools 2012.2 Fall 2013 VS2013
  • 5. No “upfront decision” on any ASP.NET technology Unified dialog One Project: Web Forms, MVC, Web API Add any framework to any project Scaffolding works across all frameworks Configurable authentication Bootstrap used for layout and styling Templates based on Bootstrap.js Popular CSS layout framework Many themes available Completely new scaffolding system for One ASP.NET Web application code generation based on your data model Targets data-driven and CRUD boilerplate code
  • 9. ASP.NET Web API 2 Available as standalone NuGet packages Web API OWIN security integration (CORS, OA uth 2.0) Attribute routing Web API OData
  • 10. Enable CORS in web API Per action Per controller [EnableCors(origins: "http://www.example.com", headers: "*", methods: "*")] public class ItemsController : ApiController { public HttpResponseMessage GetAll() { ... } public HttpResponseMessage GetItem(int id) { ... } public HttpResponseMessage Post() { ... } [DisableCors] public HttpResponseMessage PutItem(int id) { ... } Globally }
  • 11. OWIN = Open Web Interface for .NET Common interface that decouples apps from servers Standards for connecting servers to frameworks Deeply integrated with the ASP.NET pipeline Run your web APIs on any OWINcompliant host (your own process)
  • 12. OWIN components that are built and released by Microsoft
  • 13. Portable Easily substituted for new components Third-party frameworks can seamlessly run on Microsoft servers Microsoft frameworks can potentially run on third-party servers and hosts Modular/flexible Lightweight/ Small and focused components performance/ Lightweight scalable Consume fewer computing resources Handle more load
  • 14. Bring your routes closer to your resources config.Routes.MapHttpRoute( name: “TodosForTodoList", routeTemplate: "api/todolists/{id}/todos", defaults: new { controller = “todolists”, action = “GetTodos” } ); public IEnumerable<TodoItem> GetTodos() { … }
  • 15. Bring your routes closer to your resources config.MapHttpAttributeRoutes(); [HttpGet("api/todolists/{id}/todos")] public IEnumerable<TodoItem> GetTodos(int id) { … }
  • 16. Optional values Default values [HttpGet(“Demographics/{zipcode?}")] public Demographics Get(int? zipcode) { … } [HttpGet("Demographics/{zipcode=98052}")] public Demographics Get(int zipcode) { … } [HttpGet("people/{id:int}")] public Person Get(int id) { … } [HttpGet("people/{name:alpha}")] public Person Get(string name) { … }
  • 17. How to add support for: OData provides a standard solution for common Web API patterns
  • 18. Components for implementing OData services Open Source Now supports $select, $expand, and $batch Built on ODataLib
  • 19. Incredibly simple realtime web for .NET How can I use real-time functionality in my app? Simplicity Anytime a user refreshes the page or you use polling Dashboards and monitoring Collaborative anything Gaming Real-time forms and concurrency management Reach Performance
  • 20. ASP.NET SignalR 2.0 OWIN Portable integration Class Library client Xamarin C++ client client for (iOS, Andr Windows oid, and Mac)
  • 22. Sandbox environments for application development and testing on supported OS QA and application compatibility on new O/S (e.g., WS 2012) or software (e.g., SQL Server 2012) Stress & load testing SharePoint 2013 dev/test sandbox Reproduction and bug fixing for s/w and app stack failures Environment for doing training, learning and application demos TFS: Customized TFS setup with < 2200 users; testing TFS upgrades and roll-outs
  • 23. Test/Dev VMs in the cloud Windows Azure Leverage existing skillset to move test/dev to cloud Hyper-V VHD Saved Disk State Deploy Sandbox Test/Dev VMs Connectivity with on-premises data and applications Azure Storage Common identity VPN Tunnel Onpremises Dispersed Teams Common dev tools and frameworks for on-premise & cloud Accessed by a geographically dispersed team
  • 24. Activate your MSDN Windows Azure benefit and receive up to $150 in credit each month to use on any Windows Azure service including VMs, Websites, Databases and more. http://aka.ms/vsAzure
  • 25. Core technologies that enable a truly hybrid application platform
  • 26. Decrease onboarding costs and increase customer satisfaction Web Sites cluster Web workers Server or virtual machine Local routing logic End user Development Tools Worker process (w3wp) HTTP/S Request Front-end application request router ….. Upstream hardware loadbalancers Temporary perapp file storage Front-end application request router Persistent storage Visual Studio, WebMatrix Protocols FTP, Git, WebDeplo y, HTTP Source control integration Web application databases Cluster topology and run-time state Resource usage data Web application file directories Visual Studio Team Foundation Server 2010 Developer tools and protocols
  • 28. Frameworks for scalable, available services Tooling for modern applications Rapid application development tools
  • 29. Download Visual Studio 2013 http://www.microsoft.com/ visualstudio Try Visual Studio Online Get started with Windows Azure Activate your MSDN benefit or sign up for a plan Activate your MSDN Benefit and try it, or get a Windows Azure Free Trial Account. http://www.visualstudio.com http://www.windowsazure.com