Yes, I had seen that solution you suggested but didn't want to break the dynamic js api that is created so opted for a thin proxy layer. I will try this today, thank you.
Hi,
We are using the DotNetCore MVC/jQuery solution..
We find that having all our API calls only be accessible via the path domain.com/api/services/app/Component/Method very inconvenient for our customers. We also realize that as most the API calls are dynamically generated from our AppServices, we are kind of locked in to this.
Since the actual API set we want to expose is fairly small, what we would like to do as a work around, so our customers can simply access the api from domain.com/api/Component/Method is create a small WebApi proxy layer that literally acts as a 100% passthru to the subset of AppService Api calls. My question is 3 fold:
what project do we implement this so that these WebAPI calls will be accessible within both the MVc and the Host proect
How do we set a custom route for these calls? I can't seem to get custom routes working in any Abp or AspNetZero projects
How do we ensure these calls are included in our Swagger UI?
Also, if there are already some example of custom non-AppService API's being exposed like this, I could probably figure this out, happy to be pointed to the right area if I'm just missing it...
thanks! jasen