API/Application Configuration 您所在的位置:网站首页 支付宝如何向公司转账 API/Application Configuration

API/Application Configuration

2023-10-21 09:51| 来源: 网络整理| 查看: 265

Application Configuration Endpoint

ABP Framework provides a pre-built and standard endpoint that contains some useful information about the application/service. Here, the list of some fundamental information at this endpoint:

Granted policies (permissions) for the current user. Setting values for the current user. Info about the current user (like id and user name). Info about the current tenant (like id and name). Time zone information for the current user and the clock type of the application.

If you have started with ABP's startup solution templates and using one of the official UI options, then all these are set up for you and you don't need to know these details. However, if you are building a UI application from scratch, you may want to know this endpoint.

HTTP API

If you navigate to the /api/abp/application-configuration URL of an ABP Framework based web application or HTTP Service, you can access the configuration as a JSON object. This endpoint is useful to create the client of your application.

Script

For ASP.NET Core MVC (Razor Pages) applications, the same configuration values are also available on the JavaScript side. /Abp/ApplicationConfigurationScript is the URL of the script that is auto-generated based on the HTTP API above.

See the JavaScript API document for the ASP.NET Core UI.

Other UI types provide services native to the related platform. For example, see the Angular UI settings documentation to learn how to use the setting values exposes by this endpoint.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有