Developer forum

Forum » Development » MVC application in Dynamicweb

MVC application in Dynamicweb

Nuno Aguiar
Reply

Hi,

 

I have a MVC application and I want to include it inside a Dynamicweb website. My requirements are:

  • I cannot change Dynamicweb's web.config
  • I cannot change Dynamicweb's global.asax
  • I cannot recompile Dynamicweb assemlies
  • I can create custom modules
  • We don't want an iFrame
  • The final website should be seamless, so there's going to be a menu, other pages, paragraphs and modules
  • The developers want to maintain the MVC app and controllers separately, because it's being shared across other platforms

 

So far I concluded we should build a custom module to which we redirect (all or seleted) of the http request parameters to my MVC app. However my question is how can this be configured:

  • Should we place the MVC application under CustomModules?
  • How could the MVC application run if it's located within DW? Could we reference it otherwise?
  • Is this even possible?

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Høeg Pedersen
Reply

You have to change at least global.asax - and probably also web.config.

Your best option is to place it in /YourMvcApplication and create it, not as a folder, but as an application in IIS. In that way it will be all standalone.

NP

 
Nuno Aguiar
Reply

Hi Nicolai,

 

I understand. We kind of figure that, but decided to try our luck.

 

Best Regards,

Nuno Aguiar

 

You must be logged in to post in the forum