DNN Appplication_start in global.asax not firing



我已经配置了某些在application_start中调用的方法,但是Application_start似乎根本没有触发。任何信息都将不胜感激。

我正在使用DNN 9

预先感谢!

您最近是否在解决方案中重命名?

"干净解决方案"one_answers"重建"不会删除组件

检查global.asax继承="属性

可能会引用旧的东西。

dnn接管了应用程序实例,这是DNN功能所必需的。因此,您不能覆盖application_start,它已经用自己的继承类覆盖它。

我将使用httpmodule或使用DNN调度程序创建计划过程。

检查这些博客有关如何使用对我有用的HTTP模块:https://erraticdev.blogspot.com/2010/08/writing-ihttpmodule-thats-able-to.htmlhttps://erraticdev.blogspot.com/2011/01/how-to-correctly-use-use-ihttpmodule-to.html

最新更新