Windows Azure and Silverlight: A Match Made For the Web Matthew Kerner Program Manager Windows Azure Fabric Controller 1.

Slides:



Advertisements
Similar presentations
Windows Azure for SharePoint people Dennis – Solution Architect Microsoft Windows Azure.
Advertisements

Thread blocks Waiting… Thread Context Hosted Compute Blob Storage Blob Storage Hosted Compute.
Page 1 Ricardo Villalobos Windows Azure Architect Evangelist Microsoft Corporation Designing, Building, and Deploying Windows Azure applications.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
Emmanuel Mesas Microsoft Western Europe Leverage Azure Services & Platform with Existing Application.
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
November 3rd, 2010 COMS W Outline Overview of Azure Key Components A. Windows Azure B. SQL Azure C. Windows Azure Platform AppFabric Demos HelloCloud.
Overview Of Microsoft New Technology ENTER. Processing....
Virtual techdays INDIA │ 9-11 February 2011 The Whole New Windows Azure Platform Management Portal Saranya Sriram │ Developer Evangelist, Microsoft.
Switching on the cloud for Silverlight MSDN Live Meeting Gill Cleeren Microsoft Regional Director – Silverlight MVP Ordina Belgium.
Server Roles and Features.NET Framework 3.51.NET Framework 4.5 IIS Web Server IIS Default Document IIS Directory Browsing IIS HTTP Errors.
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
Joey Snow Technical Evanglist Microsoft Corporation SESSION CODE: WSV310.
COS302. = Managed for YouStandalone Servers IaaSPaaSSaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking.
WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH Web app developers who are already familiar with Windows Azure with scaling needs. Asynchronous.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Windows Azure Storage Services Saranya Sriram, Technology Evangelist, Microsoft, India.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Cross Platform Mobile Backend with Mobile Services James
Components of Windows Azure - more detail. Windows Azure Components Windows Azure PaaS ApplicationsWindows Azure Service Model Runtimes.NET 3.5/4, ASP.NET,
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Migrating Business Apps to Windows Azure Marc Müller Principal Consultant, 4tecture GmbH
Getting Started with Windows Azure Name Title Microsoft Corporation.
Austin code camp 2010 asp.net apps with azure table storage PRESENTED BY CHANDER SHEKHAR DHALL
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Windows Azure Insights for the Enterprise IT Pro John Craddock Infrastructure and Identity Architect XTSeminars AZR301.
Windows Azure: Microsoft’s Cloud Platform By Shahed Chowdhuri.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
WINDOWS AZURE PLATFORM ROADMAP Eric Nelson Slide 1.
Microsoft Azure SoftUni Team Technical Trainers Software University
Intro to cloud computing and Azure. And in a non-Cloud view, there are inefficiencies in addressing those issues TIME IT CAPACITY Actual Load Allocated.
WINDOWS AZURE Scott Guthrie Corporate Vice President Windows Azure
Azure Services Platform Update James Conard Sr. Director Developer & Platform Evangelism Microsoft Corporation.
IOS and Android with Windows Azure Websites Name Title Address Website.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Building Mobile Phone Applications With Windows Azure Nick HarrisWindows Azure Technical Evangelist Microsoft Blog:
Windows Azure for scalable compute and storage SQL Azure for relational storage for the cloud AppFabric infrastructure to connect the cloud.
Chad Collins CEO Henry Chan CTO In Latin, nubifer means “bringing the clouds”
Text Microsoft to Or Tweet #uktechdays Questions?
 Mike Martin  Architect  MEET Member  Crew Member of Azug  Windows Azure Insider  Windows Azure MVP  
A Technical Overview Bill Branan DuraCloud Technical Lead.
Windows Azure Custom Software Development Mobile Middleware Windows Azure Compute Dipl.-Ing. Damir Dobric Lead Architect daenet
Building and Diagnosing Applications using Visual Studio and Azure SDK Paul Yuknewicz Principal PM Manager.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Windows Azure poDRw_Xi3Aw.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Virtual techdays INDIA │ august 2010 Building & Deploying Windows Azure Application using VS2010 Saranya Sriram │ Developer Evangelist, Microsoft.
Windows Azure Boot CampWindowsAzureBootCamp.com. Windows Azure Boot CampWindowsAzureBootCamp.com.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
DreamFactory for Microsoft Azure Is an Open Source REST API Platform That Enables Mobilization of Data in Minutes across Frameworks and Storage Methods.
Deploying Web Application
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
PaaS - Development Stefan Geiger Gerry
02 | Hosting Services in Windows Azure
Data Security for Microsoft Azure
Saranya Sriram Developer Evangelist | Microsoft
Developing for Windows Azure
5 Azure Services Every .NET Developer Needs to Know
02 – Cloud Services Bret Stateham | Senior Technical Evangelist​
System Center Configuration Manager Cloud Services – Cloud Distribution Point Presented By: Ginu Tausif.
06 | SQL Server and the Cloud
Presentation transcript:

Windows Azure and Silverlight: A Match Made For the Web Matthew Kerner Program Manager Windows Azure Fabric Controller 1

Silverlight & Azure Silverlight: rich & functional UI Azure: deployment/upgrade, monitoring, throughput, scalability, geo-replication What if we connect the dots? – A little bit of Azure will go a long way for Silverlight developers Today’s talk – A Little Bit of Azure – Silverlight & Azure Design Patterns – Tips and Tricks 2

A LITTLE BIT OF AZURE Demo: Slides.html Slides.html 3

So What? Stop worrying about racking & stacking, OS & service deployment & servicing, monitoring No up-front capex, just pay as you grow Geo-distribution & massive scale – Energy efficiency and cost savings Developers can focus on business and customers, not operations & administration 4

Windows Azure Components 5 Windows Azure SDK Dev Fabric Dev Storage Application Package

Diversion: Service Model 6 LB Front End Roles & Interfaces ConnectionString=fabrikam.com:80 MaxTimeout=20 … ConnectionString=fabrikam.com:80 MaxTimeout=20 … Configuration Settings Update 20% of the service at any one time Policies Service Model Front End Biz Logic

Windows Azure Components 7 Browser Silverlight Service Management API Windows Azure SDK Dev Fabric Dev Storage Application Package Geo-Distributed Datacenters Production Fabric & Storage CDN

DESIGN PATTERNS Silverlight hosted on Windows Azure Silverlight accessing Windows Azure Storage Storage-Only 8

Pattern: Silverlight Hosted on Azure Pattern – ASP.NET website hosted in Windows Azure – XAP file hosted on the website, used in the browser – Like an on-premises website, but has the flexibility of the cloud (geo, scale, easy deployment & upgrade) Demo – Converting an existing Silverlight project to a cloud project – Running in the dev fabric – Deploying to the cloud 9 Browser Silverlight Hosted App ASP.NET XAP

Windows Azure Storage – Durable, highly available, highly scalable – Tables, Blobs, and Queues – REST API &.Net Storage Client Library – Pay per GB stored, transferred, and per transaction Proxy via a {ASP.NET, WCF} hosted compute service You might think to access tables directly from the browser with REST, but… – Key leakage – No authentication headers or storage client library in Silverlight – Cross-domain issues 10 Browser Silverlight Hosted App ASP.NET XAP Table Storage

Blob Storage Access Offload blob access directly to blob storage – Avoid load & latency for images, video, music Public anonymous access with global CDN Can serve XAP from blob storage too For some scenarios, add cross-domain policy file to the root blob container 11 Browser Silverlight Hosted App ASP.NET XAP Blob Storage XAP Media

Authenticated Blob Storage Access Scenarios – Paid content – Prevent deep linking (e.g. context, ad revenue) Shared access signatures (aka pre-authorized URLs) – Grant specific rights for a specific time window – Extend & revoke on demand 12

Pattern: Shared Access Signatures Account key is stored securely in the cloud Proxy service generates shared access signatures on client demand using that key Browser accesses blob storage directly to avoid latency & load on hosted app 13 Browser Silverlight Hosted App ASP.NET 1. Generate Shared Access Signature 2. Return the URL to the client3. Client accesses blob storage directly XAP Blob Storage Media Key

Sample: Shared Access Signatures 14 using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.StorageClient; var csa = CloudStorageAccount.FromConfigurationSetting("StorageAccount"); var cbc = csa.CreateCloudBlobClient(); var blobRef = var sap = new SharedAccessPolicy() { SharedAccessExpiryTime = DateTime.UtcNow+TimeSpan.FromMinutes(30.0), Permissions = SharedAccessPermissions.Read }; var sas = blobRef.GetSharedAccessSignature(sap); // Keep SAS private w/SSL (distribution & in the URL itself) Response.Redirect(blobRef.Attributes.Uri + sas);

Compute-to-Browser Static sites may not need hosted compute Push all compute to the browser Serve XAP & media from public root container Use the CDN to serve blobs from the edge 15 Browser Silverlight Hosted App ASP.NET XAP Blob Storage Media HTML

TIPS, TRICKS & GOTCHAS Cloud Tips Visual Studio & Azure Silverlight WCF 16

Cloud Tips Crawl: dev fabric & dev storage Walk: dev fabric & prod storage Run: prod fabric & prod storage Windows Azure Diagnostics gives you visibility into the cloud from your desktop Various storage clients available (myazurestorage.com, Cerebrata, Clumsy Leaf, etc.) csmanage sample allows you to script deployment, config changes, etc 17

Visual Studio & Azure Use.Net Framework 3.5 in the cloud (for now) – Remove broken reference to Microsoft.CSharp Recommend built-in MVC web role – Sets Copy Local = True for System.Web.MVC Use web app (not web site) for cloud projects Adding existing roles to a cloud project – Remember to add them to the role list Adding a cloud project to an existing project – Remember to set the cloud project as the startup project 18

Silverlight Either Silverlight or JS debugging, but not both Add Silverlight MIME type to support Silverlight in dev fabric – Open IIS Configuration Manager – Double click MIME Types on the right hand side – Map from.xap to application/x-silverlight-app Remember to allow public access to the root blob container – Add a cross-domain policy file as necessary Smooth streaming not yet supported in Azure but progressive HTTP works 19

WCF WCF considerations for load-balanced endpoints – Load-balanced endpoint flags – Consider connection timeouts (1 minute) Asynchronous patterns work well – PollingDuplexHttpBinding expects affinity Store client state centrally across frontend role instances Different port mappings in the cloud – Quick: Patch port mappings in auto-generated service reference – Fancy: Generate your own metadata aspx?title=KnownIssues aspx?title=KnownIssues 20

Other Azure Services SQL Azure – SQL database in the cloud – Provisioned on-demand with high availability – No physical administration required Windows Azure Platform AppFabric – Service bus Connect securely between on-premise services and cloud services – Firewall traversal with message rendezvous in the cloud – Access Control Single sign-on to your service for your customers using their existing identity system – Federated identity, claims-based authentication 21

Summary Azure makes running services easy – Automated deployment & management – Scale – Geo-distribution Azure & Silverlight are a great match Getting Started – Install the Azure Tools for VS – Run a Silverlight app in the Dev Fabric – Run a Silverlight app in the cloud 22

Further Information Getting Started: – VS Tools: – Dev Portal: – Forum: – Docs: – Blog: Tips – Jim Nakashima’s blog (lots of tips): – WCF on Azure Sample: – WCF on Azure Tips: – Additional samples: Useful PDC 2009 talks: – My First Azure App: – Diagnostics on Azure: – Service Management: 23