SQLAzure for SQL Saturday #95

Post on 26-May-2015

2.645 views 0 download

Tags:

description

deck from presentation at SQL Saturday in September 2011 in San Diego, CA

Transcript of SQLAzure for SQL Saturday #95

SQL Azure ToolsLynn LangitSr. Developer Evangelist – Microsoft@lynnlangit

Session Objectives and Takeaways• Session Objective(s):

– See and understand the breadth of tools for SQL Azure– These tools include the following:

• Windows Azure Portal• SQL Server Management Studio• Visual Studio (Juneau –or SSDT)/ LightSwitch• OData, WCF Data Services

• Session Takeaway:

– SQL Azure has a variety of tools – Use the right tool for the task(s)

Note: we are covering RELATIONAL cloud database options here only. For information about non-relational cloud data structures - (i.e. NoSQL, etc…) see this link

Extending SQL Server to the Cloud

Symmetry with Traditional RDBMS

Enterprise-class “scale-up” data platform

Multiple hardware platforms and deployment options

Deploy as dedicated server in customer datacenter, VM or 3rd party

Typically licensed per-server or per processor

Distributed “scale-out” database service

Abstracts OS and hardware management

Low-friction provisioning, multi-tenant

Automatic high-availability and data replication

Pay-as-you-go and commitment offers

Familiar T-SQL relational modelSupport existing code libraries and protocolsEcosystem of familiar development and management tools

SQL Azure Portal

Silverlight-based tools

demo

SQL Azure Portal

Manage Server

Import/Export• Dac Import/Export hosted

as a service• Now enabled in the portal• Codeplex project – here

Database Management Portal

• Logon

Database information

Database Schema Management

SQL Azure Reporting Beta

ODATA and WCF Data Services

demo

SQL Azure Labs

• Portal Location for CTP (Beta) content• http://www.sqlazurelabs.com

About OData

About SQL Azure & OData

SQL Server Management Studio

SQL Server Denali CTP 3--Connection Info--UAC --DACPAC

demo

About SQL Azure & SSMS 2008 R2 SP1

Be sure to update to SP1 - here

About SQL Azure & SSMS (Denali)

Visual Studio 2010 SP1Included tools--Server Explorer--Entity Framework--DACPAC--Refactoring--Intellisense

demo

Project “Juneau” (CTP 3)SQL Server Developer Tools in Visual Studio

• Can target SQL Azure (version targeting)• Server Explorer– Can Snapshot project (database)– Can Schema compare– Supports entity framework

• Improved Intellisense– Error syntax highlighting– Easier refactoring– Easier debugging (including stored procs)

SSDT Architecture

Visual Studio 2010 SP1

“Juneau” -- SQL Server Developer Tools

demo

SQL Server Developer ToolsCodename “Juneau”

Juneau in Visual Studio

• Server Explorer– Data Connections– New Node – SQL Server

• Connect to SQL Azure

• Connect to SQL Server

• LocalDB

• Can work online or offline

New – Table Designer in Visual Studio

Offline Projects – Visual Studio

New Project Type --Set Source connection--Set Target project--Set Import settings--Creates Off-line Project

SSDT Schema Compare

Refactoring• Find All Dependencies• Rename with Preview• Intellisense

Version Targeting & Publishing

More About Juneau• Table Designer• Schema Compare• Refactoring (find all references & go to definition)• SSDT project (to create objects)• Debug/test w/local DB• Publish (sync and/or apply incremental updates)

Visual Studio Light Switch

demo

Visual Studio Light Switch

• Beth Massi blog – Azure and Light Switch

– here

Other tools

• PowerShell• Command-line

• SQLCMD• bcp

• CodePlex tools• SQL Azure Migration Wizard

• 3rd party tools• Cerebrata, RedGate (www.queryanywhere.com), Quest

Session Objectives and Takeaways• Session Objective(s):

– See and understand the breadth of tools for SQL Azure– These tools include the following:

• Windows Azure Portal• SQL Server Management Studio• Visual Studio (Juneau –or SSDT)/ LightSwitch• PowerShell, Command-Line, Open Source, 3rd Party

• Session Takeaway:

– SQL Azure has a variety of tools – Use the right tool for the task(s)

Resources

• Windows Azure Platform Blog - here• MSDN SSDT section• MSDN Forum – here• SSDT Team Blog - here • Tip: Watch for information from SQLPass – here • Oct 11-14, 2011 in Seattle

Other Related Content

• Lynn’s Resources– http://blogs.msdn.com/SoCalDevGal– Twitter - @lynnlangit– http://www.slideshare.net/lynnlangit

www.TeachingKidsProgramming.org

• Do a Recipe Teach a Kid (Ages 10 ++)• Microsoft SmallBasic Free Courseware (recipes)