开发者

Controllers, in different Areas, with the same name. Can Castle Windsor handle this?

Let's say I have two controllers with the same name (i.e., HomeController). The first is in the standard Controller directory (~\Controllers) and the second is in an Area (~\Area\AreaName\Controllers).

C开发者_StackOverflowan Castle Windsor handle this type of scenario? What steps do I need to complete to get this working?


The fact that they have the same name should make no difference, as they are different types, and container registration is by type.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜