title: Redirect Non WWW to WWW
body: <p>On an ASP.Net Core application startup I have:</p>
  
  <pre><code>RewriteOptions rewriteOptions = new RewriteOptions(); 
  
  rewriteOptions.AddRedirectToHttps();
  
  applicationBuilder.UseRewriter(rewriteOptions);
  </code></pre>
  
  <p>When in Production I need to redirect all Non WWW to WWW.</p>
  
  <p>For example:</p>
  
  <pre><code>domain.com/contact &gt; www.domain.com/contact
  </code></pre>
  
  <p>How can I do this using Rewrite Middleware?</p>