Click or drag to resize
ApplicationBuilderExtensionsUseActivityTracking Method
Enables the activity tracking feature.

Namespace: Kentico.Activities.Web.Mvc
Assembly: Kentico.OnlineMarketing.Web.Mvc (in Kentico.OnlineMarketing.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public static void UseActivityTracking(
	this IApplicationBuilder builder
)

Parameters

builder
Type: Kentico.Web.MvcIApplicationBuilder
The application builder.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IApplicationBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Enabling the activity tracking feature prepares routes to be mapped once MapRoutes(ExtensionPointRouteCollection) is called. Inherently this method must be called prior to system routes mapping.
See Also