webdav portal Dependency resolver added
This commit is contained in:
parent
6e6b2abd8a
commit
2244ce5add
16 changed files with 210 additions and 35 deletions
|
@ -4,6 +4,7 @@ using System.Web.Mvc;
|
|||
using System.Web.Optimization;
|
||||
using System.Web.Routing;
|
||||
using WebsitePanel.WebDavPortal.Controllers;
|
||||
using WebsitePanel.WebDavPortal.DependencyInjection;
|
||||
|
||||
namespace WebsitePanel.WebDavPortal
|
||||
{
|
||||
|
@ -15,6 +16,8 @@ namespace WebsitePanel.WebDavPortal
|
|||
FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
|
||||
RouteConfig.RegisterRoutes(RouteTable.Routes);
|
||||
BundleConfig.RegisterBundles(BundleTable.Bundles);
|
||||
|
||||
DependencyResolver.SetResolver(new NinjectDependecyResolver());
|
||||
}
|
||||
|
||||
protected void Application_Error(object sender, EventArgs e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue