I've built the simplest ASP.NET Core website to try and deploy. It isn't even returning an error.
IIS will return a .HTM page so that feels OK
I've installed .Net Core Windows Server hosting
I used a folder deploy and put the folder under c:\inetpub\wwwroot
I set the Application Pool .Net v4 [I've also tried No Managed Code]
I added the application to the Default website
UPDATE: Thanks to Win I found this out:
An assembly specified in the application dependencies manifest (razortest.deps.json) was not found:
package: 'Microsoft.ApplicationInsights.AspNetCore', version: '2.1.1'
This assembly was expected to be in the local runtime store as the application was published using the following target manifest files:
So I'm either missing a file or pointing to the wrong one - but in VStudio or on the server????