Asp.net web api Web API2帮助页不工作

Asp.net web api Web API2帮助页不工作,asp.net-web-api,asp.net-web-api2,Asp.net Web Api,Asp.net Web Api2,我有一个现有的ASP.NET Web API2项目。我想添加帮助页面。但是我的控制器方法只显示在我的帮助页面上,即使我看到的页面没有应用css。我可以在我的bin文件夹中看到文档xml文件 添加到项目中 HomeController.cs public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Pag

我有一个现有的
ASP.NET Web API2
项目。我想添加帮助页面。但是我的控制器方法只显示在我的帮助页面上,即使我看到的页面没有应用
css
。我可以在我的bin文件夹中看到文档
xml文件

添加到项目中

HomeController.cs

public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Title = "Home Page";

            return View();
        }
    }