mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
Updated readme
This commit is contained in:
parent
dfcf91a313
commit
2e3a0e8521
@ -35,8 +35,6 @@ All versions can be found [here](https://www.nuget.org/packages/Ocelot/)
|
|||||||
|
|
||||||
An example startup using a yaml file for configuration can be seen below. Currently this is the only way to get configuration into Ocelot.
|
An example startup using a yaml file for configuration can be seen below. Currently this is the only way to get configuration into Ocelot.
|
||||||
|
|
||||||
`
|
|
||||||
|
|
||||||
public class Startup
|
public class Startup
|
||||||
{
|
{
|
||||||
public IConfigurationRoot Configuration { get; }
|
public IConfigurationRoot Configuration { get; }
|
||||||
@ -72,7 +70,7 @@ An example startup using a yaml file for configuration can be seen below. Curren
|
|||||||
app.UseOcelot();
|
app.UseOcelot();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
|
||||||
|
|
||||||
An example configuration can be found [here](https://github.com/TomPallister/Ocelot/blob/develop/test/Ocelot.ManualTest/configuration.yaml)
|
An example configuration can be found [here](https://github.com/TomPallister/Ocelot/blob/develop/test/Ocelot.ManualTest/configuration.yaml)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user