【在 n******0 的大作中提到】 : I am a beginner with MVC. Can anybody tell me how to put controller and : model into separate projects (assemblies)? Thanks.
n******0 发帖数: 298
3
Thank you very much!
【在 s***o 的大作中提到】 : It as easy as to put them in a class library project and refer to them : in your web application. : ... : Well this is just the case for your Model. For controllers, there are : more works to do because you need to tell the framework where to find : the controllers. Check for following links for more details: : http://stackoverflow.com/questions/401376/asp-net-mvc-put-contr : into-a-separate-project : http://forums.asp.net/t/1610265.aspx/1? : How+to+Move+Controllers+Models+into+a+New+Project+Assembly+in+MVC+2+