Commit 32de2b90 by dingsongjie

注册 grpc 服务

parent 9aa11ff0
using Microsoft.AspNetCore.Builder;
using Pole.Sagas.Server.Services;
using System;
using System.Collections.Generic;
using System.Text;
......@@ -13,9 +14,9 @@ namespace Pole.Sagas.Server
builder.UseEndpoints(endpoints =>
{
endpoints.MapGrpcService<BacketService>().EnableGrpcWeb();
endpoints.MapGrpcService<SagaService>();
});
return builder;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment