How to use Refit Client Library in .NET - Introduction

preview_player
Показать описание
🎉 Get access to 200+ articles on C# and.NET
/ mwaseemzakir

✔ Download my book "30+ Tips for .NET Developers" FREE

In this video, I discuss the Refit client, a type-safe REST client library that helps us communicate with APIs using HTTPS.

I explain how to utilize and configure the Refit client, design the response model, create the Refit client interface, and implement the methods.

I also demonstrate two approaches to calling the Refit client: one using dependency injection and the other using a REST service.

By the end of the video, you will have a clear understanding of how to use the Refit client in your projects.

Join my Weekly .NET Newsletter

00:00 Introduction
00:32 Retrieving Data with Refit Client
02:31 Designing the Response Model
04:25 Creating the Refit Client Interface
06:46 Implementing the Refit Client Method
10:06 Injecting the Refit Client in the Controller
11:28 Summary and Two Approaches to Calling the Refit Client

#csharp #dotnet #refit
Рекомендации по теме
Комментарии
Автор

If you found it helpful then you should join my weekly .NET newsletter with 8800+ engineers.

Subscribe here → shorturl.at/lAT13

mwaseemzakir
welcome to shbcf.ru