title: ASP.NET MVC Core WebAPI project not returning html
body: <p>Here is my controller i am sending my html  </p>
  
  <pre><code>      public class MyModuleController : Controller
          {
              // GET: api/values
              [HttpGet]
              public HttpResponseMessage Get()
              {
  
  
                  var response = new HttpResponseMessage();
                  response.Content = new StringContent("&lt;html&gt;&lt;body&gt;Hello World&lt;/body&gt;&lt;/html&gt;");
                  response.Content.Headers.ContentType = new MediaTypeHeaderValue("text/html");
                  return response;
              }
  }
  </code></pre>
  
  <p>In response i am getting this</p>
  
  <pre><code>    {"version":{"major":1,"minor":1,"build":-1,"revision":-1,
  
  "majorRevision":-1,"minorRevision":-1},"content":{"headers":[{"key":"Content-Type","value":["text/plain;
  
   charset=utf-8"]}]},"statusCode":200,"reasonPhrase":"OK","headers":[],"requestMessage":null,"isSuccessStatusCode":true}
  </code></pre>
  
  <p>I just want my html in output.Please can anyone help,Thanku</p>