ApplicationBuilder Class |
Namespace: Kentico.Web.Mvc
public sealed class ApplicationBuilder : IApplicationBuilder
The ApplicationBuilder type exposes the following members.
Name | Description | |
---|---|---|
UseABTesting |
Enables the A/B testing feature.
(Defined by ApplicationBuilderExtensions.) | |
UseActivityTracking |
Enables the activity tracking feature.
(Defined by ApplicationBuilderExtensions.) | |
UseCampaignLogger |
Enables the campaign logging of UTM parameters for each request.
(Defined by CampaignApplicationBuilderExtensions.) | |
UseDataAnnotationsLocalization |
Enables localization of ASP.NET model meta-data based on data annotation attributes.
Display names or validation results declared with data annotation attributes can contain keys of Kentico resource strings that will be resolved automatically using Kentico localization API.
The localization uses a custom model metadata provider based on data annotations and is therefore not compatible with other providers or their customizations.
(Defined by ApplicationBuilderExtensions.) | |
UseEmailTracking |
Enables the opened email and email link tracking feature.
(Defined by ApplicationBuilderExtensions.) | |
UsePageBuilder | Enables the Page builder feature to compose page content based on registered widgets. The preview functionality must be enabled using UsePreview(IApplicationBuilder) in order to use the Page builder. | |
UsePageRouting |
Enables features used with URL routing.
(Defined by ApplicationBuilderExtensions.) | |
UsePreview |
Transparently handles preview URLs and also disables output caching in preview mode.
(Defined by ApplicationBuilderExtensions.) | |
UseResourceSharingWithAdministration |
When request is sent from administration domain of the site,
adds header Access-Control-Allow-Origin into response to enable cross origin resource sharing (CORS) with the administration.
(Defined by ApplicationBuilderExtensions.) |