title: Html couldn't find script
body: <p>I'm trying following code to show html page from webApi:</p>
  
  <pre><code>    [AcceptVerbs("GET")]
      [AllowAnonymous]
      [Route("ManageAccount/{id}")]
      public HttpResponseMessage ManageAccount(string id)
      {
          if (! String.IsNullOrEmpty(id))
          {
  
              var path = "C:/Users/user/Project/" + id + ".html";
              var response = new HttpResponseMessage();
              response.Content = new StringContent(File.ReadAllText(path));
              response.Content.Headers.ContentType = new MediaTypeHeaderValue("text/html");
              return response;
  
          }
          var path2 = "C:/Users/user/Project/Login.html";
          var response2 = new HttpResponseMessage();
          response2.Content = new StringContent(File.ReadAllText(path2));
          response2.Content.Headers.ContentType = new MediaTypeHeaderValue("text/html");
          return response2;
         // return Redirect("Login.html");
      }
  </code></pre>
  
  <p>I set ContentType to be text/html to read html page, but this page has scripts, now all scripts read as text/html !</p>
  
  <p>Please any suggestions?</p>
  
  <p>How can I fix this ?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I got that if scripts loaded in server it work !</p>
  
  <p>I don't know if there is a way to load my scripts on server and I don't know if this good idea !</p>
  
  <p>Excuse me I'm new in this field :)
  Thank you</p>