Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Alphaleonis EventSource Generator (C#)
Alphaleonis EventSource Generator (C#)

Alphaleonis EventSource Generator (C#)

Peter Palotas

|
1,911 installs
| (2) | Free
An extension that helps writing EventSource classes for ETW tracing by automatically generating efficient implementations of the Event methods based on an abstract class, thus alleviating the developer from writing this boilerplate code.
Download

NOTE! This is a beta version, and may not be ready for production use.

The Alphaleonis C# Event Source Generator is a Visual Studio 2015 extension that provides a CustomTool that can be applied to a C#-file and then generates the actual implementation of an EventSource deriving from an abstract class defined by you, where all event methods are defined as abstract methods. It will also generate any WriteEvent-overloads required, to avoid using the less performant generic overload in the base class.

The extension supports both the System.Diagnostics.Tracing.EventSource in .NET 4.5 and 4.6, as well as the NuGet package Microsoft.Diagnostics.Tracing.EventSource. The NuGet package is required for channel support in .NET 4.5. (.NET 4.6 supports this out of the box).

For more information or to report any issues, go to https://github.com/alphaleonis/EventSourceGenerator.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft