I am consuming a lot of APIs with different API endpoints in the ASP.NET MVC project. But I am using all the endpoints in the controller method itself. I want to create such a file where I can put my all API endpoints just like I included by base API URL in the appsetting.json file in ASP.NET MVC.
I
How to centralize all the web API endpoints during consuming API?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Sachin SinghRank #66 · 26.2K reputationPosted Jul 19, 2022, 6:04 AM EDT