Originally Astoria was known as Hallet’s Cove. It is a small city in the neighborhood in the north wastrel corner of the borough of Queens on New York City. But it has no known-to-me connection with the project Astoria, which is released by Microsoft in Sep. 2007 as CTP.
Project “Astoria” (Microsoft codename “Astoria”) is developed to enable applications to exposes data as a data service that can be consumed by web clients within a corporate network and across the internet.
Astoria exposes data as web services through an Entity Framework Data Model. The data service is reachable over HTTP, and URIs are used to identify the various pieces of information available through the service. Interactions with the data service happens in terms of HTTP verbs such as GET, POST, PUT and DELETE, and the data exchanged in those interactions is represented in simple formats such as XML and JSON. The results can be output in a number of formats including JSON and ATOM.
The base service exposes the list of entities in the model (http://mysite/myservice.svc
). The payload is just a raw XML representation of the data. There will be payloads for different formats, such as JSON, ATOM and more.
Presently Astoria is available in two experimental elements
1. Microsoft Codename Astoria toolkit and
2. Microsoft Codename Astoria online service
The Astoria toolkit consists of a set of runtime components, documentation, samples and Visual Studio integration elements that allows developers to create and consume Astoria data services in their own ASP.NET web applications.
The Astoria online service is an experimental deployment of the Astoria toolkit plus added infrastructure in the Microsoft Live Labs environment that can be accessed over the internet. The online service includes a number of pre-created sample data-sets exposed as data services. Soon the online service will offer the option of creating custom data services to allow for further experimentation with the technology using custom schemas and custom data.
Astoria data services uses the EDM as the model for the data exposed through its services. Having a high-level data model allows Astoria to provided added semantics to the service, such as having a clear definition of what an “entity” is for a given service or how to navigate from one entity to another associated entity.
The first Astoria CTP is a dual release, making Astoria available in the form of downloadable bits that can be used to build data services that are entirely contained within a single computer or network and as an experimental online service that you can use to create online stores that are hosted by Microsoft and are accessible over the internet.
Supported Operating Systems:
Windows Server 2003; Windows Vista; Windows XP Service Pack 2 or Windows Server 2003
Visual Studio 2008 (aka. “Orcas”) Beta2 running on Windows XP Professional with Service Pack 2 (SP2) or Windows Server 2003 or Windows Vista. SQL Server Express or any other SQL Server 2005 edition, is required in order to run the examples included.
ADO.NET Entity Framework Beta 2 release
ADO.NET Entity Framework Tools CTP (optional, but recommended for development)
Resources and Links
Project Astoria – Official wseb Site
Overview Document (MS-Word File)
Project Astoria Team Blog
Astoria September 2007 CTP for Visual Studio 2008 Beta 2
Astoria – Hello World Style Walkthrough