title: WebApi Help Page not reading from XML file
body: <p>I have added the .net webapi help pages nuget project to our webapi to generate the help docs.</p>
  
  <p>I added as follows on the command line;</p>
  
  <blockquote>
    <p>Install-Package Microsoft.AspNet.WebApi.HelpPage</p>
  </blockquote>
  
  <p>Its the current version installed. I then set the output of the webapi project to output to</p>
  
  <blockquote>
    <p>App_Data/XmlDocument.xml</p>
  </blockquote>
  
  <p>This is following the example here;</p>
  
  <p><a href="http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/creating-api-help-pages" rel="nofollow">WebApi Help Tutorial</a></p>
  
  <p>and this is being generated fine.</p>
  
  <p>I then un-commented the line;</p>
  
  <pre><code>config.SetDocumentationProvider(new XmlDocumentationProvider(HttpContext.Current.Server.MapPath("~/App_Data/XmlDocument.xml")));
  </code></pre>
  
  <p>again as per the link.</p>
  
  <p>However, when I run my api and navigate to the webapi/help url. The model being returned is null? (no errors appear to be being thrown either). </p>
  
  <p>I then have the header of the layout being displayed, but no api documentation?</p>
  
  <p>One thing to add is I am using OAuth in this api. (Although its resolving the route so can this be causing any issues?) For reference this is my startup.cs</p>
  
  <pre><code>    public void Configuration(IAppBuilder app)
      {
          HttpConfiguration config = new HttpConfiguration();
  
          LoggingConfig.RegisterLogger();
  
          config.DependencyResolver = new UnityDependencyResolver(
              UnityConfig.GetConfiguredContainer());
  
  
          ConfigureOAuth(app);
  
          WebApiConfig.Register(config);
          app.UseCors(CorsOptions.AllowAll);
          app.UseWebApi(config);
  
          AreaRegistration.RegisterAllAreas();
  
      }
  </code></pre>