WCF Code Not Producing
Hello All,
Chapter 9
pages 400 - 402
Create a Client Application that Uses WCF Data Services: Am I missing something or is the code bad.
Thanks
Code below is not producing any data
NorthwidsEntities db = new NorthwindsEntities (new Uri("http://localhost:????/NorhtwindsService.svc/"));
var categories = from c in db.Categories select c;
foreach (Category category in categories)
{
Debug.WriteLine(string.Format("CategoryID: {0}, CategoryName: {1}",
category.CategoryID, category.CategoryName));
}
|