Hi Bastron,
This is my Global.asax file content
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
ApplicationBuilder builder = ApplicationBuilder.Current;
//builder.UseABTesting();
builder.UseEmailTracking();
// Enables and configures selected Kentico ASP.NET MVC integration features
ApplicationConfig.RegisterFeatures(ApplicationBuilder.Current);
// Registers routes including system routes for enabled features
RouteConfig.RegisterRoutes(RouteTable.Routes);
// Registers enabled bundles
BundleConfig.RegisterBundles(BundleTable.Bundles);
//register dep inject - autofac
DependencyResolverConfig.RegisterDependencies();
}
}
This is my ApplicationConfig.cs file content,
public class ApplicationConfig
{
public static void RegisterFeatures(IApplicationBuilder builder)
{
// Enable required Kentico features
// Uncomment the following to use the Page builder feature
builder.UsePageBuilder();
//builder.UseScheduler();
builder.UsePageRouting(new PageRoutingOptions
{
//EnableAlternativeUrls = true
});
}
}