Servicestack locode deployment

I’m deploying the locode Chinook app locally into IIS for testing. A few questions:

  1. Is it possible to deploy the application with the mindset that the locode app itself is the default functionality? I’d like users driven to the locode app versus the api/details/code aspect.

  2. When deployed the api section works but when clicking into the locode button on different function calls I get: No webpage was found for the web address: http://localhost:81/locode/QueryAlbums

If by that you mean that it shows up by default, you should be able to redirect to it on the home page with:

SetConfig(new HostConfig {
    DefaultRedirectPath = "/locode/",

Although as a main Application I would consider creating a Custom Admin UI from the vue-mjs template as done in Build Beautiful Admin UIs, Fast which allows you to build a Locode like UI very quickly that’s a lot more customizable.

Locode is expected to be at the root page i.e. /locode/ if the issue is because you’re using a IIS with virtual folder instead of a custom port.