title: Custom RazorPages RazorViewEngine for .vbhtml file extensions
body: <p>There is a Github <a href="https://github.com/aspnet/Home/issues/2738" rel="nofollow noreferrer">issue</a> that shares my frustration with the lack of support for Visual Basic in ASP.Net Core Web Applications and RazorPages. </p>
  
  <p>The following quotes from other GitHub issues add to this frustration:</p>
  
  <blockquote>
    <p><a href="https://github.com/dotnet/vblang/issues/238#issuecomment-354927626" rel="nofollow noreferrer">The .vbhtml razor engine from MVC 5 wasn't ported to Core primarily
    because less than 1% of all VB web projects used it after 5 versions.</a></p>
  </blockquote>
  
  <p>and:</p>
  
  <blockquote>
    <p><a href="https://github.com/aspnet/Razor/issues/2125#issuecomment-370511887" rel="nofollow noreferrer">Unfortunately we have no any plans to support any other file
    extensions but cshtml. That said, we won't be able to provide a
    mechanism to configure/change the extension.</a></p>
  </blockquote>
  
  <p>I managed to get .NET Core projects that support custom ViewEngines for <a href="https://github.com/AspNetMonsters/pugzor" rel="nofollow noreferrer">.pug</a> &amp; <a href="https://github.com/hishamco/MarkdownViewEngine" rel="nofollow noreferrer">.md</a> file types to work for .vbhtml files, but could not get them working as RazorViewEngies which includes RazorPages.</p>
  
  <p>So my questions are:</p>
  
  <ol>
  <li>What do the other 99% use for VB Web Projects other than razor?</li>
  <li>How can I create a .vbproj ASP.Net Core project that supports a RazorViewEngine that uses .vbhtml files with RazorPages? </li>
  </ol>