PRN221_-_FE_-_SU_2023_506.webp
K

PRN221_-_FE_-_SU_2023_506.webp

Answer (Choose 1 answer)
builder.MapHub< ChatHubClass >("/chat").Start();});
}
C. None of the others.
ID All of the others

Exit 43
builder.MapHub<ChatHubClass>("/chat");});
B. public void ConfigureServices (IServiceCollection services)
{
services.AddSignalR().Start();}
app.UseMvc();
app.UseSignalR (builder =>
{
app.UseAuthentication();
To enable SignalR in the specific application, call the AddSignalR extension method to co container with services required by SignalR. Choose following code to add to ConfigureSe (Startup.cs).
A. public void ConfigureServices (IServiceCollection services)}
services.AddSignalR();
public void Configure(IApplicationBuilder app, HostingEnvironment env)
public void Configure(IApplicationBuilder app, HostingEnvironment env){
app. UseAuthentication();
app.UseMvc();
app.UseSignalR (builder =>
{

Thông tin

Category
PRN221
Thêm bởi
Kokichi20051
Ngày thêm
Lượt xem
1,124
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN221_-_FE_-_SU_2023_506.webp
File size
85.5 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom