带有ASP.NET MVC3的Autofac MultiTenant [英] Autofac MultiTenant with ASP.NET MVC3

查看:82
本文介绍了带有ASP.NET MVC3的Autofac MultiTenant的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪个版本的Autofac支持ASP.NET MVC 3的MultiTenant?我可以在ASP.NET MVC 4中找到它

Which version of Autofac supports MultiTenant for ASP.NET MVC 3? I could find this for ASP.NET MVC 4

推荐答案

支持MVC3的Autofac的最新版本是2.6.3.当时并不是所有的软件包都在NuGet上发布.从3.0开始就发生了.上一次在2.6行上发布包含多租户库的Contrib软件包是2.6.1.

The last version of Autofac released that supported MVC3 was 2.6.3. Not all packages were released on NuGet at that time; that happened starting with 3.0. The last time the Contrib packages (which contain the multitenant library) were released on the 2.6 line was 2.6.1.

如果您需要MVC3堆栈,则需要转到 Autofac下载列表,将搜索过滤器切换到弃用的下载",然后搜索"contrib"-选择您可以找到的contrib软件包的最新版本.看起来是2.6.1.然后搜索"2.6.1"以找到相应的核心程序集.

If you need an MVC3 stack, you'll need to go to the Autofac download list, switch the search filter to "Deprecated Downloads" and search for "contrib" - pick the latest version you can find of the contrib packages. It looks like 2.6.1 is it. Then search for "2.6.1" to find the corresponding core assemblies.

Autofac的通用政策是保持最新,因此,随着新MVC版本的推出,旧版本不再获得直接支持.没有支持MVC3的Autofac 3.0版本,也没有计划向后移植功能.

Autofac has a general policy of staying current, so as new MVC releases are put out, older releases stop getting direct support. There is no version of Autofac 3.0 that has MVC3 support and there is no plan to back-port functionality.

请注意,多租户支持并非特定于项目类型.它是一个支持任何应用程序类型的库.您真正想要的是一个支持MVC3并具有多租户插件库的对应版本的Autofac版本.希望上面的说明能提供这一点.

Note that the multitenant support isn't specific to a project type. It is a single library that supports any application type. What you really want is a version of Autofac that supports MVC3 and has a corresponding build of the multitenant plugin library. Hopefully the instructions above provide that.

这篇关于带有ASP.NET MVC3的Autofac MultiTenant的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆