У нас вы можете посмотреть бесплатно You are mocking the HttpClient the wrong way или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Get started with Octopus Deploy: https://oc.to/nickchapsas Check out my courses: https://dometrain.com Become a Patreon and get source code access: / nickchapsas Hello everybody I'm Nick and in this video I will show you what is my prefered way to mock the HttpClient in .NET. Many people are using Moq's Protected feature to use reflection and access the SendAsync method by name but I really don't like this approach. Let's see what I do instead. Give MockHttp a star on GitHub: https://github.com/richardszalay/mock... Don't forget to comment, like and subscribe :) Social Media: Follow me on GitHub: http://bit.ly/ChapsasGitHub Follow me on Twitter: http://bit.ly/ChapsasTwitter Connect on LinkedIn: http://bit.ly/ChapsasLinkedIn This video is sponsored by Octopus Deploy Keep coding merch: https://keepcoding.shop #csharp #dotnet #testing