how to pass the result model object out of System.Web.Http.ModelBinding.IModelBinder. BindModel?
问题 This is a follow up question to the answer https://stackoverflow.com/a/10099536/3481183 Now that I could successfully extracted the content, apply deserialization and obtain the object that I want. How do I pass it to the action? The provided function BindModel must return a bool value, which is very confusing to me. My code: public bool BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext) { actionContext.Request.Content.ReadAsStringAsync().ContinueWith(deserialize);