back soft

مطالب مرتبط با «send data to google spreadsheet» در back soft | نویسنده: استخدام کار

What do I need to do to send out Protobuf serialized Data using C# ASP .NET web api?

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" }, ...

ادامه مطلب