Removed UseEndpoints (#28288)

pull/28355/head
Constantine Colotiline 2023-02-11 02:07:38 +03:00 committed by GitHub
parent 83785ee8e1
commit 7b293fac6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -26,10 +26,7 @@ app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.UseEndpoints(endpoints =>
{
endpoints.MapGrpcService<GreeterService>();
});
app.MapGrpcService<GreeterService>();
```
> [!NOTE]