如何禁止抛出 DotvvmInterruptRequestExecutionException?

How to disable throwing DotvvmInterruptRequestExecutionException?

我正在试验 DotVVM 框架,有时 Visual Studio 会抛出 DotvvmInterruptRequestExecutionException。

我知道这个异常是用来中断当前请求的执行,以便能够重定向。但是,我想停止抛出这个异常。

我知道这是可能的,但我不知道该怎么做。

我们写了一篇博客 post,其中解释了为什么抛出异常以及如何设置 Visual Studio 不中断此异常。

http://www.dotvvm.com/blog/1/Why-I-am-getting-the-DotvvmInterruptRequestExecutionException-