Skip to content

Tenants (OrchardCore.Tenants)

租户(OrchardCore.Tenants)

The Tenants module allows to manage tenants.

租户模块允许管理租户。

Static File Provider Feature

静态文件提供程序功能

This feature registers a file provider for each tenant in order to serve custom files

此功能为每个租户注册文件提供程序,以便提供自定义文件

per tenant, even if they have the same names.

每个租户,即使他们有相同的名字。

Once enabled on a tenant, a folder wwwroot is created in the App_Data folder. Any

一旦在租户上启用,就会在App_Data文件夹中创建一个文件夹wwwroot。任何

file that is placed in this folder will be served under the same domain and prefix as

放置在此文件夹中的文件将在相同的域和前缀下提供

the tenant.

租客。

Any static file that is placed in the content root folder of the website will be served

将提供放置在网站的内容根文件夹中的任何静态文件

first.

第一。