0

I have a requirement where Multiple WebAPI services(i.e. WebAPI1,WebAPI2,WebAPI3 etc.) work for the same product and as per requirement we need to use single Middleware to Authenticate the request for All WebAPI services(i.e. WebAPI1,WebAPI2,WebAPI3 etc.)

after lots of R&d i found nothing that's works for Multiple API. Guys Please suggest the better way.

Satish Kumar sonker
  • 1,250
  • 8
  • 15
  • can you elaborate do all of the api have different routes such as /api/ , /api1/ etc do all the api reside in singe sln or are the different projects. – Shantanu Jun 07 '19 at 07:16
  • I have a single sln with multiple API Projects – Satish Kumar sonker Jun 07 '19 at 07:20
  • 1
    so every api project must be having a different middileware chain , what you can do is combine api projects and distinguish them based on routes,this way you have a single middleware with multiple api paths – Shantanu Jun 07 '19 at 07:26

0 Answers0