Readme.txt File for ADO.NET Data Services SP1 Beta and Entity Framework SP1 Beta

This is the updated version for ADO.NET Data Services and Entity Framework SP1 Beta. The data types in the project now conform to those in my "Manipulate Data in the Cloud" artice for the May 2008 issue of "Visual Studio Magazine."

1. This sample project consists of separate ADO.NET Data Service service (NwindDataService.sln) and client (NwindDSClient.sln) projects that extract to the \AstoriaBeta folder instead of the previous version's \AstoriaCTP folder.

2. The project requires an instance of the Northwind sample database running on a local instance of SQL Server Express. If your data source is otherwise configured, correct the entry for the NorthwindEntities connection string in the NwindDataService project's Web.config file.

3. The service has a fixed TCP port = 52660.

4. Start the NwindDataService.sln project and execute in Internet Explorer a URI query against an EntitySet, such as http://localhost:52660/Northwind.svc/Categories to test the SQL Server connection. You don't need to turn off IE 7/8's Feeds feature unless you want to see the Atom data returned by URI queries.

5. Start the NwindDSClient.sln project and click the top four query buttons, with and without the Use LINQ Queries check box marked.

6. Click the bottom three buttons to add, update, and delete a BOGUS customer entity.

Enjoy,

--rj

Changes required to update NwindDataService to SP1 Beta from previous version:

1. Change Microsoft.Data.Web namespace to System.Data.Services
2. Change WebDataService to DataService
3. Change ResourceActions to UpdateOperations
4. Change IWebDataServiceConfiguration to IDataServiceConfiguration
5. Change WebDataServiceException to DataServiceException
6. Change config.SetResourceContainerAccessRule("*", ResourceContainerRights.All); to config.SetEntitySetAccessRule("*", EntitySetRights.All);
7. Replaced <%@ ServiceHost Language="C#" Factory="Microsoft.Data.Web.DataServiceHostFactory, Microsoft.Data.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Service="NwindDataServicesCS.Northwind" %> with
<%@ ServiceHost Language="C#" Factory="System.Data.Services.DataServiceHostFactory, System.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Service="WebDataService.Northwind" %>

Changes required to update NwindDSClient to SP1 Beta from previous version:

1. Change Microsoft.Data.WebClient namespace to System.Data.Services.Client
2. Change context.AttachObject("Customers", cust); to 
context.AttachTo("Customers", cust);
3. Change public string url = null; to public Uri url = null;
4. Change url = "http://localhost:" + txtPort.Text + "/Northwind.svc"; to 
url = new Uri("http://localhost:" + txtPort.Text + "/Northwind.svc");
5. Change WebDataContext to DataServiceContext
6. Change WebDataQuery to DataServiceQuery