Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching this app to server-side hosting results in blank screen #26

Open
netbitshift opened this issue Dec 18, 2018 · 1 comment
Open

Comments

@netbitshift
Copy link

Trying to convert this app from client-side to server-side. I believe I have everything changed over

  • Index.html in /wwwroot using _framework/blazor.server.js instead of blazor.webassembly.js
  • Server project, in Startup.cs, change ConfigureServices and Configure to use AddServerSideBlazor

Solution code builds fine, but when browser loads, I just get a blank screen with no errors in the dev console.
Might be related to the issue mentioned here, but not sure
https://blog.jonblankenship.com/2018/11/02/experiences-converting-from-client-side-to-server-side-blazor/

What can I check?

I have several .net core sdk's installed
.NET Core SDKs installed:
1.0.4 [C:\Program Files\dotnet\sdk]
1.1.0 [C:\Program Files\dotnet\sdk]
2.0.2 [C:\Program Files\dotnet\sdk]
2.1.2 [C:\Program Files\dotnet\sdk]
2.1.4 [C:\Program Files\dotnet\sdk]
2.1.103 [C:\Program Files\dotnet\sdk]
2.1.201 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.300 [C:\Program Files\dotnet\sdk]
2.1.403 [C:\Program Files\dotnet\sdk]
2.1.500 [C:\Program Files\dotnet\sdk]
2.2.100 [C:\Program Files\dotnet\sdk]

@netbitshift
Copy link
Author

Why am I doing this you might ask? Just because I want to fiddle with the architecture. I can see the case where someone wants to switch from one model to the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant