From 574ce6de98ee18031cf01607e098c8dcf2d96c98 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 7 Mar 2014 15:08:28 -0800 Subject: [PATCH] Query and route value provider factories are added to service container multiple times --- src/Microsoft.AspNet.Mvc/MvcServices.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.Mvc/MvcServices.cs b/src/Microsoft.AspNet.Mvc/MvcServices.cs index 1d663776aa..4f83d0e17f 100644 --- a/src/Microsoft.AspNet.Mvc/MvcServices.cs +++ b/src/Microsoft.AspNet.Mvc/MvcServices.cs @@ -25,8 +25,6 @@ namespace Microsoft.AspNet.Mvc yield return describe.Transient(); yield return describe.Transient(); yield return describe.Transient(); - yield return describe.Transient(); - yield return describe.Transient(); yield return describe.Transient(); yield return describe.Transient(); yield return describe.Instance(new PhysicalFileSystem(env.ApplicationBasePath)); @@ -61,6 +59,7 @@ namespace Microsoft.AspNet.Mvc yield return describe.Transient(); yield return describe.Transient(); + yield return describe.Transient(); yield return describe.Transient(); yield return describe.Transient();