Url does not contain a definition for IsLocalUrl
<p>i'm using Visual studio 2015 update 3 and i'm trying to use <code>Url.IsLocalUrl</code> &amp; <code>Url.Action</code>  but i get this error</p>

<blockquote>
  <p>url does not contain a definition for IsLocalUrl</p>
</blockquote>

<p>got the same error for <code>Url.Action</code> </p>

<p><a href="https://i.stack.imgur.com/Fze7N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fze7N.png" alt="enter image description here"></a></p>

<p>how can i use these?</p>