DBGate serves three types of endpoints:
You may place static files in the wwwroot subfolder.
DBGate creates a set of endpoints for each connection specified in the appsettings.json file:
You may customize the API root in the appsettings.json file.
DBGate creates endpoints for each edit root specified in the EditRoots setting in the appsettings.json file:
DBGate returns the edit page content for any URL that starts with the edit root.
This feature allows using the window.location.href value in the edit page to calculate an actual API URL.