I am rather new to the MVC 3 environment, and I need help.
I am trying to setup a MVC environment in a portal type of scenerio. So I setup a base project for MVC 3 in VS 2010. The following is the folder structure:
Common
Controllers
Resources
Views
Project1
Controllers
Views
Project2
Controllers
Views
Question 1: how do I bind a specific Controller in /Project1/Controllers to Project1/Views?
Question 2: How do I set up the Project1/Views folder? I know the default Views folder has a web.config file, and the MVC is setup to look in this folder by default. How do I change this behavior, so I can include the Project1/Views.
eherrera
Member
5 Points
4 Posts
How to bind a Controller to a View
Feb 29, 2012 05:24 PM|LINK
Hi
2 Posts
<div class="comment-right-col">Hi All,
I am rather new to the MVC 3 environment, and I need help.
I am trying to setup a MVC environment in a portal type of scenerio. So I setup a base project for MVC 3 in VS 2010. The following is the folder structure:
Question 1: how do I bind a specific Controller in /Project1/Controllers to Project1/Views?
Question 2: How do I set up the Project1/Views folder? I know the default Views folder has a web.config file, and the MVC is setup to look in this folder by default. How do I change this behavior, so I can include the Project1/Views.
Thank you,
E.
</div>views