English 中文(简体)
多个伙伴关系框架。 MET MVC 3项目
原标题:Framework to include multiple ASP.MET MVC 3 Projects

I developed an ASP.NET MVC 3 WebApp using JQuery & xRM. Now client wants another WebApp which will connect to another datasource but hosted on the same IIS. I think they will request few other similar apps, some connecting to multiple datasources at the same time.

就这些评估的管理而言,如果我能够分享大部分执行工作,而不是从每小时开学开始,那将是巨大的。 除了数据来源外,如果我能够分享共同的图书馆和组合,那将是巨大的。 除课程外,还有类似于“MVC 成员启动者基”项目的内容。

我研究了“Areas”和“Aamp;这可能是最容易选择的。 我还看一看IoC,如Ninject,可能帮助很少的人。

因此,任何人都走过任何MVC 3兼容框架,以便把MVC的仪器作为模块开发?

问题回答

我一直在研究主题事项:blog“MVC3 and MEF” ,其中建议MFE可能是候选人。 还有一个由Maarten Balliauw称为MEFContrib执行的方案。 MVC.

我可以真正理解,在目前时间选择其中的是什么(1:40 AM,2martinisdown)。 我还发现了一个关于支持“Areas”的陈词典,他在那里丢了博客的原始/扩展,但样本位于MVC2。

因此,如果我能够利用MEFContrib。 MVC和增加地区支持作为“父母/监护人”项目,我们有可能创建另一个“pl子”儿童项目,在发展过程中将父母DL指母。 就部署而言,我们都必须做(在实施事项方面),将pl-in(儿童)档案(DL &观点)丢入“Areas”子流和营地;重新启动申请。

Does this sound like a possible solution?





相关问题
WebForms and ASP.NET MVC co-existence

I am trying to make a WebForms project and ASP.NET MVC per this question. One of the things I ve done to make that happen is that I added a namespaces node to the WebForms web.config: <pages ...

Post back complex object from client side

I m using ASP.NET MVC and Entity Framework. I m going to pass a complex entity to the client side and allow the user to modify it, and post it back to the controller. But I don t know how to do that ...

Create an incremental placeholder in NHaml

What I want to reach is a way to add a script and style placeholder in my master. They will include my initial site.css and jquery.js files. Each haml page or partial can then add their own required ...

asp.net mvc automapper parsing

let s say we have something like this public class Person { public string Name {get; set;} public Country Country {get; set;} } public class PersonViewModel { public Person Person {get; ...

structureMap mocks stub help

I have an BLL that does validation on user input then inserts a parent(PorEO) and then inserts children(PorBoxEO). So there are two calls to the same InsertJCDC. One like this=>InsertJCDC(fakePor)...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

热门标签