web & cloud development jason keicher - microsoft
TRANSCRIPT
![Page 1: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/1.jpg)
Web & Cloud DevelopmentJason Keicher - Microsoft
![Page 2: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/2.jpg)
Web Development Trends
Open Devices Social Cloud
![Page 3: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/3.jpg)
One ASP.NET!!
ASP.NET
WebForm
s
Sites
WebPages
Single
PageApps
MVCWebAPI
SignalR
Services
![Page 4: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/4.jpg)
The new MVC web platformASP.NET MVC 4ASP.NET Web API
Visual Studio 2012Develop with Web StandardsDeploy to the Cloud
Reaching All Devices & Platforms
![Page 5: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/5.jpg)
Supporting your Investments!
One ASP.NETFeatures from MVC now in Web Forms:
HTML5 Support
Strongly Typed Data Controls
Model Binding
Unobtrusive Validation
.NET 4.5 improvementsSupport for Async
Support for HTML5 Web-Sockets
30% faster startup, 30% smaller memory footprint
![Page 6: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/6.jpg)
Reach every deviceOptimize for touch and mobile devices
Reach every platformBe productive with the latest standardsHTML5, CSS 3, and ECMAScript 5
Reach for the cloudDeploy to Microsoft Azure for high availability and scalability
Microsoft Web Platform
platforms
devices cloud
standards
![Page 7: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/7.jpg)
Cutting-edge web standards here todayModernized project templatesHTML5 best practices in place
Creating New ASP.NET Projects
![Page 8: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/8.jpg)
Complete control over HTMLEasy to script and styleEasy to SEO
Templates and scaffoldingBuild your controllers and views from code-first models
MVC 4 – Extensibility & Control
![Page 9: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/9.jpg)
Poll
![Page 10: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/10.jpg)
New Project Templates
Demo
![Page 11: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/11.jpg)
Mobile support“Display modes” select the best view for a browserMobile project templates include jQuery Mobile
Performance & scalabilityBundling and minification for optimal performance
MVC 4 for Mobile
![Page 12: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/12.jpg)
Mobile & Bundling
Demo
![Page 13: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/13.jpg)
EF approaches:Model First (RAD approach)
Database First (RAD approach)
Code-First (Fits Domain-Driven approaches)
EF performanceEF 5 brings high performance improvements, up to 67%
EF migrationsDB lifecycle, Schemas & database versions is simplified
Entity Framework 5
www.netcomlearning.com
![Page 14: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/14.jpg)
What is new in Entity Framework 5
Combination of • Updates to Entity Framework NuGet package• Updates to EF core libraries in .NET 4.5• Updates to EF Designer in Visual Studio 2012
Developer productivity
• Enums support• DB Context code generation by default (designer)• Multiple-diagrams per model (designer)• Batch Import of Stored Procedures (designer)• Shape highlighting and coloring (designer)• MVC 4 / Web API integration (model scaffolding)
Database features• Spatial types (Geography and Geometry)• Table-Valued Functions
Performance
• Automatic compiled query for LINQ• LINQ parameter evaluation optimization • Table-Per-Type query improvements• Large model improvements (designer and runtime)
![Page 15: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/15.jpg)
Real-time Communications With SignalR
![Page 16: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/16.jpg)
Microsoft /web
®
What is SignalR?An open-source series of libraries that
provide an abstraction around persistent HTTP connections
SignalR makes real-time HTTP so easy it seems like magic that it works
[In English, please]
![Page 17: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/17.jpg)
Microsoft /web
®
SignalR Components
ASP.NET OWINService
BusRedis
JQueryWinRT
Native .NET
Android(via Mono)
WP7Silverlig
ht
CLIENTS
BACKPLANES
SQL
iOS
HOSTS
![Page 18: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/18.jpg)
Microsoft /web
®
![Page 19: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/19.jpg)
Microsoft /web
®
Additional Features• Server Push• Scale Out• Service Bus• SQL Server• Redis
• Transport Fallback / Specification• Upgrade Resiliency• Future Tech
• Open Source
![Page 20: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/20.jpg)
Microsoft /web
®
Transports• WebSockets
• true persistent, two-way connection between the browser and server
• Server Sent Events• Aka – EventSource, no IE
• Forever Frame• IE only
• Ajax long Polling
![Page 21: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/21.jpg)
Poll
![Page 22: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/22.jpg)
Microsoft /web
®
Connections vs Hubs• Connections• Simple Endpoint for sending messages• Single recipient, grouped, broadcast• Lower level communication • PersistantConnection class• Think WCF
• Hubs• High level pipeline built upon Connection API• Client and server bi-directional method calling• Think .NET Remoting
![Page 23: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/23.jpg)
Microsoft /web
®
System Requirements - Server• Windows Server 2012 (WebSockets)• Windows Server 2008 r2.• Windows 8 (WebSockets)• Windows 7
• .NET 4• .NET 4.5 (WebSockets)
• IIS 7* / 8
![Page 24: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/24.jpg)
Microsoft /web
®
Browser Support • Microsoft Internet Explorer versions 8, 9 and 10. Modern,
Desktop, and Mobile versions are supported.• Mozilla Firefox: current version - 1, both Windows and Mac
versions.• Google Chrome: current version - 1, both Windows and Mac
versions.• Safari: current version - 1, both Mac and iOS versions.• Opera: current version - 1, Windows only.• Android browser
![Page 25: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/25.jpg)
Microsoft /web
®
Client Browser
WebServer
Got Data?
Got Data?
Got Data?
Got Data?
Here’s some data!
Got Data?
Got Data?
Got Data?
Got Data?
SignalR on Old Servers or Clients
![Page 26: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/26.jpg)
Microsoft /web
®
Client Browser
WebServer
I do real time, do you?
Absolutely!
SignalR on New Servers and Clients
Let’s Party in Real-time!
![Page 27: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/27.jpg)
Microsoft /web
®
Client Browser
WebServer
Basically…
SignalR!!!
![Page 28: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/28.jpg)
Microsoft /web
®
Backplane
SignalR BackplanesLoad balancing via a common transport mechanism
Load B
ala
nce
r
![Page 29: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/29.jpg)
Work with the latest standardsHTML5 validation and IntelliSenseFull support for CSS 3 features and vendor prefixesECMAScript 5 compliance and validation
Visual Studio 2012
![Page 30: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/30.jpg)
Search everywhereCommands, files, references, errors
Interactive developmentPage Inspector will find the files you need to work with
Round-trip projectsOpen, edit, and save Visual Studio 2010 projects
Visual Studio 2012 Productivity
![Page 31: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/31.jpg)
Visual Studio 2012 Features
Demo
![Page 32: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/32.jpg)
Supporting more platforms and devicesHTTP is ubiquitous XML is not the only format
LightweightLeverage HTTP message cache-abilitySmaller payloads Easy to test
Web Services Today
jsonhttp
xml odata
{ }
< />
![Page 33: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/33.jpg)
Embrace HTTPContent negotiationVerb routing (ASP.NET Routing)Build restful services
Support every clientMobile devicesScripting languages
First-class Http prog.modelSymmetrically supported on client (via the new HttpClient) and server
ASP.NET Web API
IIS or Azure Web Site
SQL Server
DB
ASP.NET Web API
Business Logic
JavaScript Client
PHP Client
C# Client (Desktop)
Java Client (Phone)
![Page 34: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/34.jpg)
Poll
![Page 35: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/35.jpg)
Web APIDemo
![Page 36: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/36.jpg)
Deployment & Dev Parity
computewebsites
cloud services VMs IaaS
automated
elastic
managed resources
usage based
On-Premise
compliance
full responsibility
managed resources
Up-front investments
computeservers VMs IaaS
![Page 37: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/37.jpg)
Server explorerIntegration to Windows Azure assets
Simplified deploymentRoles and websites
Easier certificates management
ProfilingProfile applications running in Windows AzureRunning IntelliTrace on Windows Azure deploymentsIntelliTrace in production
Visual Studio & Windows Azure
![Page 38: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/38.jpg)
Continuous Deployment to the Cloud
My ApplicationALM Cycles
Continuous Deployment to Windows Azure
Team Foundation Service
![Page 39: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/39.jpg)
Azure Deployment
Demo
![Page 40: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/40.jpg)
Frameworks for scalable, available services
Tooling for modern applications
Support for an application throughout the lifecycle
Automated deployments for continuous delivery
The Web Platform For Developers
![Page 41: Web & Cloud Development Jason Keicher - Microsoft](https://reader038.vdocuments.mx/reader038/viewer/2022103101/56649e015503460f94aeb461/html5/thumbnails/41.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Thank You!Stick Around for Q&A