【发布时间】:2012-10-25 11:23:07
【问题描述】:
我想将 elFinder 集成到 asp.net mvc 4 中。我看过 elFinder ASP.NET 连接器的 wiki。但我无法理解某些配置。
首先是
在 Application_Start 中添加 Autofac 注册:
// register IoC
var builder = new ContainerBuilder();
// add other registrations...
// add elFinder connector registration
builder.RegisterElFinderConnector();
// create container
_container = builder.Build();
// need also to set container in elFinder module
_container.SetAsElFinderResolver();
_container 未定义,我应该只创建变量吗?
IContainer_container;
我应该把这个定义放在哪里?
我已经尝试定义容器,并在 Visual Studio 中运行项目,elFinder 说“无法连接到后端”
和
萤火虫返回了这个
【问题讨论】:
标签: jquery asp.net asp.net-mvc jquery-ui asp.net-mvc-4