2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 14:38:43 +00:00
This commit is contained in:
2026-06-08 16:15:57 +03:00
parent 8143da2eee
commit 340798a5fa
111 changed files with 20647 additions and 27 deletions
+16
View File
@@ -0,0 +1,16 @@
using Esiur.Tests.RPC.SignalRServer;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSignalR(o =>
{
o.EnableDetailedErrors = true;
o.MaximumReceiveMessageSize = 10 * 1024 * 1024; // 10 MB
});
var app = builder.Build();
app.MapHub<EchoHub>("/hub/echo");
app.Urls.Add("http://0.0.0.0:5200");
app.Run();