Introduction to New SQL Server Data Services
Tips and tricks, posted: 20-Feb-2009 09:00
Web-based Data Storage in a Cloud
This document is for developers with at least a basic idea of what "Cloud Computing" is and are familiar with Microsoft developer tools (e.g. Microsoft Visual Studio 2008). You must have experience designing and/or implementing systems deployed in "traditional" hosted environments.
Overview of Windows Azure Services Platform
Windows Azure Platform at a Glance
The Windows Azure Platform consists of infrastructure and APIs sourced from Microsoft, which allow developers to integrate new web developments on top of this platform.
In turn, these new tools that you create can either be standalone applications, or add-ins into Microsoft's other popular end-user applications such as Office Live, Exchange Online or SharePoint Online.

What Do I Get "in the Box"?
By hooking into the functionality exposed by the Azure platform, developers are able to take advantage of such services as Live Services (for Identity, Contacts & Devices), .NET Services (for Service Bus, Workflow and Access Control) and SQL Services (for Database, Analytics and Reporting).
Windows Azure will manage the process of deploying and localising storage. It will also manage the process of load balancing. You just code the application. Microsoft (via Azure) will maintain the infrastructure.

Overview of Microsoft SQL Server Data Services (SSDS)
SQL Services - Extending the SQL Data Platform to the Cloud
SQL Services are the data services tier of the Azure Services Platform. They are built on Microsoft SQL Server foundation, with broad data platform capabilities as a service such as friction-free provisioning and scaling; and significant investments in scale, high availability, lights-out operation, and total cost of ownership.
At this stage of the Beta programme, only the database and Data Sync functions are offered.

Your Data Any Place, Any Time
This tag line from Microsoft means your data can follow you around. There are 3 propositions to make this happen:
Shape of the Service
SSDS Service Architecture
SSDS is Microsoft's response to the question "How to extend SQL Server to the Cloud?" and implemented in the mid-tier. The conceptual service architecture model is your client application will interact with the SSDS storage tier via either REST or SOAP (your choice) web calls.
The SSDS Feature Areas are:

The ACE Concepts
- Authority
- Container
- Entity

Concepts: Entity
- Flexible Entity Model
- Metadata properties
- Flex properties
REST Support
- Representational State Transfer
- Very broad accessibility from almost any environment
- Simple XML-based payloads or plain old XML (POX)
Query Language
There is a Technical Preview available now:
- Open release of the desktop software development kit
- Limited preview of the cloud infrastructure with free usage and quotas
- Key Features
SSDS Takeaways
For More Information
Blogs
http://blogs.msdn.com/ssds
http://www.geekzone.co.nz/JamesHip
http://twitter.com/JamesHip
Landing pages
http://microsof.com/sql/dataservices
http://www.azure.com
http://msdn.microsoft.com/en-us/sqlserver
Download Visual Studio 2008 90 day trial
For detailed information and to request a free 90-day trial DVD of Visual Studio 2008 Team Suite to be sent out to you, go to the Microsoft Visual Studio webpage.
About the Author
James Hippolite started programming in 1983 on an Apple IIe, at the age of 14. After graduating with a bachelor degree in Information Systems from Victoria University of Wellington in New Zealand in 1990, he started working with small systems relational databases, like dBase, Paradox, FoxPro and finally Microsoft Access.
In 1991 he founded Mana Information Systems, a company for SME who couldn’t afford their own IT departments. As the lead developer, he developed small to medium WinForms applications using SQL Server, Visual Basic and latterly ASP. In 2003 James developed in C# his first .NET web application, an internal metrics reporting tool for his new employer, Telecom New Zealand, utilising SQL Server stored procedures and .NET classes.
Due to the worldwide success of SubSonic, James converted in 2008 to this O/R mapper, which is currently one of the market-leading data-access solutions for .NET, C# and VB.NET. James has been a trainer and contributed lectures on Microsoft Certification and SQL Server Reporting Services to the .NET community. James has received for his community efforts no MVP reward (yet).
He lives in Wellington and is currently employed full time in a large corporate and loving the regular hours that non-consultants enjoy.
Other related posts:
The New Zealand ALM Conference 2011 (Application Life Cycle Management)
Writing your own Html Helpers for the ASP.NET MVC Framework
Automating Visual Studio 2008
This document is for developers with at least a basic idea of what "Cloud Computing" is and are familiar with Microsoft developer tools (e.g. Microsoft Visual Studio 2008). You must have experience designing and/or implementing systems deployed in "traditional" hosted environments.
Overview of Windows Azure Services Platform
Windows Azure Platform at a Glance
The Windows Azure Platform consists of infrastructure and APIs sourced from Microsoft, which allow developers to integrate new web developments on top of this platform.
In turn, these new tools that you create can either be standalone applications, or add-ins into Microsoft's other popular end-user applications such as Office Live, Exchange Online or SharePoint Online.

What Do I Get "in the Box"?
By hooking into the functionality exposed by the Azure platform, developers are able to take advantage of such services as Live Services (for Identity, Contacts & Devices), .NET Services (for Service Bus, Workflow and Access Control) and SQL Services (for Database, Analytics and Reporting).
Windows Azure will manage the process of deploying and localising storage. It will also manage the process of load balancing. You just code the application. Microsoft (via Azure) will maintain the infrastructure.

Overview of Microsoft SQL Server Data Services (SSDS)
SQL Services - Extending the SQL Data Platform to the Cloud
SQL Services are the data services tier of the Azure Services Platform. They are built on Microsoft SQL Server foundation, with broad data platform capabilities as a service such as friction-free provisioning and scaling; and significant investments in scale, high availability, lights-out operation, and total cost of ownership.
At this stage of the Beta programme, only the database and Data Sync functions are offered.

Your Data Any Place, Any Time
This tag line from Microsoft means your data can follow you around. There are 3 propositions to make this happen:
- Agility means there is no schema. This means you code using completely flexible entities.
- Scalability means future growth is built in (and can be scaled back and forth daily, if your usage rate requires it).
- SLA means Microsoft will guarantee availablity, reliability and security.
Shape of the Service
SSDS Service Architecture
SSDS is Microsoft's response to the question "How to extend SQL Server to the Cloud?" and implemented in the mid-tier. The conceptual service architecture model is your client application will interact with the SSDS storage tier via either REST or SOAP (your choice) web calls.
The SSDS Feature Areas are:
- Data and Storage Models
- Web service API (REST, SOAP, resource and formats)
- Provisioning
- Query Model
- Security

The ACE Concepts
- Authority
- Unit of geo-location and billing
- Collection of containers
- Container
- Unit of consistency/search
- Collection of entities
- No schema requried
- Entity
- Property bag or name/value pairs
- Unit of update/change
- No schema

Concepts: Entity
- Flexible Entity Model
- No schema required
- Smallest unit of storage (unit of update)
- Metadata properties
- ID - unique name within parent container
- Kind - track user type (e.g. JobListing, Resume, Car, Circle, etc)
- Version - update timestamp on each operation
- Flex properties
- Can change instance type or add additional properties
- Support for simple types: decimal, string, blob, etc.
- All properties are indexed
REST Support
- Representational State Transfer
- Pure HTTP-based solution
- All resources are directly accessible from Internet URLs
- HTTP Verbs mapped directly to SSDS operations (UML: Create, Read, Update, Delete; SQL: INSERT, SELECT, UPDATE, DELETE; REST: POST, GET, PUT, DELETE)
- Very broad accessibility from almost any environment
- Simple XML-based payloads or plain old XML (POX)
Query Language
- Textual query language through Web-service head, passed in as literal text string
- Lanuage patterned after C# LINQ syntax
- Operator semantics handles variant values
- Query supported over metadata and data properties
There is a Technical Preview available now:
- Open release of the desktop software development kit
- Limited preview of the cloud infrastructure with free usage and quotas
- Key Features
- Virtual machines with dedicated resources
- Automated service management
- Simple service architectures
- Microsoft ASP.NET Web sites, managed code "workers"
- Storage
- Single, large data centre on the US West Coast
SSDS Takeaways
- Scale, cost and operations excellence
- Learn about customer and partner usage patterns
- Built on proven Windows Server and SQL Server technology
- Industrial strength servers; years of experience running large-scale MSN and Windows Live services
- Novel distributed data fabric for massive scale out and lights-out operation
- Service will evolve based on feedback and partnerships
For More Information
Blogs
http://blogs.msdn.com/ssds
http://www.geekzone.co.nz/JamesHip
http://twitter.com/JamesHip
Landing pages
http://microsof.com/sql/dataservices
http://www.azure.com
http://msdn.microsoft.com/en-us/sqlserver
Download Visual Studio 2008 90 day trial
For detailed information and to request a free 90-day trial DVD of Visual Studio 2008 Team Suite to be sent out to you, go to the Microsoft Visual Studio webpage.
About the Author
James Hippolite started programming in 1983 on an Apple IIe, at the age of 14. After graduating with a bachelor degree in Information Systems from Victoria University of Wellington in New Zealand in 1990, he started working with small systems relational databases, like dBase, Paradox, FoxPro and finally Microsoft Access. In 1991 he founded Mana Information Systems, a company for SME who couldn’t afford their own IT departments. As the lead developer, he developed small to medium WinForms applications using SQL Server, Visual Basic and latterly ASP. In 2003 James developed in C# his first .NET web application, an internal metrics reporting tool for his new employer, Telecom New Zealand, utilising SQL Server stored procedures and .NET classes.
Due to the worldwide success of SubSonic, James converted in 2008 to this O/R mapper, which is currently one of the market-leading data-access solutions for .NET, C# and VB.NET. James has been a trainer and contributed lectures on Microsoft Certification and SQL Server Reporting Services to the .NET community. James has received for his community efforts no MVP reward (yet).
He lives in Wellington and is currently employed full time in a large corporate and loving the regular hours that non-consultants enjoy.
Other related posts:
The New Zealand ALM Conference 2011 (Application Life Cycle Management)
Writing your own Html Helpers for the ASP.NET MVC Framework
Automating Visual Studio 2008
Permalink to Introduction to New SQL Server Data Services
(1 comment)
| Main Index
Comment by JamesHip, on 20-Feb-2009 14:22
I key point I should have made in this document (that I only learned last night after my presentation to the Wellington SQL Server User Group) is the confusion over the demarcation between Azure and SSDS. Try to think of it this way:
Azure is like a Cloud O/S.
SSDS is like a Cloud DB.
Your application can be hosted on Azure and querying data in SSDS.
Howeve, your application does not have to be hosted on Azure. It could be hosted locally on your PC or Mobile device, and querying data in SSDS.
HTH