title: Programmatically get Summary comments at runtime
body: <p>I'm looking for a way to programmatically get the summary portion of Xml-comments of a method in ASP.net.</p>
  
  <p>I have looked at the previous related posts and they do not supply a way of doing so in a web environment. </p>
  
  <p>I can not use any 3rd party apps and due to a web environment, Visual studio plugin's aren't much use either.</p>
  
  <p>The closest thing I have found to a working solution was the JimBlackler project, but it only works on DLL's.</p>
  
  <p>Naturally, something like 'supply .CS file, get XML documentation' would be optimal.</p>
  
  <hr>
  
  <h2>Current situation</h2>
  
  <p>I have a web-service and trying to dynamically generate documentation for it.</p>
  
  <p>Reading the Methods, and properties is easy, but getting the Summary for each method is throwing me off a bit.</p>
  
  <pre><code>/// &lt;summary&gt;
  /// This Is what I'm trying to read
  /// &lt;/summary&gt;
  public class SomeClass()
  {
      /// &lt;summary&gt;
      /// This Is what I'm trying to read
      /// &lt;/summary&gt;
      public void SomeMethod()
      {
      }
  }
  </code></pre>
  
  <hr>