mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 14:48:14 +08:00
Upgrade Projects (#900)
* Upgrade Projects * Push to trigger builds * Tried Thread Sleep before deleting file * FileDeleteTryCatch * Updated from AspnetCore All to App * Travis version Upgrade (.net core 2.2) * dotnet 2.2.105
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
namespace ApiGateway
|
||||
using Ocelot.Provider.Eureka;
|
||||
using Ocelot.Provider.Polly;
|
||||
|
||||
namespace ApiGateway
|
||||
{
|
||||
using Microsoft.AspNetCore;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
@ -27,7 +30,9 @@
|
||||
})
|
||||
.ConfigureServices(s =>
|
||||
{
|
||||
s.AddOcelot();
|
||||
s.AddOcelot()
|
||||
.AddEureka()
|
||||
.AddPolly();
|
||||
})
|
||||
.Configure(a =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user