From f86877b14f57c3256e01a904a3bfb31fbec4d2eb Mon Sep 17 00:00:00 2001 From: David Fowler Date: Fri, 18 Apr 2014 00:22:27 -0700 Subject: [PATCH] Move BuilderExtensions and RouterMiddleware to Microsoft.AspNet --- samples/RoutingSample.Web/Startup.cs | 1 + src/Microsoft.AspNet.Routing/BuilderExtensions.cs | 3 ++- src/Microsoft.AspNet.Routing/RouterMiddleware.cs | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/samples/RoutingSample.Web/Startup.cs b/samples/RoutingSample.Web/Startup.cs index bcedf27a65..cd76ba9f64 100644 --- a/samples/RoutingSample.Web/Startup.cs +++ b/samples/RoutingSample.Web/Startup.cs @@ -1,4 +1,5 @@ using System.Text.RegularExpressions; +using Microsoft.AspNet; using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Routing; diff --git a/src/Microsoft.AspNet.Routing/BuilderExtensions.cs b/src/Microsoft.AspNet.Routing/BuilderExtensions.cs index 38ec9914da..ca7adde7f5 100644 --- a/src/Microsoft.AspNet.Routing/BuilderExtensions.cs +++ b/src/Microsoft.AspNet.Routing/BuilderExtensions.cs @@ -1,8 +1,9 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. +using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Routing; -namespace Microsoft.AspNet.Abstractions +namespace Microsoft.AspNet { public static class BuilderExtensions { diff --git a/src/Microsoft.AspNet.Routing/RouterMiddleware.cs b/src/Microsoft.AspNet.Routing/RouterMiddleware.cs index a9d44caaed..a884deba29 100644 --- a/src/Microsoft.AspNet.Routing/RouterMiddleware.cs +++ b/src/Microsoft.AspNet.Routing/RouterMiddleware.cs @@ -1,9 +1,10 @@ // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Threading.Tasks; +using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Routing; -namespace Microsoft.AspNet.Abstractions +namespace Microsoft.AspNet { public class RouterMiddleware {