简体   繁体   中英

how to use protocol buffer in asp.net vnext?

I am trying to serialize what my api returns using protobuff net library. I have seen example such as the following http://www.strathweb.com/2013/02/asp-net-web-api-and-protocol-buffers/

but I don't know how to handle it on aspnet vnext. I can't seem to find the HttpConfiguration which is needed? I think...I am new to aspnet vnext any help will be appreciated. thanks

You might want to try the protobuf-portable-net package. Seems to be consumable for coreclr targets. https://www.nuget.org/packages/protobuf-portable-net/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM