Web API returning HttpResponseMessage object after nuget updates in Azure Web App
问题 I'm using Web API 5, it's has been working fine, I return a HttpResponseMessage object with Content = new StringContent("content here") and get the expected content when calling the API. [HttpPost] public async Task<HttpResponseMessage> GetData([FromBody]DataObject input) { ..... return new HttpResponseMessage(HttpStatusCode.OK) { Content = new StringContent(JsonConvert.SerializeObject(returnModel)) }; } However, I recently updated a number of MVC and .NET NuGet packages, and now, while the