如何在WCF服务中进行版本控制

如何在WCF服务中进行版本控制,wcf,wcf-data-services,Wcf,Wcf Data Services,我正在为移动和Web平台使用WCF服务,我想将这些版本应用到它们,包括数据库版本 [OperationContract] [FaultContract(typeof(CommonFaultContract))] [WebInvoke(Method = "GET", UriTemplate = "/login/{uname},{password},{uuid},{deviceName},{deviceOS}", RequestFormat = WebMessageForma

我正在为移动和Web平台使用WCF服务,我想将这些版本应用到它们,包括数据库版本

    [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);

使用上述代码调用操作联系人

这些链接可能会帮助您-