Reputation: 2165
is it possible to have ASP.NET MVC areas in multiple projects? For example:
Admin area - MyProject.Admin project
Forum area - MyProject.Forum project
etc...
From what I header it's not possible out of the box, but is possible with Portable areas from MVCContrib. Is it possible to do that with FubuMVC?
Upvotes: 1
Views: 1838
Reputation: 21
Here is an example of a portable area setup that I wrote. You can package them very easily with MVC using the contrib. It isn't hard to do it.
http://elegantcode.com/2012/04/06/mvc-portable-areas/
Upvotes: 1
Reputation: 196
Is it possible to do that with FubuMVC?
FubuMVC allows you to package up controllers, views, assets, etc. by using Bottles (similar in concept to Areas, but better).
Upvotes: 3
Reputation: 1039398
From what I header it's not possible out of the box
You have heard correctly. The problem is with embedding the views into a separate assembly. While not possible out-of-the-box you could definitely achieve it as shown in this article.
but is possible with Portable areas from MVCContrib
Yes.
Is it possible to do that with FubuMVC?
I have no idea.
Upvotes: 2