Take a look at this document https://aspnetboilerplate.com/Pages/Documents/Handling-Exceptions#ajax-requests
You don't need to care about tenant-related things when you disable multi-tenancy(Users can set the tenant id). In the case of multi-tenancy: the default tenant can be removed or modified.
Please refer to the tenant and host documentation Multi-Tenancy#host-vs-tenant
You need to replace the two Urls with {TENANCY_NAME}
Please see the documentation: https://aspnetzero.com/Documents/Development-Guide-Angular?#angular-solution
What is the http return message from the browser when you throw an exception in the interceptor? (status code and response body)
You can inject IHttpContextAccessor
and then remove the __PerRequestSessionCache of the Items
Try it locally: npm run publish
to see the environment.
What is your zero version?
I think the implementation is very difficult. EF and EF Core do not support MongoDB.