title: Method not found: 'System.Net.Http.HttpRequestMessage System.Web.Http.Controllers.HttpActionContext.get_Request()'
body: <p>I have created One Filter Attribute </p>
  
  <pre class="lang-cs prettyprint-override"><code>public class AuthFilterAttribute : System.Web.Http.Filters.ActionFilterAttribute
  {
      public AuthFilterAttribute()
      {
  
      }
  
      public override void OnActionExecuting(System.Web.Http.Controllers.HttpActionContext actionContext)
      {
  
      }
  }
  </code></pre>
  
  <p>I have registered this filter inside the <code>global.asax.cs</code>.</p>
  
  <p>When I am trying to call my web API using <em>Postman</em> it is showing the error:</p>
  
  <blockquote>
    <p>Method not found: 'System.Net.Http.HttpRequestMessage System.Web.Http.Controllers.HttpActionContext.get_Request()'.</p>
  </blockquote>
  
  <p>My project target framework is <code>4.6.1</code> and the <code>System.Net.Http</code> version is <code>4.2.0.0</code></p>
  
  <p>My API looks like this:</p>
  
  <pre class="lang-cs prettyprint-override"><code>[AuthFilter]
  public class ScheduleApiController : BaseApiController
  {
      [Route("api/v1/schedules")]
      [HttpGet]
      public IHttpActionResult GetSchedules()
      {
      }
  }
  </code></pre>
  
  <p>I know this question has been asked before but none of the solutions worked for me.</p>
  
  <p>Please help me to resolve this issue.</p>