Rewrite the Url by removing the tenant name from the begining of the path.
Default constructor
public Void TenantNameUrlRewriterRule()
Applies the rewrite rule.
public Void ApplyRule(context)
Name | Type | Summary |
---|---|---|
context | RewriteContext | A RewriteContext. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when context is null. |
MissingPartitionKeyException | Thrown when the HttpContext does not contains Tenant information. |
In this document