Blog from Saravanan Arumugam

Let us talk about Technologies

WCF Data Service not found in “Add New Items” list


I just studied some heads up about WCF Data services and their implementation. I wanted to try it out. As per the instruction given in the demo video, I created a Framework 4.0 application in Visual Studio 2010 and got to the point of Add New Items. I could not find the “WCF Data Service”

Exception

WCF Data Service would not appear in the Add New Item dialog box.

I could not find the WCF Data Service because I had created a console application. My expectation of finding a WCF template in Console application was a fair one since a regular WCF service can be created in any Project type.

 

Solution

You can find the template only in the Web Application Project. It doesn’t appear in any other project type, even in the Silverlight. At this point I don’t have the answer for why the WCF Data Service is not shown in other templates though. However, “AppFabric-enabled WCF Data Service” can be found in all the project templates.

Advertisements

One response to “WCF Data Service not found in “Add New Items” list

  1. JLS March 19, 2012 at 6:32 am

    You might try installing Entity Framework 4.1. This worked for me.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: