Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use it #10

Open
encrylife opened this issue Dec 6, 2016 · 0 comments
Open

how to use it #10

encrylife opened this issue Dec 6, 2016 · 0 comments

Comments

@encrylife
Copy link

I has update the WebApiConfig.cs ,add the config.Formatters.Add(new ProtoBufFormatter()) but the client received content is null. In the controller it like this
` public Order Get(String id)
{
var itemList = new List();
var item = new Order();
item.MemberName = "wewewe";
item.OrderId = 987456321;

        return item;
    }`

How to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant