The new Razor engine supports Razor pages syntax and will attempt to compile them, but we're missing some of the bits to make it work. For example, adding @page to the Razor file results in error CS0103: The name 'PageContext' does not exist in the current context.
The new Razor engine supports Razor pages syntax and will attempt to compile them, but we're missing some of the bits to make it work. For example, adding
@page
to the Razor file results inerror CS0103: The name 'PageContext' does not exist in the current context
.