在WebProject.Web.Mvc项目中的Startup文件夹下中的WebProjectWebMvcModule.cs
public override void PreInitialize() { Configuration.Auditing.IsEnabled = false; //设置为false Configuration.Navigation.Providers.Add<WebProjectNavigationProvider>(); }
在WebProject.Web.Mvc项目中的Startup文件夹下中的WebProjectWebMvcModule.cs
public override void PreInitialize() { Configuration.Auditing.IsEnabled = false; //设置为false Configuration.Navigation.Providers.Add<WebProjectNavigationProvider>(); }