Martin
Martin

Reputation: 24308

WCF/RIA: automatically updating a WCF/RIA Service from itself

I need to be able to update a wcf/RIA service that's installed on IIS. Is this at all possible?

I need to do it automatically, pretty much like the auto update of a program works.

I suppose I could call a method on the WCF service and it checks to see if there is an update but would I download and install the update?

It's because all my logic is installed in the service so I need to automatically update the service.

Upvotes: 0

Views: 400

Answers (1)

Rus
Rus

Reputation: 1827

Martin, I think what you are looking for is not possible in WCF RIA services.

A WCF RIA service through the code generation process has components and entities serverside and clientside in your Silverlight application. Altering the service contract on the server would cause a mismatch on the client side.

For this I think you should look beyond WCF RIA at WCF, versioning of services is a big topic in SOA, I found a link that may help get you started here.

Upvotes: 1

Related Questions