From 4e22b3cfc44aca66167426c6b62d3cda53622ace Mon Sep 17 00:00:00 2001 From: Tom Pallister Date: Sun, 12 Aug 2018 20:00:36 +0530 Subject: [PATCH] #529 +semver: breaking updated docs to show how to load pivotal package (#542) --- docs/features/servicediscovery.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/features/servicediscovery.rst b/docs/features/servicediscovery.rst index 3a88fb47..c24a2e39 100644 --- a/docs/features/servicediscovery.rst +++ b/docs/features/servicediscovery.rst @@ -117,7 +117,18 @@ This feature was requested as part of `Issue 262 `_ which is something to do with `Pivotal `_! Anyway enough of the background. -In order to get this working add the following to ocelot.json.. +The first thing you need to do is install the NuGet package that provides Eureka support in Ocelot. + +``Install-Package Ocelot.Provider.Eureka`` + +Then add the following to your ConfigureServices method. + +.. code-block:: csharp + + s.AddOcelot() + .AddEureka(); + +Then in order to get this working add the following to ocelot.json.. .. code-block:: json