受欢迎的博客标签

Blazor server-side Cloudflare support - not trigger any events

Published

Describe the bug - not trigger any events

I deployed asp.net core 6 Blazor server application on digitaloceam ubuntu 20.04 VM host. The application run successfully but it does not trigger any events even when clicking on the sample counter button.

Hey i can't seem to get blazor server-side to work fully with Cloudflare, i have tried some options in the docs such as https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-3.1

I can get the websocket connection to actually connect but it does not trigger any events even when clicking on the sample counter button.

I am using Cloudflare with full https enabled and forward headers set in Startup.cs and an Nginx proxy.

Would there be any other way to hide my web server ip (possibly ddos protection) without using cloudflare or any other way to secure the server?

 

.NET Version


6.01