This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DataContract] | |
| public class Response | |
| { | |
| [DataMember] | |
| public bool Success { get; set; } | |
| } | |
| [DataContract] | |
| public class Request | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DataContract] | |
| public class Result | |
| { | |
| [DataMember] | |
| public bool Success { get; set; } | |
| } | |
| [DataContract] | |
| public class SomeWorkParams | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ServiceContract] | |
| public interface IMyServiceSample | |
| { | |
| [OperationContract] //soap xml | |
| [WebGet(ResponseFormat = WebMessageFormat.Json)] //json | |
| bool DoSomeWork(int param1, string param2); | |
| // … |
NewerOlder