So I’ve been reviewing the net core razor template and noticed that everything is located inside the wwwroot folder without a @page directive.
What I’m looking to do is integrate ServiceStack into standard Razor Pages within the Pages folder.
At the moment if I use the @page directive, alongside the _viewimport @inherits ViewPage I get the following error:
The name ‘PageContext’ does not exist in the current context.
Any guidance?