WCF Data Services 5.0

I am developing a set of WCF Services with Entity Framework 4.3 Code First, and I just noticed that WCF Data Services 5.0 for OData V3 has been shipped early April!

I must say it’s perfect timing for me, since I was trying to expose my DbContext thru WCF Data Services. This new version supports DbContext as the DataService source.

As usual, when I restart playing with WCF Data Services I get the following common issues:

  • “Turn on feed reading view” must be unchecked (WCF Data Services Do Not Display In the Browser)
  • Set the config.UserVerboseErrorsĀ = true in the InitializeService method of the Data Service to get full error message (HTTP 500)
  • Ensure the Application Pool identity has permission to access the database!

Here are few links that made my day:

 

Categories CodeTags , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close