Repro steps:
- Set up an Azure VM running Windows (not an Azure web app instance--this might work as well, but this is the way I know will work)
- Configure IIS on the VM, including installing the rewrite module, and follow all other steps necessary to prepare it to receive web updates via Visual Studio's Publish command. Also install the .Net Core Preview version Blazor needs.
- Create a Blazor project in Visual Studio.
- Use Visual Studio's Publish command to publish the Blazor project to your Azure VM
- Use your browser to attempt to access the Blazor project from your dev PC.
Expected: The project loads in your browser
Observed: IIS 500 error page
Publish is screwing up here, by publishing a web.config (or is it config.web? I'm not at the relevant computer at the moment) file that tries to treat the Blazor project as an ASP.Net server project, rather than as static content that's intended to run in the browser. (After deleting the relevant lines from the config file, I was able to get it working.)
Repro steps:
Expected: The project loads in your browser
Observed: IIS 500 error page
Publish is screwing up here, by publishing a web.config (or is it config.web? I'm not at the relevant computer at the moment) file that tries to treat the Blazor project as an ASP.Net server project, rather than as static content that's intended to run in the browser. (After deleting the relevant lines from the config file, I was able to get it working.)