title: Generate model description in AspNet WebApi help pages
body: <p>How do I generate a <strong>description</strong> for my model in Asp.Net Web Api help pages?</p>
  
  <p>Example:</p>
  
  <p><img src="https://i.stack.imgur.com/qPEIW.png" alt="enter image description here"></p>
  
  <p>As you can see from the example, I can already generate <code>Name</code>, <code>Type</code> and <code>Additional Information</code>. But how do I generate <code>Description</code>?</p>
  
  <p><em>I've tried nothing and I'm all out of ideas.</em></p>
  
  <p>No, that's not true. I've tried adding comments to my <code>TransactionDto</code> class, but it does not work.</p>
  
  <pre><code>/// &lt;summary&gt;
  /// A DTO (Data Transfer Object) for Transaction objects.
  /// &lt;/summary&gt;
  public class TransactionDto
  {
      /// &lt;summary&gt;
      /// The manager who registered the transaction.
      /// &lt;/summary&gt;
      public string FromId { get; set; }
  
      /// &lt;summary&gt;
      /// The receiving manager.
      /// &lt;/summary&gt;
      [Required]
      public string ToId { get; set; }
  
      /// &lt;summary&gt;
      /// Optional expiration date.
      /// &lt;/summary&gt;
      public DateTime? Expires { get; set; }
  
      /// &lt;summary&gt;
      /// Date the transaction was created.
      /// &lt;/summary&gt;
      public DateTime Created { get; set; }
  }
  </code></pre>
  
  <p>I have configured <code>HelpPageConfig.cs</code> to use an <code>XmlDocumentationProvider</code> like so:</p>
  
  <pre><code>config.SetDocumentationProvider(new XmlDocumentationProvider(HttpContext.Current.Server.MapPath("~/App_Data/XmlDocument.xml")));
  </code></pre>
  
  <p>So how do I generate these descriptions for models?</p>