Julie Lerman, New England Code Camp 10/17/2009Data in the Azure CloudJulie Lermanjlerman@thedatafarm.com
Julie LermanJulie Lerman, New England Code Camp 10/17/2009websitetheDataFarm.comblog & twittertheDataFarm.com/blog@julielermanVTbook web siteLearnEntityFramework.comconsultant/mentorMicrosoft MVP, INETA Speaker,ASPInsider, MCP, VTdotNET Leader
AgendaWhat is Azure?Type of ServicesTypes of StorageStoring/Accessing Azure TablesWorking Directly with SQL AzureData through ServicesJulie Lerman, New England Code Camp 10/17/2009
Azure PlatformWeb Host on SteroidsHardware + Cloud Operating System“Reliable, Highly Available, Scalable & Fault Tolerant”Simple deploymentAzure “Fabric”Integration of all that impact your serviceAutomatically adjusts resources as neededJulie Lerman, New England Code Camp 10/17/2009
Azure Platform ComponentsJulie Lerman, New England Code Camp 10/17/2009Host your apps & servicesStorageRelational Database in the CloudAccess Control ServicesService Bus
Windows Azure for Your AppsWeb RoleApp or Service with an external endpointWeb App, Web Service, WCF Service, RIA , etc.Worker RoleProvides background processing for appsNo external endpointsCloud Service“Wrapper” service that defines the rolesJulie Lerman, New England Code Camp 10/17/2009
Ramping Up for App Developmentmsdn.microsoft.com/azureGet a token for Azure accountsCTP is Free (microsoft.com/azure/register.mspx)Visual Studio 2008 SP1Or Web Developer Express 2008 SP1Windows Azure SDKWindows Azure Tools for Visual StudioWindows Azure Training KitJulie Lerman, New England Code Camp 10/17/2009
Hello AzureDemoJulie Lerman, New England Code Camp 10/17/2009
Storage in AzureJulie Lerman, New England Code Camp 10/17/2009
Developing for Azure TablesAzure Table data built from your classesAccess via ADO.NET Data ServicesRead & write to table as you would to ANDSLeverage StorageClient API in SDK SamplesDefine dev & cloud tables in codeDev Default: SQL Server Express 2005/2008 Best Practices White Paper http://go.microsoft.com/fwlink/?LinkId=153401Julie Lerman, New England Code Camp 10/17/2009
Using Azure tablesDemoJulie Lerman, New England Code Camp 10/17/2009
Porting Storage to the cloudJulie Lerman, New England Code Camp 10/17/2009Modify ConfigurationAccountName=julielermanAccountSharedKey=[primary access key]TableStorageEndpoint > http://table.core.windows.net  More Details in Critical MSDN Doc: Deploying a Service on Windows Azure, Author: Jim Nakashima
Connect to SQL Azure SQL Server 2008SQL Azure is not totally compatible with design tools (yet)Can’t access with VS2008 DB design toolsSSMS DB Login fails. Begin with queryJulie Lerman, New England Code Camp 10/17/2009
Developing for SQL AzureVS IDE does not work directly with cloudDevelop and Test with local databaseSwitch connection string to use cloud dbSQL Azure has a subset of SS FeaturesNot all SQL Server types are supportedMARS is not supportedEntity Framework leans on MARSBe sure to code around this limitationJulie Lerman, New England Code Camp 10/17/2009
Using SQl azureDemo	Julie Lerman, New England Code Camp 10/17/2009
Migrating Databasesto SQL Server“Migrating Databases” HOL in Training KitDetailed walk throughGenerate SQL Script to Create DatabaseModify to remove unsupported featuresUDFs, Windows Authentication, File Groups, ANSI_NULLS, ROWGUIDCOL, NOT FOR REPLICATION, XML SCHEMA COLLECTION and more… Julie Lerman, New England Code Camp 10/17/2009
Using Blobs as a DataSourceXML File can be a blobEntry in service configuration fileBe sure Blob service is running locallyRead and write streams to the blogChange endpoint in config to go liveJulie Lerman, New England Code Camp 10/17/2009
SummaryAzure marketing is overwhelmingLook at the pieces that you needBiggest benefit is enormous scaleTight integration with Visual StudioFamiliar and new paradigmsAnd…it’s not free (but the CTP is )Julie Lerman, New England Code Camp 10/17/2009
ResourcesWindows Azure ToolkitMicrosoft.com/azureMsdn.microsoft.com/azure“How Do I” videos on msdn/azureRoger Jennings (oakleaf.blogspot.com)Cloud Computing with the Windows Azure Platform (WROX) Blogs.msdn.com/ssds, learnazure,cloud, windowsazureJulie Lerman, New England Code Camp 10/17/2009
Julie LermanJulie Lerman, New England Code Camp 10/17/2009websitetheDataFarm.comblog & twittertheDataFarm.com/blog@julielermanVTbook web siteLearnEntityFramework.comconsultant/mentorMicrosoft MVP, INETA Speaker,ASPInsider, MCP, VTdotNET Leader

Data in the Azure Cloud, by Julie Lerman

  • 1.
    Julie Lerman, NewEngland Code Camp 10/17/2009Data in the Azure CloudJulie Lermanjlerman@thedatafarm.com
  • 2.
    Julie LermanJulie Lerman,New England Code Camp 10/17/2009websitetheDataFarm.comblog & twittertheDataFarm.com/blog@julielermanVTbook web siteLearnEntityFramework.comconsultant/mentorMicrosoft MVP, INETA Speaker,ASPInsider, MCP, VTdotNET Leader
  • 3.
    AgendaWhat is Azure?Typeof ServicesTypes of StorageStoring/Accessing Azure TablesWorking Directly with SQL AzureData through ServicesJulie Lerman, New England Code Camp 10/17/2009
  • 4.
    Azure PlatformWeb Hoston SteroidsHardware + Cloud Operating System“Reliable, Highly Available, Scalable & Fault Tolerant”Simple deploymentAzure “Fabric”Integration of all that impact your serviceAutomatically adjusts resources as neededJulie Lerman, New England Code Camp 10/17/2009
  • 5.
    Azure Platform ComponentsJulieLerman, New England Code Camp 10/17/2009Host your apps & servicesStorageRelational Database in the CloudAccess Control ServicesService Bus
  • 6.
    Windows Azure forYour AppsWeb RoleApp or Service with an external endpointWeb App, Web Service, WCF Service, RIA , etc.Worker RoleProvides background processing for appsNo external endpointsCloud Service“Wrapper” service that defines the rolesJulie Lerman, New England Code Camp 10/17/2009
  • 7.
    Ramping Up forApp Developmentmsdn.microsoft.com/azureGet a token for Azure accountsCTP is Free (microsoft.com/azure/register.mspx)Visual Studio 2008 SP1Or Web Developer Express 2008 SP1Windows Azure SDKWindows Azure Tools for Visual StudioWindows Azure Training KitJulie Lerman, New England Code Camp 10/17/2009
  • 8.
    Hello AzureDemoJulie Lerman,New England Code Camp 10/17/2009
  • 9.
    Storage in AzureJulieLerman, New England Code Camp 10/17/2009
  • 10.
    Developing for AzureTablesAzure Table data built from your classesAccess via ADO.NET Data ServicesRead & write to table as you would to ANDSLeverage StorageClient API in SDK SamplesDefine dev & cloud tables in codeDev Default: SQL Server Express 2005/2008 Best Practices White Paper http://go.microsoft.com/fwlink/?LinkId=153401Julie Lerman, New England Code Camp 10/17/2009
  • 11.
    Using Azure tablesDemoJulieLerman, New England Code Camp 10/17/2009
  • 12.
    Porting Storage tothe cloudJulie Lerman, New England Code Camp 10/17/2009Modify ConfigurationAccountName=julielermanAccountSharedKey=[primary access key]TableStorageEndpoint > http://table.core.windows.net More Details in Critical MSDN Doc: Deploying a Service on Windows Azure, Author: Jim Nakashima
  • 13.
    Connect to SQLAzure SQL Server 2008SQL Azure is not totally compatible with design tools (yet)Can’t access with VS2008 DB design toolsSSMS DB Login fails. Begin with queryJulie Lerman, New England Code Camp 10/17/2009
  • 14.
    Developing for SQLAzureVS IDE does not work directly with cloudDevelop and Test with local databaseSwitch connection string to use cloud dbSQL Azure has a subset of SS FeaturesNot all SQL Server types are supportedMARS is not supportedEntity Framework leans on MARSBe sure to code around this limitationJulie Lerman, New England Code Camp 10/17/2009
  • 15.
    Using SQl azureDemo JulieLerman, New England Code Camp 10/17/2009
  • 16.
    Migrating Databasesto SQLServer“Migrating Databases” HOL in Training KitDetailed walk throughGenerate SQL Script to Create DatabaseModify to remove unsupported featuresUDFs, Windows Authentication, File Groups, ANSI_NULLS, ROWGUIDCOL, NOT FOR REPLICATION, XML SCHEMA COLLECTION and more… Julie Lerman, New England Code Camp 10/17/2009
  • 17.
    Using Blobs asa DataSourceXML File can be a blobEntry in service configuration fileBe sure Blob service is running locallyRead and write streams to the blogChange endpoint in config to go liveJulie Lerman, New England Code Camp 10/17/2009
  • 18.
    SummaryAzure marketing isoverwhelmingLook at the pieces that you needBiggest benefit is enormous scaleTight integration with Visual StudioFamiliar and new paradigmsAnd…it’s not free (but the CTP is )Julie Lerman, New England Code Camp 10/17/2009
  • 19.
    ResourcesWindows Azure ToolkitMicrosoft.com/azureMsdn.microsoft.com/azure“HowDo I” videos on msdn/azureRoger Jennings (oakleaf.blogspot.com)Cloud Computing with the Windows Azure Platform (WROX) Blogs.msdn.com/ssds, learnazure,cloud, windowsazureJulie Lerman, New England Code Camp 10/17/2009
  • 20.
    Julie LermanJulie Lerman,New England Code Camp 10/17/2009websitetheDataFarm.comblog & twittertheDataFarm.com/blog@julielermanVTbook web siteLearnEntityFramework.comconsultant/mentorMicrosoft MVP, INETA Speaker,ASPInsider, MCP, VTdotNET Leader