I created a new ASP.NET Core 3.0 Web application and selected the Model-View-Controller option. I wanted to add Blazor Server side, so I added the below to the Startup.cs file.
services.AddServerSideBlazor();
endpoints.MapBlazorHub();
and added the script file
<script src="_framework/blazor.server.js"></script>
in my Layout file.
I created a simple component that displays what I enter in a textbox, and added the component to my Index.cshtml
view. It works within Visual Studio, but when I push it up to my internal 2016 server, the component is rendered but the text is not displayed. The app can't seem to find the blazor.server.js
file.
Is there some other deployment step I am missing to push up the JS file?