ASP.NET Core Blazor with SignalR breaks when used with Cloudflare's HTML minification
Read OriginalThis article explains a production issue where ASP.NET Core Blazor with SignalR fails to connect when Cloudflare's HTML minification is enabled. The root cause is that Cloudflare removes HTML comments, which are essential for Blazor's SignalR-based server-side rendering. It details the expected HTML structure, the specific comments required by Blazor, and provides a solution to disable HTML minification for Blazor pages. A useful troubleshooting guide for developers deploying Blazor apps behind Cloudflare.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet