Click or drag to resize
ApplicationBuilder Class
Configures the request pipeline using Kentico ASP.NET MVC integration features.
Inheritance Hierarchy
SystemObject
  Kentico.Web.MvcApplicationBuilder

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public sealed class ApplicationBuilder : IApplicationBuilder

The ApplicationBuilder type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrent
Gets the current application builder.
Top
Extension Methods
  NameDescription
Public Extension MethodUseABTesting
Enables the A/B testing feature.
(Defined by ApplicationBuilderExtensions.)
Public Extension MethodUseActivityTracking
Enables the activity tracking feature.
(Defined by ApplicationBuilderExtensions.)
Public Extension MethodUseCampaignLogger
Enables the campaign logging of UTM parameters for each request.
(Defined by CampaignApplicationBuilderExtensions.)
Public Extension MethodUseDataAnnotationsLocalization
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.)
Public Extension MethodUseEmailTracking
Enables the opened email and email link tracking feature.
(Defined by ApplicationBuilderExtensions.)
Public Extension MethodUsePageBuilder

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.

(Defined by ApplicationBuilderExtensions.)
Public Extension MethodUsePageRouting
Enables features used with URL routing.
(Defined by ApplicationBuilderExtensions.)
Public Extension MethodUsePreview
Transparently handles preview URLs and also disables output caching in preview mode.
(Defined by ApplicationBuilderExtensions.)
Public Extension MethodUseResourceSharingWithAdministration
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.)
Top
See Also