From 9f815cec42fc0d1c0f55b5a4f92c561dc7262c22 Mon Sep 17 00:00:00 2001 From: TomPallister Date: Tue, 25 Oct 2016 22:07:56 +0100 Subject: [PATCH] Updated readme --- README.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/README.md b/README.md index 422d2a38..2e652f16 100644 --- a/README.md +++ b/README.md @@ -36,17 +36,7 @@ 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. ` -namespace TestOcelot -{ - using Microsoft.AspNetCore.Builder; - using Microsoft.AspNetCore.Hosting; - using Microsoft.Extensions.Configuration; - using Microsoft.Extensions.DependencyInjection; - using Microsoft.Extensions.Logging; - using Ocelot.DependencyInjection; - using Ocelot.Middleware; - - public class Startup +public class Startup { public IConfigurationRoot Configuration { get; } @@ -81,8 +71,6 @@ namespace TestOcelot app.UseOcelot(); } } -} - ` An example configuration can be found [here](https://github.com/TomPallister/Ocelot/blob/develop/test/Ocelot.ManualTest/configuration.yaml)