Removed UseEndpoints (#28288)
parent
83785ee8e1
commit
7b293fac6a
|
@ -26,10 +26,7 @@ app.UseRouting();
|
|||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapGrpcService<GreeterService>();
|
||||
});
|
||||
app.MapGrpcService<GreeterService>();
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
|
|
Loading…
Reference in New Issue