Add project files.

This commit is contained in:
Khwezi Mngoma
2026-04-05 21:05:33 +02:00
parent 32615141bb
commit 82af287b62
641 changed files with 368193 additions and 0 deletions

18
GrpcService1/Program.cs Normal file
View File

@@ -0,0 +1,18 @@
using GrpcService1.Services;
var builder = WebApplication.CreateBuilder(args);
builder.AddServiceDefaults();
// Add services to the container.
builder.Services.AddGrpc();
var app = builder.Build();
app.MapDefaultEndpoints();
// 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();