Consuming HTTP APIs
Consuming your HTTP APIs from your client applications typically requires a lot of common and repetitive logic to apply. You deal with authorization, object serialization, exception handling, and more in every HTTP request to the server. ABP Framework can completely automate that process via dynamic and generated (static) client-side proxies.
We've already covered the practical usage of ABP's client-side proxy system in the Consuming HTTP APIs section of Chapter 12, Working with MVC/Razor Pages, and in the Consuming HTTP APIs section of Chapter 13, Working with the Blazor WebAssembly UI. So, I won't repeat it here but will bring it all together and fill in the missing points.
Let's start with dynamic client proxies.
Using ABP's dynamic client-side proxies
The dynamic proxy system allows us to consume server-side HTTP APIs with a simple configuration. The dynamic name states that the proxy code is generated dynamically at runtime...