Freigeben über


Make your app work on the server - WCF RIA Services ServerOnlyInstall and BinDeployment

There are two mode to deploy your WCF RIA Services app and make it work on the server.

- One mode is set "copy local" to false in Visual Studio and install WCF RIA Services to the product server.

Step 1: Download WCF RIA Services MSI

Step 2: Open a command prompt with Administrator previledge, type Msiexec /i %PathToYourDownloadedMSI%\RiaServices.msi SERVER=true

- The other mode is that you don't install WCF RIA Services to the server, but set the "copy local" properties to "true" for WCF RIA Services server side assemblies, which include:

System.CompomentModel.DataAnnotations.dll

System.Web.DomainServices.dll

System.Web.DomainServices.LinqToEntities.dll

System.Web.DomainServices.LinqToSql.dll

System.Web.Ria.dll

 

Update to this post:

For RIA Services V1, set the "copy local" properties to "true" for the following server side assemblies:

System.ServiceModel.DomainServices.Server.dll

System.ServiceModel.DomainServices.Hosting.dll

System.ServiceModel.DomainServices.EntityFramework.dll

System.ServiceModel.DomainServices.Hosting.OData.dll

Microsoft.ServiceModel.DomainServices.LinqToSql.dll