use-abp-standard-endpoints
Installation
SKILL.md
Use ABP Standard Application Endpoints
Every ABP host ships two pre-built HTTP endpoints that describe the running application/service to its clients: /api/abp/application-configuration and /api/abp/application-localization. Official UI clients call these on startup; you only touch them directly when building a client from scratch or extending what they return.
When to Use
- Reading
/api/abp/application-configurationto get the current user, granted permissions (policies), setting values, features, multi-tenancy info, timing/clock, object extensions. - Reading
/api/abp/application-localizationto pull localization resources and texts for a culture. - Extending the configuration endpoint with your own data via
IApplicationConfigurationContributor+AbpApplicationConfigurationOptions. - Building a non-official client (a custom SPA, a mobile app, a service) that needs the same bootstrap data ABP's UIs consume.
When Not to Use
- Exposing your own application services as REST controllers — use the expose-http-apis skill.
- Calling a remote ABP API from C# (client proxies,
AbpRemoteServiceOptions) — use the consume-remote-services skill. - Consuming this config inside Angular/Blazor/MVC at startup (
ConfigStateService,abp.currentUser, etc.) — use the per-stack UI skill (angular-ui / blazor-ui / mvc-razor-ui). - Defining the settings/features that show up here — use manage-settings-and-features.
- Defining the permissions whose grants show up under
Auth.GrantedPolicies— use permissions-and-authorization.