Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is System.ServiceModel.DomainServices.EntityFramework DLL?

I'm trying to use RIA services, I installed Silverlight 4 and Silverlight 4 Tools/SDK, but I cannot setup a LINQToEntitiesDomainService because I can't find this namespace/assembly: System.ServiceModel.DomainServices.EntityFramework. Where does this assembly come from, not sure why it's missing? Is that an add-on I'm missing?

Thanks.

like image 306
Brian Mains Avatar asked Aug 27 '10 16:08

Brian Mains


People also ask

What is a domainservice class?

When you create an instance of a domain service, you specify the data operations that are permitted through the domain service. The DomainService class is the base class for all classes that serve as domain services.

What is linqtoentitiesdomainservice<tcontext>?

The LinqToEntitiesDomainService<TContext> class derives from the DomainService class and is used when interacting with LINQ to Entities models. A domain service class must be marked with the EnableClientAccessAttribute attribute to make the service available to the client project.

Is servicemodel included in Visual Studio 2010 Beta 2?

The latter does not include the System.ServiceModel.Web assembly. Show activity on this post. Apparently when you select .NET framework 4.0 while creating the project, Visual Studio 2010 Beta 2 actually targets .NET framework 4 client profile.

What is system system service model namespace exception?

System. Service Model Namespace Provides classes related to the service model. This exception is typically thrown on the client when the action related to the operation invoked does not match any action of operations in the server. The exception that is thrown when access to the address is denied.


1 Answers

You should find it in:-

Program Files[ (x86)]\Microsoft SDKs\RIA Services\v1.0\Libraries\Server

As the folder suggests this is a server-side dll; if you are attempting to add to your Silverlight project then that would be the problem. Its designed to be referenced by the Web project or a library project that is reference by the web project.

like image 126
AnthonyWJones Avatar answered Sep 30 '22 18:09

AnthonyWJones