Gaurav Kaushik
Gaurav Kaushik

Reputation: 299

How to do versioning in WCF services

I am using WCF services for the Mobile and Web platform and I want to apply the versions to them included Database version as well.

    [OperationContract]
    [FaultContract(typeof(CommonFaultContract))]
    [WebInvoke(Method = "GET", UriTemplate = "/login/{uname},{password},{uuid},{deviceName},{deviceOS}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
    UserDataContract login(string uname, string password, string uuid, string deviceName, string deviceOS);

using the above code to call the operation contact

Upvotes: 2

Views: 1227

Answers (1)

Rajat_RJT
Rajat_RJT

Reputation: 70

These links may help you-
msdn data contract versioning
wcf handle versioning

Upvotes: 2

Related Questions