title: Authentication for ASP.Net MVC 4 and WebApi
body: <p>I would like to set up a system that use both technologies at the same time. My MVC application generates and returns html/css/jaavascript files and then I do some work on the client side that get data through ajax request. Nothing new so far, but I would like also that the ajax endpoing could also be use as a pure REST service . </p>
  
  <p>How can I have a uniform way to authentificate (web forms for MVC clients(that will then use the REST enpoints for the ajax  requests) , something else for pure REST clients ).</p>
  
  <p>Thanks</p>