ASP.NET MVC in DotNetNuke?

Is it possible to create a DNN module that uses ASP.NET MVC?

Provided that DNN does not support ASP.NET MVC out of the box ... but since DNN and MVC work on top of the ASP.NET pipeline ...

I ask. Great old DNN website:

http://blahblahblah.com

I would like to use an existing ASP.NET MVC webpage here:

http://blahblahblah.com/subfolder

Is it better to do this by setting up a virtual directory on the server, etc., or is there a way to integrate this with DNN?

+5
source share
4 answers

DNN Webforms. ASP.Net MVC , , . DNN Webforms MVP (Model View Presenter), MVC WebForms. , DotNetNuke Corp., Webforms MVP.

, Webforms MVP DotNetNuke - 1.

+8

DnnMvcBridge, DNN MVC 4 Razor.

https://dnnmvcbridge.codeplex.com/

+3

If you want a separate MVC application to be in a subdirectory, you must do this. The main tricky part will be user / session integration (assuming what you need), but this should not be too big an obstacle to define (as opposed to re-encoding an existing MVC application). You may also need to update web.config for your MVC application to clear anything from the DNN (most importantly, HTTP modules and handlers so that they do not interfere with routing).

0
source

All Articles