horsdal / microservices-in-dotnetcore

The code sample from my microservices book - https://manning.com/books/microservices-in-net-core
MIT License
178 stars 77 forks source link

You said in chapter 9of your book that we should use HttpClientFactory here, but in code you still use new HttpClient() I've done all as you said but my code doesn't compile, because on application startup we doesn't have dependency. Could you please clarify what should we do? #8

Open spykid90 opened 6 years ago

spykid90 commented 6 years ago

https://github.com/horsdal/microservices-in-dotnetcore/blob/2fdf1f52114a3dd332664f4acd059c40f0efd7f0/src/Chapter09/ShoppingCart/ProductCatalogueClient.cs#L44

horsdal commented 6 years ago

Which dependency is missing at start up? Also is your code somewhere public or could you send it to me?

ons. 5. sep. 2018 11.41 skrev spykid90 notifications@github.com:

https://github.com/horsdal/microservices-in-dotnetcore/blob/2fdf1f52114a3dd332664f4acd059c40f0efd7f0/src/Chapter09/ShoppingCart/ProductCatalogueClient.cs#L44

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/horsdal/microservices-in-dotnetcore/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AApRHu-kJEJgj7xM_4aMTDko3aRLD7i8ks5uX5w0gaJpZM4Wai4_ .