Base solution for your next web application
Open Closed

Require help to host API in subfolder #6515


User avatar
0
amitjpat created

Dear Support,

I would like to host API in subfolder. Please suggest for changes required or any documentation available.


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @amitjpat

    Sorry, we don't have a documentation for that. What have you tried until now ? Publishing the app into a sub-website and changing the Urls in appsettings.json should be enough.

  • User Avatar
    0
    amitjpat created

    I have done this but swagger UI do not load.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @amitjpat Could you share the screen you are seeing and your AspNet Zero version ?

    Thanks,

  • User Avatar
    0
    amitjpat created

    @ismcagdas Have found the documention and the issue is resolved.

    Thank you.