This commit is contained in:
mmrbnjd
2025-08-18 17:30:02 +03:30
parent 067607d98a
commit 561f58784c
15 changed files with 588 additions and 282 deletions

View File

@@ -0,0 +1,14 @@
using AIAss.Services;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddGrpc();
var app = builder.Build();
// Configure the HTTP request pipeline.
app.MapGrpcService<GreeterService>();
app.MapGet("/", () => "Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909");
app.Run();