44
for .NET developers Lynn Langit Developer Evangelist - Microsoft http://blogs.msdn.com/SoCalDevGal

Windows Azure for .NET Developers

  • Upload
    llangit

  • View
    7.423

  • Download
    2

Embed Size (px)

DESCRIPTION

deck from MSDN event in Anaheim on Feb 2009

Citation preview

Page 1: Windows Azure for .NET Developers

for .NET developers

Lynn Langit

Developer Evangelist - Microsoft

http://blogs.msdn.com/SoCalDevGal

Page 2: Windows Azure for .NET Developers

Windows Azure

Operating system for the cloudDesigned for utility computing

24/7 operationPay for what you useSimpler, transparent administration

Azure Services can:Manage Services (applications) AND /ORHost Services (applications) AND/ORStore Data

Page 3: Windows Azure for .NET Developers

Azure Architecture

.NET Services

Windows Azure Live Services

Applications – ‘web’ or ‘worker’

Applications

SQL Services

OthersWindowsMobile

WindowsVista/XP

WindowsServer

Page 4: Windows Azure for .NET Developers

Azure Platform

Azure™ Services Platform

Page 5: Windows Azure for .NET Developers

Azure Services

.NET Services

Windows Azure Live Services

Applications

Applications

SQL Services

OthersWindowsMobile

WindowsVista/XP

WindowsServer

Fabric

Compute Storage

Config

Application

Page 6: Windows Azure for .NET Developers

Interoperability

AzureAzure™™ Services Platform Services Platform

Page 7: Windows Azure for .NET Developers

What’s in the model?Service topology and sizeHealth constraintsConfiguration settings

Develop and Develop and ModelModel

Deploy and Deploy and RunRun

Maintain Maintain Service HealthService Health

Automated Service Management

Page 8: Windows Azure for .NET Developers

Fabric

Fabric

Compute Storage

Application

Windows Azure Fabric

Load Balance

r

HTTP

Agent

IIS

VMsVMs

WebRole

Instance

WorkerRole

Instance

VMs

Agent

Currently one-to-one, VM to Processor to Role

Page 9: Windows Azure for .NET Developers

How do I get started?

• Windows Vista or Windows Server 2008, Visual Studio 2008, .NET 3.5 SP1, IIS7, SQL Server Express 2008 

*You can use Microsoft Web Platform Installer to get prereqs

• Then download resources and set up an Azure project– Windows Azure SDK – Windows Azure Tools for Microsoft Visual Studio CTP– Request a token and create a project (either storage or hosted

services) at the Azure site

Page 10: Windows Azure for .NET Developers

Creating an Azure project

Page 11: Windows Azure for .NET Developers

Integrated VS development

Page 12: Windows Azure for .NET Developers

Demo:

A rich, familiar developer experience

& Automated Service Management

Page 13: Windows Azure for .NET Developers

Demo- local initialization

Page 14: Windows Azure for .NET Developers

An Azure Service Contains…

• One or more WEB Roles– ASP.NET or WCF, via HTTP(S) or TCP/IP Sockets

•Should be stateless (for scalability)•Use Azure storage for state –OR-•Use client cookies

• One or more WORKER Roles– Not exposed publically (in)– Often uses queues– Writes out to storage, or can expose publically (out)

Page 15: Windows Azure for .NET Developers

Web and Worker Roles - CSDEF

Page 16: Windows Azure for .NET Developers

Web and Worker Roles - CSCFG

Page 17: Windows Azure for .NET Developers

Azure Storage

Blobs QueuesTables

Fabric

Compute Storage

Application

HTTP

Local Testing (*local tables in SQL Server instance) and Cloud deployment

Page 18: Windows Azure for .NET Developers

Scalable, Available Cloud Storage

Simple, essential storage abstractions:Large items of user data: Blobs, file streams, …Service state: Simple tables, caches, …Service communication: Queues, locks, …Massive scale, availability and durabilityGeo-distribution and geo-replication

Page 19: Windows Azure for .NET Developers

Demo:

Azure Table Storage

Page 20: Windows Azure for .NET Developers

About Azure Services

Your Applications

Page 21: Windows Azure for .NET Developers

Getting Started

• Request an account - here

• Manage your account - here

Page 22: Windows Azure for .NET Developers

.NET Services

.NET Services

Windows Azure Live Services

Applications

Applications

SQL Services

OthersWindowsMobile

WindowsVista/XP

WindowsServer

Access Control

Service Bus

Workflow

?

Page 23: Windows Azure for .NET Developers

.NET Services

Access ControlServices that authenticate and authorizeDeclarative model of rules and claimsWorks with identity-management infrastructures

Service BusStandardized messaging & registry services for endpointsConnects corp. resources with cloud services

Workflow – Workflow in the Cloud

Page 24: Windows Azure for .NET Developers

Live Services

IdentityContactsDevicesSynchronization via Mesh

Page 25: Windows Azure for .NET Developers

.NET Services

Windows Azure Live Services

Applications

Applications

SQL Services

OthersWindowsMobile

WindowsVista/XP

WindowsServer

Live Framework (Cloud)

Data Sync

Live Framework(Desktop/Device)

Live Operating

Environment

Application

Live Operating

Environment

Live Services

Page 26: Windows Azure for .NET Developers

Live Services Architecture

Live Framework

Hotmail

. . .

Live Operating

Environment

YourApplications

Messenger

Contacts

Live Mesh

Calendar

Windows Live Applications

Search

. . .

Maps

Other LiveApplications

Live Services

Users

Communications and Presence

Devices

Applications

Synchronization

Identity

Directory

Storage

Search

Geospatial

Page 27: Windows Azure for .NET Developers

SQL Services

.NET Services

Windows Azure Live Services

Applications

Applications

SQL Services

OthersWindowsMobile

WindowsVista/XP

WindowsServer

SQL Data Services

Others (Future)

Page 28: Windows Azure for .NET Developers

DatabaseDatabase Reference Reference DataData

ETLETL Data Data MiningMining ReportingReporting

Data SyncData Sync

Page 29: Windows Azure for .NET Developers

The ACE Model

AuthorityUnit of geo-location and billing (DNS name)

ContainerPartition of DataWidest domain of QueryCollection of HeterogeneousEntities

EntityProperty bag of name/value pairsLightly-typedUnit of update/retrievalSchema-less, Flexible

Page 30: Windows Azure for .NET Developers

Major Subsystems

Mgmt. Services

Data NodeData Node

SQL Server

FabricFabric

Data Node Components

Partition ManagerPartition Manager

Master NodeMaster Node

Service ManagementService Management

Master ClusterMaster Cluster

Data ClusterData Cluster

Fabric Replication Fetch Partition

MapSQL

Client

Data Node Components

Partition ManagerPartition Manager

Master NodeMaster Node

SDS front-endSDS front-end

Data Access Library

REST/SOAP

ACE Logic

Front-end NodeFront-end Node

Data Access Library

REST/SOAP

ACE Logic

Front-end NodeFront-end Node

Mgmt. Services

Data NodeData Node

SQL Server

FabricFabric

Mgmt. Services

Data NodeData Node

SQL Server

FabricFabric

Mgmt. Services

Data NodeData Node

SQL Server

FabricFabric

Mgmt. Services

Data NodeData Node

SQL Server

FabricFabric

Data Access Library

REST/SOAP

ACE Logic

Front-end NodeFront-end Node

Page 31: Windows Azure for .NET Developers

Data Sync

Public App

On Premises Assets and Data

Mobile Users

• Consolidates data from multiple sources• Enables data sharing between mobile users,

remote offices and business partners• Allows leveraging cloud-computing for BI, ETL,

Reporting• Is an available, highly scalable endpoint

Page 32: Windows Azure for .NET Developers

"Huron" + MS Sync Framework

Mobile Clients Rich Clients

“Huron” Sync Service

SDS

Direct Clients

sync subset

Scale via SQL Data Services

• Consolidate business data in cloud & enable sharing

– to other desktops & mobile users

• Synchronize (network available)

• Each user does not have to be connected to a single database

• Out-of-the-box publication of Microsoft databases

• Solves the rendezvous problem

• More detail here

Page 33: Windows Azure for .NET Developers

Business Intelligence at a Glance

SQL Server Analysis Server (SSAS)

SQL Server Integration Server (SSIS)

SSIS source component

for SSDS

SSIS source component

for SSDS

Data ProviderData Provider

SQL Server Report Server (SSRS)

Page 34: Windows Azure for .NET Developers

Reporting

• On-premises provider– Can pull from SDS & on-premises data

• Leverage existing processes & assets– Uses existing tools & run-time– Flexible Report Builder– Rich Visualizations

Page 35: Windows Azure for .NET Developers

Report Designer: SSDS data sources

Page 36: Windows Azure for .NET Developers

Report Designer: Query against SSDS

Page 37: Windows Azure for .NET Developers

DM in the Cloud

Test Data Types•Relational•CSV•SQL Services

Test Data Types•Relational•CSV•SQL Services

Page 38: Windows Azure for .NET Developers

Try it in the cloud…

Page 39: Windows Azure for .NET Developers

Data Mining and Excel integration

Page 40: Windows Azure for .NET Developers

Calling the Cloud, from Excel 2007

Page 41: Windows Azure for .NET Developers

Demo:

SQL Data Services

Page 42: Windows Azure for .NET Developers

Resources

• Azure Services Platform - here• Ryan Dunn blog – here • Sync Blog – here • SQL Labs Incubation Projects – here

• SDS Provisioning Client – here • My Blog (SoCalDevGal) - here

Page 43: Windows Azure for .NET Developers

More Information

http://blogs.msdn.com/SoCalDevGal

Main Azure Site

Development Environment – (listed in install order)– Install IIS 7.0 per Azure release notes – w/ ASP.NET and WCF

HTTP Activation for Vista– (optional) install PowerShell to run CloudDrive sample– Azure SDK – October Azure CTP tools for VS2008 – Azure Services Training Kit

Page 44: Windows Azure for .NET Developers

Get Microsoft Software for FREE

For high school and college students - DreamSpark

For startup businesses - BizSpark

For everyone - Express editions – VS and SQL - here