开发者

Add Orchard as sibling directory of module (existing MVC app)

开发者 https://www.devze.com 2023-03-29 15:40 出处:网络
I have an existing mvc app and a complicated directory structure the organization uses. I understand in order to combine the existing app into orchard, I would have to add it as a subdir in the Module

I have an existing mvc app and a complicated directory structure the organization uses. I understand in order to combine the existing app into orchard, I would have to add it as a subdir in the Modules area. What I'm trying to do is do that virtually, so that the existing file structure can stay in place but yet orchard can find the code and treat it as a module.

For example, the existing structure looks like

-phoneapp

-phoneapp.test

-clientlib

-clientlib.test

-security

-security.test

-website

-website.test

And I want:

-phoneapp

-开发者_如何学编程phoneapp.test

-clientlib

-clientlib.test

-security

-security.test

-website

-website.test

-orchard

is this possible to direct orchard to look outside it's own directory structure for it's module?


Orchard is going to want to take over the routing for whatever site it lives on. You can install Orchard into a subdirectory as the base path by creating a virtual application directory in IIS and dropping the Orchard source in there.

0

精彩评论

暂无评论...
验证码 换一张
取 消