title: MVC Can't Find Web API Controller
body: <p>I have a MVC 4 app in which i am wanting to use the web api to get my data. EDIT- this is a Single Page Application that started out with the Hot Towel Template.  The problem is that I get the 404 resource not found when i try to call the controller from JSON.  Here is my Controller-</p>
  
  <pre><code> Public Class CAApprovalController
       Inherits ApiController
  
       Public Function GetValues() As IEnumerable(Of String)
           Return New String() {"value1", "value2"}
      End Function
   End Class
  </code></pre>
  
  <p>Here is my JSON call-</p>
  
  <pre><code> function getallCertificates() {
       $.getJSON('api/CAApproval', function (data) {
           allCertificates([]);
           var temp = allCertificates();
           data.forEach(function (p) {
               var certificate = new Certificate(p.ClientID, p.RequestDate, p.UserName,                  p.StatusDescription,             p.StatusCode, p.StatusDesc, p.CEOUserName);
               temp.push(certificate);
           });
           allCertificates.valueHasMutated();
           return allCertificates();
       });
   }
  </code></pre>
  
  <p>Here is the webapiconfig-</p>
  
  <pre><code>Public Class WebApiConfig
          Public Shared Sub Register(ByVal config As HttpConfiguration)
              config.Routes.MapHttpRoute( _
                  name:="DefaultApi", _
                  routeTemplate:="api/{controller}/{id}", _
                  defaults:=New With {.id = RouteParameter.Optional} _
          )
  
  
      'To disable tracing in your application, please comment out or remove the following line of code
      'For more information, refer to: http://www.asp.net/web-api
      config.EnableSystemDiagnosticsTracing()
  
      'Use camel case for JSON data.
      config.Formatters.JsonFormatter.SerializerSettings.ContractResolver = New CamelCasePropertyNamesContractResolver()
  End Sub
  End Class
  </code></pre>
  
  <p>I am new to MVC and especially web api, and am thinking it is a newbie issue.  Just not sure what the problem is.  Is there a configuration or something i am missing?  The project was created as a MVC 4 / web api application.</p>