You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ushakov Michael edited this page Jun 26, 2026
·
3 revisions
Standard routes
By default all controllers that are derived from WebApiToolkitbase controller classes have the prefix ~/api/[Controller]. If we are having an OrganizationController class derived from BasicCrudController, it has all HTTP endpoints starting from the /api/Organization prefix.
Custom Controller Routes
It is possible to change a prefix in a individual Controllers by setting the Route attribute with appropriate template, if we are going to add version to Route it should be done as follows (see the correct import using Microsoft.AspNetCore.Mvc; not the using Microsoft.AspNetCore.Component;)