Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Unassigned: HttpActionExecutedContext.Response setter throws exception [1176]

$
0
0
Simple object initializer setting the response property

```
var context = new HttpActionExecutedContext
{
Response = new Http.HttpResponseMessage()
};
```

throws an exception:

```
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Web.Http.Filters.HttpActionExecutedContext.set_Response(HttpResponseMessage value)

```

NuGet package Microsoft.Net.Http ver. __2.2.13__

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>