Removing ANIs
This commit is contained in:
parent
e5c6fd401f
commit
26cd8d51b6
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Http;
|
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Core
|
namespace Microsoft.AspNet.Http.Core
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
// 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.
|
|
||||||
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Microsoft.Framework.Runtime
|
|
||||||
{
|
|
||||||
[AssemblyNeutralAttribute]
|
|
||||||
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
|
|
||||||
public sealed class AssemblyNeutralAttribute : Attribute
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -2,11 +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.Threading;
|
using System.Threading;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpApplicationFeature
|
public interface IHttpApplicationFeature
|
||||||
{
|
{
|
||||||
string AppName { get; set; }
|
string AppName { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,8 @@
|
||||||
// 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.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpBufferingFeature
|
public interface IHttpBufferingFeature
|
||||||
{
|
{
|
||||||
void DisableRequestBuffering();
|
void DisableRequestBuffering();
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,9 @@
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpClientCertificateFeature
|
public interface IHttpClientCertificateFeature
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -2,11 +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.Net;
|
using System.Net;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpConnectionFeature
|
public interface IHttpConnectionFeature
|
||||||
{
|
{
|
||||||
IPAddress RemoteIpAddress { get; set; }
|
IPAddress RemoteIpAddress { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,14 +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.IO;
|
using System.IO;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpRequestFeature
|
public interface IHttpRequestFeature
|
||||||
{
|
{
|
||||||
string Protocol { get; set; }
|
string Protocol { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -2,11 +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.Threading;
|
using System.Threading;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpRequestLifetimeFeature
|
public interface IHttpRequestLifetimeFeature
|
||||||
{
|
{
|
||||||
CancellationToken RequestAborted { get; }
|
CancellationToken RequestAborted { get; }
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpResponseFeature
|
public interface IHttpResponseFeature
|
||||||
{
|
{
|
||||||
int StatusCode { get; set; }
|
int StatusCode { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpSendFileFeature
|
public interface IHttpSendFileFeature
|
||||||
{
|
{
|
||||||
Task SendFileAsync(string path, long offset, long? length, CancellationToken cancellation);
|
Task SendFileAsync(string path, long offset, long? length, CancellationToken cancellation);
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpUpgradeFeature
|
public interface IHttpUpgradeFeature
|
||||||
{
|
{
|
||||||
bool IsUpgradableRequest { get; }
|
bool IsUpgradableRequest { get; }
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
using System.Net.WebSockets;
|
using System.Net.WebSockets;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpWebSocketFeature
|
public interface IHttpWebSocketFeature
|
||||||
{
|
{
|
||||||
bool IsWebSocketRequest { get; }
|
bool IsWebSocketRequest { get; }
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface ISession
|
public interface ISession
|
||||||
{
|
{
|
||||||
void Load();
|
void Load();
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,8 @@
|
||||||
// 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 Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface ISessionFactory
|
public interface ISessionFactory
|
||||||
{
|
{
|
||||||
bool IsAvailable { get; }
|
bool IsAvailable { get; }
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,9 @@
|
||||||
// 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.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
// TODO: Is there any reason not to flatten the Factory down into the Feature?
|
// TODO: Is there any reason not to flatten the Factory down into the Feature?
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface ISessionFeature
|
public interface ISessionFeature
|
||||||
{
|
{
|
||||||
ISessionFactory Factory { get; set; }
|
ISessionFactory Factory { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,6 @@
|
||||||
// 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 Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -15,7 +12,6 @@ namespace Microsoft.AspNet.Http.Interfaces
|
||||||
/// client's machine. See https://datatracker.ietf.org/doc/draft-popov-token-binding/
|
/// client's machine. See https://datatracker.ietf.org/doc/draft-popov-token-binding/
|
||||||
/// for more information.
|
/// for more information.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface ITlsTokenBindingFeature
|
public interface ITlsTokenBindingFeature
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,8 @@
|
||||||
// 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.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces
|
namespace Microsoft.AspNet.Http.Interfaces
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IWebSocketAcceptContext
|
public interface IWebSocketAcceptContext
|
||||||
{
|
{
|
||||||
string SubProtocol { get; set; }
|
string SubProtocol { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -2,11 +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.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IAuthTypeContext
|
public interface IAuthTypeContext
|
||||||
{
|
{
|
||||||
void Accept(IDictionary<string,object> description);
|
void Accept(IDictionary<string,object> description);
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IAuthenticateContext
|
public interface IAuthenticateContext
|
||||||
{
|
{
|
||||||
IEnumerable<string> AuthenticationTypes { get; }
|
IEnumerable<string> AuthenticationTypes { get; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
// 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.Collections.Generic;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IAuthenticationHandler
|
public interface IAuthenticationHandler
|
||||||
{
|
{
|
||||||
void GetDescriptions(IAuthTypeContext context);
|
void GetDescriptions(IAuthTypeContext context);
|
||||||
|
|
|
||||||
|
|
@ -2,11 +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.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IChallengeContext
|
public interface IChallengeContext
|
||||||
{
|
{
|
||||||
IEnumerable<string> AuthenticationTypes {get;}
|
IEnumerable<string> AuthenticationTypes {get;}
|
||||||
|
|
|
||||||
|
|
@ -2,11 +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.Security.Claims;
|
using System.Security.Claims;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface IHttpAuthenticationFeature
|
public interface IHttpAuthenticationFeature
|
||||||
{
|
{
|
||||||
ClaimsPrincipal User { get; set; }
|
ClaimsPrincipal User { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,9 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using Microsoft.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface ISignInContext
|
public interface ISignInContext
|
||||||
{
|
{
|
||||||
IEnumerable<ClaimsIdentity> Identities { get; }
|
IEnumerable<ClaimsIdentity> Identities { get; }
|
||||||
|
|
|
||||||
|
|
@ -2,11 +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.Framework.Runtime;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Http.Interfaces.Security
|
namespace Microsoft.AspNet.Http.Interfaces.Security
|
||||||
{
|
{
|
||||||
[AssemblyNeutral]
|
|
||||||
public interface ISignOutContext
|
public interface ISignOutContext
|
||||||
{
|
{
|
||||||
IEnumerable<string> AuthenticationTypes { get; }
|
IEnumerable<string> AuthenticationTypes { get; }
|
||||||
|
|
|
||||||
|
|
@ -6,14 +6,10 @@
|
||||||
"aspnetcore50": {
|
"aspnetcore50": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.Net.WebSocketAbstractions": "1.0.0-*",
|
"Microsoft.Net.WebSocketAbstractions": "1.0.0-*",
|
||||||
"System.IO": "4.0.10-beta-*",
|
|
||||||
"System.Net.Primitives": "4.0.10-beta-*",
|
"System.Net.Primitives": "4.0.10-beta-*",
|
||||||
"System.Runtime": "4.0.20-beta-*",
|
|
||||||
"System.Runtime.InteropServices": "4.0.20-beta-*",
|
|
||||||
"System.Security.Claims": "4.0.0-beta-*",
|
"System.Security.Claims": "4.0.0-beta-*",
|
||||||
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
|
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
|
||||||
"System.Security.Principal": "4.0.0-beta-*",
|
"System.Security.Principal": "4.0.0-beta-*"
|
||||||
"System.Threading.Tasks": "4.0.10-beta-*"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
namespace Microsoft.AspNet.Builder
|
namespace Microsoft.AspNet.Builder
|
||||||
{
|
{
|
||||||
// TODO: [AssemblyNeutral]
|
|
||||||
public interface IServerInformation
|
public interface IServerInformation
|
||||||
{
|
{
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue