From 9495d71b15d5e1b0eed300f7e45aecb467b0444c Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Thu, 19 Sep 2019 17:29:13 -0700 Subject: [PATCH] Fix SignalR 3.0 Streaming Sample (#14426) This sample doesn't have any controllers. --- aspnetcore/signalr/streaming/samples/3.0/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/signalr/streaming/samples/3.0/Startup.cs b/aspnetcore/signalr/streaming/samples/3.0/Startup.cs index 9bf3a1f3d8..d1716d46cc 100644 --- a/aspnetcore/signalr/streaming/samples/3.0/Startup.cs +++ b/aspnetcore/signalr/streaming/samples/3.0/Startup.cs @@ -60,7 +60,7 @@ namespace SignalRChat app.UseEndpoints(endpoints => { endpoints.MapHub("/streamHub"); - endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}"); + endpoints.MapRazorPages(); }); } }