Vote count: 0 I'm new to protobuf and fairly new to asp .net. so I might need help on this. I have this code snippet for my PersonsController: public class PersonController : ApiController { [ProtoContract] public class Person { [ProtoMember(1)] public int ID { get; set; } [ProtoMember(2)] public string First { get; set; } [ProtoMember(3)] public string Last { get; set; } } // GET api/values public IEnumerable Get() { List myList = new List { new Person { ID = 0, First = "Judy", Last = "Lee" }, ...
ادامه مطلب