c# - Routing API project and Web Application project in the same domain (Azure) -
background
i have 2 separate projects in solution. 1 of them (the web application project) responsible show landing page (on root of domain, www.example.com) , documentation api (say www.example.com/documentation).
the other project responsible api itself. it's path must www.example.com/api/v1/ ensure compatibility our previous software.
we made way able publish updates of projects without need publish entire solution, , of course, organization.
problem
i don't how configure applications run on azure on same domain different routes, , i'm stating fear not possible.
i tried configure subdomain (say api.example.com/v1), can't done because break compatibility our current clients.
this question i'm looking for, not show how on azure, , this one on azure using subdomains.
- first: have create 2 folders, 1 web api , second web app
- second: have set 2 folders application.
after doing 2 steps can acces 2 folder puting:
- www.yourdomaine.com(or another)/nameofyourfolder
good luck
Comments
Post a Comment