In a previous question I found out how to create a plugin architecture for MVC. I’m not the whole way down that path yet but I do have a nice way of splitting things up.
One thing that is bugging me though is the intellesense for the View when they are in the Class Library. Developing them in the core MVC project and then copying them across is a pain.
Basically the problem that I’m having is that I don’t understand well enough how Visual Studio is dealing with the aspx files. I’m on Beta at the moment, I’m thinking that I might be able to take advantage of explicit view building that comes with RC1.
Any help would be appreciated.
update:
I have all of the finding of views sorted out when it is actually running, its the editing of them in visual studio I’m interested in. Do they have to be in a web type project?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
The views can be whereever you like. There’s a ViewLocator and you can replace it and put them wherever you like: http://blogs.teamb.com/craigstuntz/2008/07/31/37827/.
You could put them in a binary or in a database if it made you happy.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0