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