Skip to content

Blazor disconnect #37691

@Alerinos

Description

@Alerinos

I have a strange problem, after entering the website it starts up and then reloads.

Logs
    _____ _                  _    _____           _
  / ____| |                | |  / ____|         | |
 | (___ | |_ __ _ _ __   __| | | (___  _   _ ___| |_ ___ _ __ ___
  \___ \| __/ _` | '_ \ / _` |  \___ \| | | / __| __/ _ \ '_ ` _ \
  ____) | || (_| | | | | (_| |  ____) | |_| \__ \ ||  __/ | | | | |
 |_____/ \__\__,_|_| |_|\__,_| |_____/ \__, |___/\__\___|_| |_| |_|
                                        __/ |
                                       |___/
Welcome in Stand system
Information:
 Run Debug
 Mode=Debug
Running services:
[00:23:14 INF] Application Starting
 Api is running http://localhost:5011/
 Website is running https://localhost:5001/
 Api is running http://localhost:5011//docs/index.html
[00:23:14 INF] Bot is running
[00:23:15 INF] Run website
[00:23:15 INF] User profile is available. Using 'C:\Users\Dawid\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
[00:23:15 INF] Now listening on: http://localhost:5011
[00:23:15 INF] Application started. Press Ctrl+C to shut down.
[00:23:15 INF] Hosting environment: Development
[00:23:15 INF] Content root path: C:\Git\Stand\Stand\bin\Debug\net6.0
[00:23:15 INF] Now listening on: https://localhost:5001
[00:23:15 INF] Application started. Press Ctrl+C to shut down.
[00:23:15 INF] Hosting environment: Development
[00:23:15 INF] Content root path: C:\Git\Stand\Stand\bin\Debug\net6.0
[00:23:15 INF] Request starting HTTP/2 POST https://localhost:5001/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0
[00:23:15 INF] Executing endpoint '/_blazor/negotiate'
[00:23:15 INF] Executed endpoint '/_blazor/negotiate'
[00:23:15 INF] Request finished HTTP/2 POST https://localhost:5001/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 - application/json 83.8530ms
[00:23:15 INF] Request starting HTTP/1.1 GET https://localhost:5001/_blazor?id=G7yX0bokVDsJjtPQU1ervw - -
[00:23:15 INF] Executing endpoint '/_blazor'
[00:23:18 INF] Executed endpoint '/_blazor'
[00:23:18 INF] Request finished HTTP/1.1 GET https://localhost:5001/_blazor?id=G7yX0bokVDsJjtPQU1ervw - - - 101 - - 2643.1208ms
[00:23:18 INF] Request starting HTTP/2 GET https://localhost:5001/Counter - -
[00:23:18 INF] Executing endpoint '/_Host'
[00:23:18 INF] Route matched with {page = "/_Host", action = "", controller = "", area = ""}. Executing page /_Host
[00:23:18 INF] Executing an implicit handler method - ModelState is Valid
[00:23:18 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[00:23:18 INF] Request starting HTTP/1.1 POST http://localhost:5011/hashtags/negotiate?negotiateVersion=1 - 0
[00:23:18 WRN] Failed to determine the https port for redirect.
[00:23:18 INF] Executing endpoint '/hashtags/negotiate'
[00:23:18 INF] Executed endpoint '/hashtags/negotiate'
[00:23:18 INF] Request finished HTTP/1.1 POST http://localhost:5011/hashtags/negotiate?negotiateVersion=1 - 0 - 200 316 application/json 47.2062ms
[00:23:19 WRN] Sensitive data logging is enabled. Log entries and exception messages may include sensitive application data; this mode should only be enabled during development.
[00:23:19 INF] Entity Framework Core 5.0.10 initialized 'BaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: SensitiveDataLoggingEnabled
[00:23:19 INF] Executed DbCommand (18ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [h].[Id], [h].[Count], [h].[DisplayName], [h].[Name], [h].[Status]
FROM [HashTag] AS [h]
WHERE [h].[Status] = 3
[00:23:19 INF] Request starting HTTP/1.1 GET http://localhost:5011/hashtags?id=dRrl7T1_NGWlfzHtoSq5pA - -
[00:23:19 INF] Executing endpoint '/hashtags'
[00:23:19 INF] Executed page /_Host in 1417.7764ms
[00:23:19 INF] Executed endpoint '/_Host'
[00:23:19 INF] Entity Framework Core 5.0.10 initialized 'BaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: SensitiveDataLoggingEnabled
[00:23:19 INF] Request starting HTTP/2 POST https://localhost:5001/_blazor/disconnect multipart/form-data;+boundary=----WebKitFormBoundaryBiCrSZ3BtBUYJl3H 359
[00:23:19 INF] Executing endpoint 'Blazor disconnect'
[00:23:19 INF] Executed DbCommand (41ms) [Parameters=[@__p_0='30'], CommandType='Text', CommandTimeout='30']
SELECT TOP(@__p_0) [h].[Id], [h].[Count], [h].[DisplayName], [h].[Name], [h].[Status]
FROM [HashTag] AS [h]
ORDER BY [h].[Count] DESC
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/Counter - - - 200 - text/html;+charset=utf-8 1486.0739ms
[00:23:19 INF] Executed endpoint 'Blazor disconnect'
[00:23:19 INF] Request finished HTTP/2 POST https://localhost:5001/_blazor/disconnect multipart/form-data;+boundary=----WebKitFormBoundaryBiCrSZ3BtBUYJl3H 359 - 200 0 - 23.5701ms
[00:23:19 INF] Request starting HTTP/2 GET https://localhost:5001/lib/bootstrap/5.0.1/css/bootstrap.min.css?v=hHKA3d_HttC8OW3Sl093W8DoZudhHJDj--kZYo6MLzA - -
[00:23:19 INF] Request starting HTTP/2 GET https://localhost:5001/lib/font-awesome/5.15.3/css/all.min.css?v=2H3fkXt6FEmrReK448mDVGKb3WW2ZZw35gI7vqHOE4Y - -
[00:23:19 INF] Request starting HTTP/2 GET https://localhost:5001/css/site.css?v=0NuY7EWTDVhsOmH9f8DTl3wwmqDK08XZ7_d2VUhINyE - -
[00:23:19 INF] Request starting HTTP/2 GET https://localhost:5001/template/css/MainLayout.css?v=19obXV7N1AnhxZlTMSHM6dFi8yWpvxMO71DGmaFWrzc - -
[00:23:19 INF] Request starting HTTP/2 GET https://localhost:5001/_framework/blazor.server.js - -
[00:23:19 INF] Request starting HTTP/2 GET https://localhost:5001/template/css/light.css - -
[00:23:19 INF] Executed endpoint '/hashtags'
[00:23:19 INF] The file /lib/bootstrap/5.0.1/css/bootstrap.min.css was not modified
[00:23:19 INF] The file /template/css/MainLayout.css was not modified
[00:23:19 INF] The file /lib/font-awesome/5.15.3/css/all.min.css was not modified
[00:23:19 INF] The file /css/site.css was not modified
[00:23:19 INF] The file /_framework/blazor.server.js was not modified
[00:23:19 INF] The file /template/css/light.css was not modified
[00:23:19 INF] Request finished HTTP/1.1 GET http://localhost:5011/hashtags?id=dRrl7T1_NGWlfzHtoSq5pA - - - 101 - - 139.2113ms
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/lib/bootstrap/5.0.1/css/bootstrap.min.css?v=hHKA3d_HttC8OW3Sl093W8DoZudhHJDj--kZYo6MLzA - - - 304 - text/css 9.5142ms
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/template/css/MainLayout.css?v=19obXV7N1AnhxZlTMSHM6dFi8yWpvxMO71DGmaFWrzc - - - 304 - text/css 9.2765ms
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/lib/font-awesome/5.15.3/css/all.min.css?v=2H3fkXt6FEmrReK448mDVGKb3WW2ZZw35gI7vqHOE4Y - - - 304 - text/css 10.6590ms
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/css/site.css?v=0NuY7EWTDVhsOmH9f8DTl3wwmqDK08XZ7_d2VUhINyE - - - 304 - text/css 11.4439ms
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/_framework/blazor.server.js - - - 304 - application/javascript 12.4836ms
[00:23:19 INF] Request finished HTTP/2 GET https://localhost:5001/template/css/light.css - - - 304 - text/css 13.5460ms
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/_blazor/initializers - -
[00:23:20 INF] Executing endpoint 'Blazor initializers'
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/template/image/logo_white.svg - -
[00:23:20 INF] Executed endpoint 'Blazor initializers'
[00:23:20 INF] The file /template/image/logo_white.svg was not modified
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/_blazor/initializers - - - 200 - application/json;+charset=utf-8 7.0284ms
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/template/image/logo_white.svg - - - 304 - image/svg+xml 3.3338ms
[00:23:20 INF] Request starting HTTP/2 POST https://localhost:5001/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0
[00:23:20 INF] Executing endpoint '/_blazor/negotiate'
[00:23:20 INF] Executed endpoint '/_blazor/negotiate'
[00:23:20 INF] Request finished HTTP/2 POST https://localhost:5001/_blazor/negotiate?negotiateVersion=1 text/plain;charset=UTF-8 0 - 200 - application/json 4.2125ms
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/favicon.ico - -
[00:23:20 INF] Request starting HTTP/1.1 GET https://localhost:5001/_blazor?id=ryy_AeBH-GqTJ4KVegM1xQ - -
[00:23:20 INF] The file /favicon.ico was not modified
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/manifest.json - -
[00:23:20 INF] Executing endpoint '/_blazor'
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/favicon.ico - - - 304 - image/x-icon 3.9419ms
[00:23:20 INF] The file /manifest.json was not modified
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/manifest.json - - - 304 - application/json 11.0562ms
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/template/image/logo-square-192x192.png - -
[00:23:20 INF] The file /template/image/logo-square-192x192.png was not modified
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/template/image/logo-square-192x192.png - - - 304 - image/png 1.7443ms
[00:23:20 INF] Request starting HTTP/1.1 POST http://localhost:5011/hashtags/negotiate?negotiateVersion=1 - 0
[00:23:20 INF] Executing endpoint '/hashtags/negotiate'
[00:23:20 INF] Executed endpoint '/hashtags/negotiate'
[00:23:20 INF] Request finished HTTP/1.1 POST http://localhost:5011/hashtags/negotiate?negotiateVersion=1 - 0 - 200 316 application/json 3.3919ms
[00:23:20 INF] Entity Framework Core 5.0.10 initialized 'BaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: SensitiveDataLoggingEnabled
[00:23:20 INF] Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [h].[Id], [h].[Count], [h].[DisplayName], [h].[Name], [h].[Status]
FROM [HashTag] AS [h]
WHERE [h].[Status] = 3
[00:23:20 INF] Request starting HTTP/1.1 GET http://localhost:5011/hashtags?id=cdh3c044hd95GbwzsbmNww - -
[00:23:20 INF] Executing endpoint '/hashtags'
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/template/css/light.css - -
[00:23:20 INF] The file /template/css/light.css was not modified
[00:23:20 INF] Entity Framework Core 5.0.10 initialized 'BaseContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: SensitiveDataLoggingEnabled
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/template/css/light.css - - - 304 - text/css 6.7251ms
[00:23:20 INF] Executed DbCommand (0ms) [Parameters=[@__p_0='30'], CommandType='Text', CommandTimeout='30']
SELECT TOP(@__p_0) [h].[Id], [h].[Count], [h].[DisplayName], [h].[Name], [h].[Status]
FROM [HashTag] AS [h]
ORDER BY [h].[Count] DESC
[00:23:20 INF] Request starting HTTP/2 GET https://localhost:5001/template/image/logo_white.svg - -
[00:23:20 INF] The file /template/image/logo_white.svg was not modified
[00:23:20 INF] Request finished HTTP/2 GET https://localhost:5001/template/image/logo_white.svg - - - 304 - image/svg+xml 2.0452ms
My startup:
using System;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text.Encodings.Web;
using System.Text.Unicode;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.AspNetCore.Localization;
using Microsoft.AspNetCore.Localization.Routing;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.WebEncoders;
using Serilog;
using SixLabors.ImageSharp.Web.DependencyInjection;
using Website.Utilities;
using Website.Utilities.Conventions;
using Website.Utilities.Rule;
using System.Collections.Generic;
using Toolbelt.Blazor.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;

namespace Website
{
    public class Startup
    {
        private readonly IConfiguration _configuration;

        public Startup(IConfiguration configuration)
        {
            _configuration = configuration;
        }

        public void ConfigureServices(IServiceCollection services)
        {
            Log.Logger.Information("Run website");

            #region MVC
            services.AddControllersWithViews();
            #endregion

            #region Encode
            services.Configure<WebEncoderOptions>(options => {
                options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.All);
            });
            #endregion

            #region Proxy
            services.Configure<ForwardedHeadersOptions>(options => {
                options.ForwardedHeaders =
                    ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
            });
            #endregion

            #region Compression
            services.Configure<BrotliCompressionProviderOptions>(o => {
                o.Level = CompressionLevel.Optimal;
            });
            services.Configure<GzipCompressionProviderOptions>(o => {
                o.Level = CompressionLevel.Optimal;
            });
            services.AddResponseCompression(options => {
                options.EnableForHttps = true;
                options.MimeTypes = ResponseCompressionDefaults.MimeTypes.Concat(new[] {
                    "application/javascript",
                    "application/json",
                    "application/xml",
                    "application/xhtml+xml",
                    "text/css",
                    "text/json",
                    "text/plain",
                    "text/html",
                    "text/plain",
                    "text/xml",
                    "image/jpeg",
                    "image/png",
                    "image/webp",
                    "application/font-woff2",
                    "image/svg+xml",
                    "image/x-icon",
                    "image/svg+xml",
                    "font/woff2",
                });
                options.Providers.Add<BrotliCompressionProvider>();
                options.Providers.Add<GzipCompressionProvider>();
            });
            #endregion

            #region RazorPages
            var razor = services.AddRazorPages(); //.AddRazorRuntimeCompilation();
            razor.AddRazorPagesOptions(options => {
                //options.Conventions.Add(new GlobalTemplatePageRouteModelConvention());
                options.Conventions.Add(new GlobalHeaderPageApplicationModelConvention());

                var culture = "{culture:regex(^[a-zA-Z]{{2}}(-[a-zA-Z+]{{2}})?$)=pl}";

                //options.Conventions.AddAreaPageRoute("Account", "/Auth/Login", $"{culture}/Account/Auth/Login");
                //options.Conventions.AddAreaPageRoute("Account", "/Auth/Register", $"{culture}/Account/Auth/Register");
                //options.Conventions.AddAreaPageRoute("Account", "/Auth/Media", $"{culture}/Account/Auth/Media");
            });
            #endregion

            #region Culture
            services.AddLocalization(opts => opts.ResourcesPath = "Resources");
            services.Configure<RequestLocalizationOptions>(options =>
            {
                var supportedCultures = new[]{
                    new CultureInfo("en"),
                    new CultureInfo("pl"),
                };
                options.DefaultRequestCulture = new RequestCulture("en");
                options.SupportedCultures = supportedCultures;
                options.SupportedUICultures = supportedCultures;
                options.RequestCultureProviders.Insert(0, new RouteDataRequestCultureProvider());
            });
            #endregion

            #region Blazor
            services.AddServerSideBlazor();
            services.AddHttpClient();
            #endregion

            //TODO: https://github.com/madskristensen/WebEssentials.AspNetCore.ServiceWorker
            //services.AddProgressiveWebApp();

            /* 
            * Libka do meta, title itp
            * Na chwilę obecną lepsza od Microsoft.AspNetCore.Components.Web.Extensions
            */
            services.AddHeadElementHelper();

            #region Recatpcha
            // services.AddHttpClient<ICaptchaValidator, GoogleReCaptchaValidator>();
            #endregion

            #region ImageCompression
            services.AddImageSharp();
            #endregion

            //services.TryAddSingleton<IHttpContextAccessor, HttpContextAccessor>();

            services.AddScoped<Utilities.Help.Notification>();

            services.AddScoped<AppState>();

        }

        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            // Proxy
            app.UseForwardedHeaders();


            // TODO: fast fix 
            if (string.IsNullOrWhiteSpace(env.WebRootPath)) {
                env.WebRootPath = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot");
            }

            if (env.IsDevelopment()) {
                app.UseDeveloperExceptionPage();
            } else {
                app.UseExceptionHandler("/Error"); //TODO: Dodaj obsługę błedów
                app.UseHsts();
            }

            app.UseResponseCompression();           // Compression
            app.UseImageSharp();                    // Add the image processing middleware.
            app.UseHttpsRedirection();              // wwwroot
            app.UseHeadElementServerPrerendering(); // Dynamiczna edycja meta tagów blazor MUSI BYĆ POD COMPRESJĄ, INACZEJ NIE ZADZIALA
            app.UseStaticFiles();

            var dir = Path.Combine(Directory.GetCurrentDirectory(), "Public");
            var compositeProvider = new CompositeFileProvider(env.WebRootFileProvider, new PhysicalFileProvider(dir));
            env.WebRootFileProvider = compositeProvider;
            app.UseStaticFiles(new StaticFileOptions {
                OnPrepareResponse = ctx => {
                    ctx.Context.Response.Headers.Append(
                        "Cache-Control", $"public, max-age={_configuration["Server:Website:Cache:MaxAge"]}");
                }
            });

            app.UseRouting();

            // Plugin
            //app.UseMiddleware<Utilities.Help.Notification>();

            // Language
            //app.UseRewriter(new RewriteOptions().Add(new FirstLoadRewriteRule()));
            app.UseRequestLocalization();

            // app.UseAuthorization(); // Disabled

            app.UseEndpoints(endpoints => {

                //endpoints.MapRazorPages();

                endpoints.MapControllerRoute(
                    name: "Cookie",
                    pattern: "{controller=Home}/{action=Index}/{id?}");

                endpoints.MapBlazorHub();
                endpoints.MapFallbackToPage("/_Host");
            });

            #region CodePages
            app.UseStatusCodePages(context => {
                var request = context.HttpContext.Request;
                var response = context.HttpContext.Response;
            
                if (response.StatusCode == StatusCodes.Status404NotFound)
                    response.Redirect("/Error/404");
            
                return Task.CompletedTask;
            });
            #endregion
        }
    }
}
dotnet --info Output
PM> dotnet --info Output

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.100-rc.2.21505.57

Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
dotnet : Could not execute because the specified command or file was not found.
At line:1 char:1
+ dotnet --info Output
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Could not execu... was not found.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet-Output does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

Host (useful for support):
  Version: 6.0.0-rc.2.21480.5
  Commit:  6b11d64e7e

.NET SDKs installed:
  5.0.100-rc.2.20479.15 [C:\Program Files\dotnet\sdk]
  5.0.400 [C:\Program Files\dotnet\sdk]
  6.0.100-rc.2.21505.57 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.0-rc.2.20475.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0-rc.2.21480.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.0-rc.2.20475.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0-rc.2.21480.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 5.0.0-rc.2.20475.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.0-rc.2.21501.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

Movie: https://gyazo.com/cbe7d87648ebcd2ad17240dfe015d56b

How can I debug it?
Every time I visit the website for the first time, it refreshes itself. You can see it in the video. Unfortunately, all day I was looking and I can not fix the problem.

It's worth taking a look at

[00:23:19 INF] Executing endpoint 'Blazor disconnect'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions