title: Hangfire: Is there a way to inject a hyperlink into the DisplayName Attribute?
body: <p>Blake Connally made <a href="https://youtu.be/LgjDPL5h-94" rel="nofollow noreferrer">a compelling case for Hangfire</a>.</p>
  
  <p>I implemented his demo code, and wondered:</p>
  
  <ul>
  <li>Is it possible to inject a hyperlink into the <code>DisplayName</code> attribute?</li>
  </ul>
  
  <hr>
  
  <pre><code>namespace HangfireDemo.Core.Demo
  {
      public interface IDemoService
      {
          void RunDemoTask(PerformContext context);
      }
  
      public class DemoService : IDemoService
      {
          [DisplayName("Data Gathering Task &lt;a href=\"jira.contoso.com\"&gt;Confluence Page&lt;/a&gt;")]
          public void RunDemoTask(PerformContext context)
          {
              Console.WriteLine("This is a task that ran from the demo service.");
              BackgroundJob.ContinueJobWith(context.BackgroundJob.Id, () =&gt; NextJob());
          }
  
          public void NextJob()
          {
              Console.WriteLine("This is my next task.");
          }
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ni70s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ni70s.png" alt="Example of a Link Inside of a Hangfire Dashboard"></a></p>