DEV Community

Discussion on: Mocking the HttpClient in .NET Core (with NSubstitute)

Collapse
codemaker profile image
codemaker

Could you please post complete code :)

Collapse
n_develop profile image
Lars Richter Author

Hi codemaker,

I'm so sorry, that I missed your comment on this. I will create a public GitHub repo with the entire code and post the link in here.

Collapse
n_develop profile image
Lars Richter Author

So, sorry for the long delay.
You can check out a full, yet short, example here: github.com/n-develop/HttpClientMock
I hope it helps.