Vijay Pratap Singh

Vijay Pratap Singh

  • 341
  • 5k
  • 465k

How to centralize all the web API endpoints during consuming API?

Jul 19 2022 8:13 AM

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  


Answers (1)