I have ASP.NET with MVC and Razor markup website and I want to run it on my Linux VPS.
I have mono 3.2.8 and xsp4 3.0.0.0 version, both from Ubuntu repository (insta
The upstream bug report regarding this issue is located here.
A suggested workaround until the bug is fixed and the method implemented is to use Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility.RegisterModule
instead of HttpApplication.RegisterModule
.
The issue here describes a workaround, which would be to change HttpApplication.RegisterModule
to Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility.RegisterModule
in PreApplicationStart.cs in OWIN (the previous master already had the relevant IFDEF for NET 4.0, but it was reverted for some reason) or to include the DLL they specify or register the module manually in the web.config .
The alternative that doesn't require any code change to OWIN is to implement the missing method in Mono and fix the bug and then backport the fix to your Mono version.