I am currently trying to deploy a netcore 2.1 app to Azure with ServiceStack Razor pages.v5.1.1
Everything works locally but when I publish to Azure, the default page loads ok but when I hit a page requiring a service dto response, I’m getting the metadata html view back instead of the view I expect.
My config is basically the same as https://github.com/NetCoreApps/RazorRockstars/blob/master/src/RazorRockstars.WebHost/Startup.cs
Is there anything you might know of that is causing the compiled views to not be found and return the native html response instead?
[EDIT] Actually happening locally too using
dotnet .\myapp.dll in the folder generated after running