December 2019
Intermediate to advanced
598 pages
12h 21m
English
Before we can use our SignalR real-time API, we need to enable SignalR and define the path for the endpoint. Let's carry out the following steps in Startup.cs:
using QandA.Hubs;
public void ConfigureServices(IServiceCollection services){ ... services.AddSignalR();}
public void Configure(IApplicationBuilder app, IHostingEnvironment env){ ... app.UseEndpoints(endpoints => { endpoints.MapControllers(); ...Read now
Unlock full access