title: No events from custom .Net 4.5 EventSource ETW provider in PerfView
body: <p>I created an EventSource (WebApiEventSource) in my ASP.NET WebApi application (to is as ITraceWriter-implementation):</p>
  
  <pre><code>[EventSource(Name = "WebApi")]
  public class WebApiEventSource : EventSource
  {
      public static readonly WebApiEventSource Log = new WebApiEventSource();
  
      [Event(1)]
      public void Event(string url, string message)
      {
          WriteEvent(1, url, message);
      }
  }
  </code></pre>
  
  <p>I checked that EventSource's methods are called during runtime without errors.  </p>
  
  <p>Then I run PerfView and checked in its log that it can see my provider (EventSource):</p>
  
  <p>Parsing Spec *WebApi
  Enabling Provider:*WebApi Level:Critical Keywords:0x0 Options:None Values: Guid:fc7bbb67-1b01-557b-5e0e-c1c4e40b6a24</p>
  
  <p>Then I run 'collect' with filter "*WebApi", execute some action in my app and stop it.</p>
  
  <p>But there're no any events from my provider in etl file! Section "Events" doesn't even contain the name of my provider.</p>
  
  <p>What did I miss?</p>
  
  <p><em>UPDATED</em>: I found the reason, see my answer below.</p>