So I'm getting acquainted with ASP.NET Core 2.0 (not 2.1 preview). I'm using MithrilJS as a frontend. I've got a nice little sample site working in IIS Express but when I publish to Azure (http://samplecore.azurewebsites.net) it can't find any web pages.
I built this site up from an empty template so I could understand better what goes into building ASP.NET core sites. Also, If I publish the sample ASP.NET Core Angular project in Visual Studio, it works. I logged into both these Azure sites with FTP and snooped around for differences. Nothing stood out to me. So for the moment, I'm kind-a stuck.
If someone would be so kind as to look at: https://github.com/mike-ward/SampleCore.
Run the "build.cmd" to get things going.
I'm using Razor pages so maybe that's the issue?
Update: Added UseDirectoryBrowser(). At least something appears now.
Update: http://samplecore.azurewebsites.net/api/sampleapi/version works so maybe it does have something to do with Razor pages.
Update: Added a traditional MVC page (test) which does work.
Update: Resolved by building a new .csproj file. IDE throws a bunch of junk in there that seems to mess it up.