#190 - Swap Http and Http.Core package names. Remove Http.Core namespace.

This commit is contained in:
Chris Ross 2015-04-16 12:07:50 -07:00
parent 22a1cab976
commit d111e24da7
104 changed files with 129 additions and 177 deletions

View File

@ -1,25 +1,25 @@
 
Microsoft Visual Studio Solution File, Format Version 12.00 Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14 # Visual Studio 14
VisualStudioVersion = 14.0.22710.0 VisualStudioVersion = 14.0.22807.0
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A5A15F1C-885A-452A-A731-B0173DDBD913}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A5A15F1C-885A-452A-A731-B0173DDBD913}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{F31FF137-390C-49BF-A3BD-7C6ED3597C21}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{F31FF137-390C-49BF-A3BD-7C6ED3597C21}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Core", "src\Microsoft.AspNet.Http.Core\Microsoft.AspNet.Http.Core.xproj", "{BCF0F967-8753-4438-BD07-AADCA9CE509A}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http", "src\Microsoft.AspNet.Http\Microsoft.AspNet.Http.xproj", "{BCF0F967-8753-4438-BD07-AADCA9CE509A}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http", "src\Microsoft.AspNet.Http\Microsoft.AspNet.Http.xproj", "{22071333-15BA-4D16-A1D5-4D5B1A83FBDD}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Core", "src\Microsoft.AspNet.Http.Core\Microsoft.AspNet.Http.Core.xproj", "{22071333-15BA-4D16-A1D5-4D5B1A83FBDD}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Interfaces", "src\Microsoft.AspNet.Http.Interfaces\Microsoft.AspNet.Http.Interfaces.xproj", "{D9128247-8F97-48B8-A863-F1F21A029FCE}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Interfaces", "src\Microsoft.AspNet.Http.Interfaces\Microsoft.AspNet.Http.Interfaces.xproj", "{D9128247-8F97-48B8-A863-F1F21A029FCE}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.FeatureModel", "src\Microsoft.AspNet.FeatureModel\Microsoft.AspNet.FeatureModel.xproj", "{32A4C918-30EE-41DB-8E26-8A3BB88ED231}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.FeatureModel", "src\Microsoft.AspNet.FeatureModel\Microsoft.AspNet.FeatureModel.xproj", "{32A4C918-30EE-41DB-8E26-8A3BB88ED231}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Core.Tests", "test\Microsoft.AspNet.Http.Core.Tests\Microsoft.AspNet.Http.Core.Tests.xproj", "{AA99AF26-F7B1-4A6B-A922-5C25539F6391}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Tests", "test\Microsoft.AspNet.Http.Tests\Microsoft.AspNet.Http.Tests.xproj", "{AA99AF26-F7B1-4A6B-A922-5C25539F6391}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.FeatureModel.Tests", "test\Microsoft.AspNet.FeatureModel.Tests\Microsoft.AspNet.FeatureModel.Tests.xproj", "{C5D2BAE1-E182-48A0-AA74-1AF14B782BF7}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.FeatureModel.Tests", "test\Microsoft.AspNet.FeatureModel.Tests\Microsoft.AspNet.FeatureModel.Tests.xproj", "{C5D2BAE1-E182-48A0-AA74-1AF14B782BF7}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Tests", "test\Microsoft.AspNet.Http.Tests\Microsoft.AspNet.Http.Tests.xproj", "{F16692B8-9F38-4DCA-A582-E43172B989C6}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Http.Core.Tests", "test\Microsoft.AspNet.Http.Core.Tests\Microsoft.AspNet.Http.Core.Tests.xproj", "{F16692B8-9F38-4DCA-A582-E43172B989C6}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Owin", "src\Microsoft.AspNet.Owin\Microsoft.AspNet.Owin.xproj", "{59BED991-F207-48ED-B24C-0A1D9C986C01}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Owin", "src\Microsoft.AspNet.Owin\Microsoft.AspNet.Owin.xproj", "{59BED991-F207-48ED-B24C-0A1D9C986C01}"
EndProject EndProject

View File

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>bcf0f967-8753-4438-bd07-aadca9ce509a</ProjectGuid> <ProjectGuid>22071333-15ba-4d16-a1d5-4d5b1a83fbdd</ProjectGuid>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -1,20 +1,27 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 HTTP feature implementations.", "description": "ASP.NET 5 HTTP object model. HttpContext and family.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.FeatureModel": "1.0.0-*",
"Microsoft.AspNet.Http": "1.0.0-*",
"Microsoft.AspNet.Http.Interfaces": "1.0.0-*",
"Microsoft.AspNet.WebUtilities": "1.0.0-*",
"Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" }, "Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" },
"Microsoft.Net.Http.Headers": "1.0.0-*" "Microsoft.Framework.WebEncoders.Core": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnx451": { }, "dnx451": { },
"dnxcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Diagnostics.Debug": "4.0.10-beta-*", "System.Collections": "4.0.10-beta-*",
"System.Text.Encoding": "4.0.10-beta-*" "System.Diagnostics.Tools": "4.0.0-beta-*",
"System.Globalization": "4.0.10-beta-*",
"System.Globalization.Extensions": "4.0.0-beta-*",
"System.Linq": "4.0.0-beta-*",
"System.Net.Primitives": "4.0.10-beta-*",
"System.Net.WebSockets" : "4.0.0-beta-*",
"System.Runtime": "4.0.20-beta-*",
"System.Runtime.InteropServices": "4.0.20-beta-*",
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
"System.Security.Claims": "4.0.0-beta-*",
"System.Security.Principal": "4.0.0-beta-*",
"System.Threading.Tasks": "4.0.10-beta-*"
} }
} }
} }

View File

@ -2,7 +2,7 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 common extension methods for HTTP abstractions and IApplicationBuilder.", "description": "ASP.NET 5 common extension methods for HTTP abstractions and IApplicationBuilder.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http": "1.0.0-*", "Microsoft.AspNet.Http.Core": "1.0.0-*",
"Microsoft.AspNet.Http.Interfaces": "1.0.0-*", "Microsoft.AspNet.Http.Interfaces": "1.0.0-*",
"Microsoft.Framework.DependencyInjection.Interfaces": "1.0.0-*", "Microsoft.Framework.DependencyInjection.Interfaces": "1.0.0-*",
"Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" }, "Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" },

View File

@ -1,13 +1,11 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Security.Claims; using System.Security.Claims;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Authentication namespace Microsoft.AspNet.Http.Authentication
{ {
public class AuthenticateContext : IAuthenticateContext public class AuthenticateContext : IAuthenticateContext
{ {

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http.Authentication; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Authentication namespace Microsoft.AspNet.Http.Authentication
{ {
public class ChallengeContext : IChallengeContext public class ChallengeContext : IChallengeContext
{ {

View File

@ -2,9 +2,8 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http.Authentication;
namespace Microsoft.AspNet.Http.Core.Authentication namespace Microsoft.AspNet.Http.Authentication
{ {
public class DescribeSchemesContext : IDescribeSchemesContext public class DescribeSchemesContext : IDescribeSchemesContext
{ {

View File

@ -2,9 +2,8 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Security.Claims; using System.Security.Claims;
using Microsoft.AspNet.Http.Authentication;
namespace Microsoft.AspNet.Http.Core.Authentication namespace Microsoft.AspNet.Http.Authentication
{ {
public class HttpAuthenticationFeature : IHttpAuthenticationFeature public class HttpAuthenticationFeature : IHttpAuthenticationFeature
{ {

View File

@ -4,10 +4,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Security.Claims; using System.Security.Claims;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Authentication namespace Microsoft.AspNet.Http.Authentication
{ {
public class SignInContext : ISignInContext public class SignInContext : ISignInContext
{ {

View File

@ -3,10 +3,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Authentication namespace Microsoft.AspNet.Http.Authentication
{ {
public class SignOutContext : ISignOutContext public class SignOutContext : ISignOutContext
{ {

View File

@ -6,7 +6,7 @@ using System.IO;
using Microsoft.AspNet.WebUtilities; using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public static class BufferingHelper public static class BufferingHelper
{ {

View File

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
/// <summary> /// <summary>
/// Contains the parsed form values. /// Contains the parsed form values.

View File

@ -2,10 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
public class FormFileCollection : List<IFormFile>, IFormFileCollection public class FormFileCollection : List<IFormFile>, IFormFileCollection
{ {

View File

@ -5,10 +5,10 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Http.Core.Infrastructure; using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
/// <summary> /// <summary>
/// Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders. /// Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders.

View File

@ -4,7 +4,7 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class ItemsDictionary : IDictionary<object, object> public class ItemsDictionary : IDictionary<object, object>
{ {

View File

@ -5,7 +5,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
/// <summary> /// <summary>
/// Accessors for query, forms, etc. /// Accessors for query, forms, etc.

View File

@ -6,7 +6,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
public class RequestCookiesCollection : IReadableStringCollection public class RequestCookiesCollection : IReadableStringCollection
{ {

View File

@ -8,7 +8,7 @@ using Microsoft.Framework.Internal;
using Microsoft.Framework.WebEncoders; using Microsoft.Framework.WebEncoders;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
/// <summary> /// <summary>
/// A wrapper for the response Set-Cookie header /// A wrapper for the response Set-Cookie header

View File

@ -5,7 +5,7 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Http.Core.Collections namespace Microsoft.AspNet.Http.Collections
{ {
public class SessionCollection : ISessionCollection public class SessionCollection : ISessionCollection
{ {

View File

@ -6,9 +6,9 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Core.Infrastructure; using Microsoft.AspNet.Http.Infrastructure;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class DefaultConnectionInfo : ConnectionInfo public class DefaultConnectionInfo : ConnectionInfo
{ {

View File

@ -9,13 +9,12 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Core.Authentication; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Core.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class DefaultHttpContext : HttpContext public class DefaultHttpContext : HttpContext
{ {

View File

@ -6,12 +6,11 @@ using System.IO;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Core.Infrastructure;
using Microsoft.AspNet.Http.Infrastructure; using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class DefaultHttpRequest : HttpRequest public class DefaultHttpRequest : HttpRequest
{ {

View File

@ -8,13 +8,12 @@ using System.Linq;
using System.Security.Claims; using System.Security.Claims;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Core.Authentication; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Core.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class DefaultHttpResponse : HttpResponse public class DefaultHttpResponse : HttpResponse
{ {

View File

@ -7,12 +7,12 @@ using System.IO;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.WebUtilities; using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class FormFeature : IFormFeature public class FormFeature : IFormFeature
{ {

View File

@ -2,9 +2,8 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO; using System.IO;
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class FormFile : IFormFile public class FormFile : IFormFile
{ {

View File

@ -5,7 +5,7 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class HttpClientCertificateFeature : IHttpClientCertificateFeature public class HttpClientCertificateFeature : IHttpClientCertificateFeature
{ {

View File

@ -3,7 +3,7 @@
using System.Net; using System.Net;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class HttpConnectionFeature : IHttpConnectionFeature public class HttpConnectionFeature : IHttpConnectionFeature
{ {

View File

@ -4,9 +4,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class HttpRequestFeature : IHttpRequestFeature public class HttpRequestFeature : IHttpRequestFeature
{ {

View File

@ -4,9 +4,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class HttpResponseFeature : IHttpResponseFeature public class HttpResponseFeature : IHttpResponseFeature
{ {

View File

@ -4,7 +4,7 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public interface IFormFeature public interface IFormFeature
{ {

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public interface IItemsFeature public interface IItemsFeature
{ {

View File

@ -1,9 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Core
{ {
public interface IQueryFeature public interface IQueryFeature
{ {

View File

@ -1,9 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Core
{ {
public interface IRequestCookiesFeature public interface IRequestCookiesFeature
{ {

View File

@ -1,10 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Http
using Microsoft.AspNet.Http.Core.Collections;
namespace Microsoft.AspNet.Http.Core
{ {
public interface IResponseCookiesFeature public interface IResponseCookiesFeature
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public interface IServiceProvidersFeature public interface IServiceProvidersFeature
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
namespace Microsoft.AspNet.Http.Core.Infrastructure namespace Microsoft.AspNet.Http.Infrastructure
{ {
internal struct FeatureReference<T> internal struct FeatureReference<T>
{ {

View File

@ -9,7 +9,7 @@ using System.Linq;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core.Infrastructure namespace Microsoft.AspNet.Http.Infrastructure
{ {
internal struct HeaderSegment : IEquatable<HeaderSegment> internal struct HeaderSegment : IEquatable<HeaderSegment>
{ {

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class ItemsFeature : IItemsFeature public class ItemsFeature : IItemsFeature
{ {

View File

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>22071333-15ba-4d16-a1d5-4d5b1a83fbdd</ProjectGuid> <ProjectGuid>bcf0f967-8753-4438-bd07-aadca9ce509a</ProjectGuid>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -3,12 +3,12 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Core.Infrastructure; using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.WebUtilities; using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class QueryFeature : IQueryFeature public class QueryFeature : IQueryFeature
{ {

View File

@ -7,7 +7,7 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
/// <summary> /// <summary>
/// A Stream that wraps another stream starting at a certain offset and reading for the given length. /// A Stream that wraps another stream starting at a certain offset and reading for the given length.

View File

@ -5,12 +5,12 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Core.Infrastructure; using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class RequestCookiesFeature : IRequestCookiesFeature public class RequestCookiesFeature : IRequestCookiesFeature
{ {

View File

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Core.Infrastructure; using Microsoft.AspNet.Http.Infrastructure;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class ResponseCookiesFeature : IResponseCookiesFeature public class ResponseCookiesFeature : IResponseCookiesFeature
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class ServiceProvidersFeature : IServiceProvidersFeature public class ServiceProvidersFeature : IServiceProvidersFeature
{ {

View File

@ -1,9 +1,7 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Core
{ {
public class WebSocketAcceptContext : IWebSocketAcceptContext public class WebSocketAcceptContext : IWebSocketAcceptContext
{ {

View File

@ -1,27 +1,20 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"description": "ASP.NET 5 HTTP object model. HttpContext and family.", "description": "ASP.NET 5 HTTP feature implementations.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.FeatureModel": "1.0.0-*",
"Microsoft.AspNet.Http.Core": "1.0.0-*",
"Microsoft.AspNet.Http.Interfaces": "1.0.0-*",
"Microsoft.AspNet.WebUtilities": "1.0.0-*",
"Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" }, "Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" },
"Microsoft.Framework.WebEncoders.Core": "1.0.0-*" "Microsoft.Net.Http.Headers": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnx451": { }, "dnx451": { },
"dnxcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Collections": "4.0.10-beta-*", "System.Diagnostics.Debug": "4.0.10-beta-*",
"System.Diagnostics.Tools": "4.0.0-beta-*", "System.Text.Encoding": "4.0.10-beta-*"
"System.Globalization": "4.0.10-beta-*",
"System.Globalization.Extensions": "4.0.0-beta-*",
"System.Linq": "4.0.0-beta-*",
"System.Net.Primitives": "4.0.10-beta-*",
"System.Net.WebSockets" : "4.0.0-beta-*",
"System.Runtime": "4.0.20-beta-*",
"System.Runtime.InteropServices": "4.0.20-beta-*",
"System.Security.Claims": "4.0.0-beta-*",
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
"System.Security.Principal": "4.0.0-beta-*",
"System.Threading.Tasks": "4.0.10-beta-*"
} }
} }
} }

View File

@ -15,7 +15,6 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Core.Authentication;
namespace Microsoft.AspNet.Owin namespace Microsoft.AspNet.Owin
{ {

View File

@ -7,7 +7,6 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Owin; using Microsoft.AspNet.Owin;
using Microsoft.AspNet.Http.Core;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNet.Builder
{ {

View File

@ -3,8 +3,6 @@
"description": "ASP.NET 5 component for running OWIN middleware.", "description": "ASP.NET 5 component for running OWIN middleware.",
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http": "1.0.0-*", "Microsoft.AspNet.Http": "1.0.0-*",
"Microsoft.AspNet.FeatureModel": "1.0.0-*",
"Microsoft.AspNet.Http.Core": "1.0.0-*",
"Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" } "Microsoft.Framework.NotNullAttribute.Internal": { "type": "build", "version": "1.0.0-*" }
}, },
"frameworks": { "frameworks": {

View File

@ -1,8 +1,6 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.FeatureModel": "1.0.0-*", "Microsoft.AspNet.FeatureModel": "1.0.0-*",
"Microsoft.AspNet.Http": "1.0.0-*",
"Microsoft.AspNet.Http.Interfaces": "1.0.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*" "xunit.runner.aspnet": "2.0.0-aspnet-*"
}, },
"commands": { "commands": {

View File

@ -3,7 +3,6 @@
using System.IO; using System.IO;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Core;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Core;
using Shouldly; using Shouldly;
using Xunit; using Xunit;

View File

@ -5,7 +5,6 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Core;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Builder.Extensions namespace Microsoft.AspNet.Builder.Extensions

View File

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>aa99af26-f7b1-4a6b-a922-5c25539f6391</ProjectGuid> <ProjectGuid>f16692b8-9f38-4dca-a582-e43172b989c6</ProjectGuid>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -1,22 +1,17 @@
{ {
"dependencies": { "dependencies": {
"Microsoft.AspNet.FeatureModel": "1.0.0-*", "Microsoft.AspNet.Http": "1.0.0-*",
"Microsoft.AspNet.Http": "1.0.0-*", "Microsoft.AspNet.Testing": "1.0.0-*",
"Microsoft.AspNet.Http.Interfaces": "1.0.0-*", "xunit.runner.aspnet": "2.0.0-aspnet-*"
"Microsoft.AspNet.Http.Core": "1.0.0-*", },
"xunit.runner.aspnet": "2.0.0-aspnet-*" "commands": {
}, "test": "xunit.runner.aspnet"
"commands": { },
"test": "xunit.runner.aspnet" "frameworks": {
}, "dnx451": {
"frameworks": { "dependencies": {
"dnx451": { "Shouldly": "1.1.1.1"
"dependencies": { }
"Moq": "4.2.1312.1622"
},
"frameworkAssemblies": {
"System.Net.Http": ""
}
}
} }
}
} }

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
using Xunit; using Xunit;

View File

@ -4,7 +4,6 @@
using System.IO; using System.IO;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Core;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Extensions namespace Microsoft.AspNet.Http.Extensions

View File

@ -3,7 +3,6 @@
using System; using System;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Core;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Extensions.Tests namespace Microsoft.AspNet.Http.Extensions.Tests

View File

@ -5,7 +5,6 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http.Core;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Xunit; using Xunit;

View File

@ -2,8 +2,6 @@
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http": "1.0.0-*", "Microsoft.AspNet.Http": "1.0.0-*",
"Microsoft.AspNet.Http.Extensions": "1.0.0-*", "Microsoft.AspNet.Http.Extensions": "1.0.0-*",
"Microsoft.AspNet.Http.Interfaces": "1.0.0-*",
"Microsoft.AspNet.Http.Core": "1.0.0-*",
"Microsoft.Framework.DependencyInjection": "1.0.0-*", "Microsoft.Framework.DependencyInjection": "1.0.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*" "xunit.runner.aspnet": "2.0.0-aspnet-*"
}, },

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Builder.Tests namespace Microsoft.AspNet.Builder
{ {
public class ApplicationBuilderTests public class ApplicationBuilderTests
{ {

View File

@ -4,7 +4,7 @@
using System.IO; using System.IO;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Core.Tests namespace Microsoft.AspNet.Http
{ {
public class BufferingHelperTests public class BufferingHelperTests
{ {

View File

@ -7,11 +7,10 @@ using System.Linq;
using System.Security.Claims; using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Core.Authentication;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Core.Tests namespace Microsoft.AspNet.Http
{ {
public class DefaultHttpContextTests public class DefaultHttpContextTests
{ {

View File

@ -4,10 +4,9 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Http;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Core.Tests namespace Microsoft.AspNet.Http
{ {
public class DefaultHttpRequestTests public class DefaultHttpRequestTests
{ {

View File

@ -9,7 +9,7 @@ using System.Threading.Tasks;
using Microsoft.AspNet.WebUtilities; using Microsoft.AspNet.WebUtilities;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Core namespace Microsoft.AspNet.Http
{ {
public class FormFeatureTests public class FormFeatureTests
{ {

View File

@ -3,10 +3,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http.Core.Collections; using Microsoft.AspNet.Http.Collections;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http.Core.Tests namespace Microsoft.AspNet.Http
{ {
public class HeaderDictionaryTests public class HeaderDictionaryTests
{ {

View File

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>f16692b8-9f38-4dca-a582-e43172b989c6</ProjectGuid> <ProjectGuid>aa99af26-f7b1-4a6b-a922-5c25539f6391</ProjectGuid>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

Some files were not shown because too many files have changed in this diff Show More