#46 - Rename Microsoft.Net.Server to Microsoft.Net.Http.Server.
This commit is contained in:
parent
5aa8f3b459
commit
1416cc4d69
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.21730.1
|
||||
VisualStudioVersion = 14.0.21916.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestClient", "samples\TestClient\TestClient.csproj", "{8B828433-B333-4C19-96AE-00BFFF9D8841}"
|
||||
EndProject
|
||||
|
|
@ -11,7 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{E183C826-1
|
|||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{3A1E31E3-2794-4CA3-B8E2-253E96BDE514}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Net.Server", "src\Microsoft.Net.Server\Microsoft.Net.Server.kproj", "{3F5212AA-E287-49DD-8CEC-44BF0A2AC9A1}"
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Net.Http.Server", "src\Microsoft.Net.Http.Server\Microsoft.Net.Http.Server.kproj", "{3F5212AA-E287-49DD-8CEC-44BF0A2AC9A1}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "HelloWorld", "samples\HelloWorld\HelloWorld.kproj", "{6DAF3E6B-8E1B-4E6E-B9FE-7B1E5FDB7DB4}"
|
||||
EndProject
|
||||
|
|
@ -25,7 +25,12 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Server.Web
|
|||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Server.WebListener", "src\Microsoft.AspNet.Server.WebListener\Microsoft.AspNet.Server.WebListener.kproj", "{B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Net.Server.FunctionalTests", "test\Microsoft.Net.Server.FunctionalTests\Microsoft.Net.Server.FunctionalTests.kproj", "{DCB6E0B1-223D-44E6-8696-4767E5B6E6A1}"
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Net.Http.Server.FunctionalTests", "test\Microsoft.Net.Http.Server.FunctionalTests\Microsoft.Net.Http.Server.FunctionalTests.kproj", "{DCB6E0B1-223D-44E6-8696-4767E5B6E6A1}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5E9B546C-17AC-4BDF-BCB3-5955D4755ED8}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
global.json = global.json
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ using System.Net.WebSockets;
|
|||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
|
||||
namespace HelloWorld
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"Microsoft.Net.Server" : ""
|
||||
"Microsoft.Net.Http.Server" : ""
|
||||
},
|
||||
"frameworks": {
|
||||
"net45": { },
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ using Microsoft.AspNet;
|
|||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.AspNet.Server.WebListener;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
|
||||
namespace SelfHostServer
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"Microsoft.AspNet.Hosting": "1.0.0-*",
|
||||
"Microsoft.AspNet.Http": "1.0.0-*",
|
||||
"Microsoft.AspNet.Server.WebListener": "",
|
||||
"Microsoft.Net.Server": ""
|
||||
"Microsoft.Net.Http.Server": ""
|
||||
},
|
||||
"commands": { "web": "Microsoft.AspNet.Hosting --server=Microsoft.AspNet.Server.WebListener --server.urls=http://localhost:8080" },
|
||||
"frameworks": {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ using System.Linq;
|
|||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.HttpFeature.Security;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ using System.Threading.Tasks;
|
|||
using Microsoft.AspNet.FeatureModel;
|
||||
using Microsoft.AspNet.HttpFeature;
|
||||
using Microsoft.AspNet.HttpFeature.Security;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
using Microsoft.Net.WebSockets;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ using System.Diagnostics.Contracts;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
{
|
||||
|
|
@ -30,7 +30,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
{
|
||||
private static readonly int DefaultMaxAccepts = 5 * Environment.ProcessorCount;
|
||||
|
||||
private readonly Microsoft.Net.Server.WebListener _listener;
|
||||
private readonly Microsoft.Net.Http.Server.WebListener _listener;
|
||||
private readonly ILogger _logger;
|
||||
|
||||
private AppFunc _appFunc;
|
||||
|
|
@ -45,7 +45,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
|
||||
// TODO: private IDictionary<string, object> _capabilities;
|
||||
|
||||
internal MessagePump(Microsoft.Net.Server.WebListener listener, ILoggerFactory loggerFactory)
|
||||
internal MessagePump(Microsoft.Net.Http.Server.WebListener listener, ILoggerFactory loggerFactory)
|
||||
{
|
||||
Contract.Assert(listener != null);
|
||||
_listener = listener;
|
||||
|
|
@ -56,7 +56,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
_shutdownSignal = new ManualResetEvent(false);
|
||||
}
|
||||
|
||||
internal Microsoft.Net.Server.WebListener Listener
|
||||
internal Microsoft.Net.Http.Server.WebListener Listener
|
||||
{
|
||||
get { return _listener; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ using Microsoft.AspNet.Http;
|
|||
using Microsoft.AspNet.Hosting.Server;
|
||||
using Microsoft.Framework.ConfigurationModel;
|
||||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
{
|
||||
|
|
@ -68,7 +68,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope", Justification = "Disposed by caller")]
|
||||
public IServerInformation Initialize(IConfiguration configuration)
|
||||
{
|
||||
Microsoft.Net.Server.WebListener listener = new Microsoft.Net.Server.WebListener();
|
||||
Microsoft.Net.Http.Server.WebListener listener = new Microsoft.Net.Http.Server.WebListener();
|
||||
ParseAddresses(configuration, listener);
|
||||
return new ServerInformation(new MessagePump(listener, _loggerFactory));
|
||||
}
|
||||
|
|
@ -101,7 +101,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
return serverInfo.MessagePump;
|
||||
}
|
||||
|
||||
private void ParseAddresses(IConfiguration config, Microsoft.Net.Server.WebListener listener)
|
||||
private void ParseAddresses(IConfiguration config, Microsoft.Net.Http.Server.WebListener listener)
|
||||
{
|
||||
// TODO: Key format?
|
||||
string urls;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
|||
get { return GetType().GetTypeInfo().Assembly.GetName().Name; }
|
||||
}
|
||||
|
||||
public Microsoft.Net.Server.WebListener Listener
|
||||
public Microsoft.Net.Http.Server.WebListener Listener
|
||||
{
|
||||
get { return _messagePump.Listener; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"Microsoft.AspNet.HttpFeature": "1.0.0-*",
|
||||
"Microsoft.Framework.ConfigurationModel": "1.0.0-*",
|
||||
"Microsoft.Framework.Logging": "1.0.0-*",
|
||||
"Microsoft.Net.Server" : "",
|
||||
"Microsoft.Net.Http.Server" : "",
|
||||
"Microsoft.Net.WebSocketAbstractions": "1.0.0-*"
|
||||
},
|
||||
"compilationOptions": {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ using System.Diagnostics.Contracts;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal unsafe class AsyncAcceptContext : IAsyncResult, IDisposable
|
||||
{
|
||||
|
|
@ -29,7 +29,7 @@ using System.Runtime.InteropServices;
|
|||
using System.Security.Claims;
|
||||
using System.Security.Principal;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// See the native HTTP_SERVER_AUTHENTICATION_INFO structure documentation for additional information.
|
||||
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa364638(v=vs.85).aspx
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
[Flags]
|
||||
public enum AuthenticationTypes
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class Constants
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class Helpers
|
||||
{
|
||||
|
|
@ -26,7 +26,7 @@ using System.Diagnostics;
|
|||
using System.Globalization;
|
||||
using Microsoft.Framework.Logging;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class LogHelper
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class ComNetOS
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal enum ContextAttribute
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// This class is a wrapper for Http.sys V2 request queue handle.
|
||||
internal sealed class HttpRequestQueueV2Handle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
|
|
@ -25,7 +25,7 @@ using System;
|
|||
using System.Threading;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal sealed class HttpServerSessionHandle : CriticalHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal enum HttpSysRequestHeader
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal enum HttpSysResponseHeader
|
||||
{
|
||||
|
|
@ -30,7 +30,7 @@ using System.Security;
|
|||
using Microsoft.Win32;
|
||||
#endif
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class HttpSysSettings
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class IntPtrHelper
|
||||
{
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class NclUtilities
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
internal struct SSPIHandle
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal sealed class SafeLoadLibrary : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal sealed class SafeLocalFree : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System;
|
||||
using System.Security.Authentication.ExtendedProtection;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal class SafeLocalFreeChannelBinding : ChannelBinding
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal sealed class SafeLocalMemHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
|
|
@ -25,7 +25,7 @@ using System;
|
|||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal class SafeNativeOverlapped : SafeHandle
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
using System;
|
||||
using System.Globalization;
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal enum SecurityStatus
|
||||
{
|
||||
|
|
@ -28,7 +28,7 @@ using System.Globalization;
|
|||
using System.Net;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// a little perf app measured these times when comparing the internal
|
||||
// buffer implemented as a managed byte[] or unmanaged memory IntPtr
|
||||
|
|
@ -26,7 +26,7 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class UnsafeNclNativeMethods
|
||||
{
|
||||
|
|
@ -80,7 +80,7 @@ namespace Microsoft.Net.Server
|
|||
|
||||
[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Unicode, SetLastError = true)]
|
||||
internal static extern unsafe uint HttpCreateRequestQueue(HttpApi.HTTPAPI_VERSION version, string pName,
|
||||
Microsoft.Net.Server.UnsafeNclNativeMethods.SECURITY_ATTRIBUTES pSecurityAttributes, uint flags, out HttpRequestQueueV2Handle pReqQueueHandle);
|
||||
Microsoft.Net.Http.Server.UnsafeNclNativeMethods.SECURITY_ATTRIBUTES pSecurityAttributes, uint flags, out HttpRequestQueueV2Handle pReqQueueHandle);
|
||||
|
||||
[DllImport(HTTPAPI, ExactSpelling = true, CallingConvention = CallingConvention.StdCall, SetLastError = true)]
|
||||
internal static extern unsafe uint HttpCloseRequestQueue(IntPtr pReqQueueHandle);
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal enum BoundaryType
|
||||
{
|
||||
|
|
@ -31,7 +31,7 @@ using System.Security.Cryptography.X509Certificates;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// This class is used to load the client certificate on-demand. Because client certs are optional, all
|
||||
// failures are handled internally and reported via ClientCertException or ClientCertError.
|
||||
|
|
@ -5,7 +5,7 @@ using System;
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class HeaderCollection : IDictionary<string, string[]>
|
||||
{
|
||||
|
|
@ -26,7 +26,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// we use this static class as a helper class to encode/decode HTTP headers.
|
||||
// what we need is a 1-1 correspondence between a char in the range U+0000-U+00FF
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class HeaderParser
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class HttpKnownHeaderNames
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class HttpReasonPhrase
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// Redirect Status code numbers that need to be defined.
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ using System.Diagnostics;
|
|||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal unsafe class NativeRequestContext : IDisposable
|
||||
{
|
||||
|
|
@ -26,7 +26,7 @@ using System.IO;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// A duplex wrapper around RequestStream and ResponseStream.
|
||||
// TODO: Consider merging RequestStream and ResponseStream instead.
|
||||
|
|
@ -35,7 +35,7 @@ using System.Security.Principal;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public sealed class Request
|
||||
{
|
||||
|
|
@ -33,7 +33,7 @@ using System.Threading.Tasks;
|
|||
using Microsoft.Framework.Logging;
|
||||
using Microsoft.Net.WebSockets;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public sealed class RequestContext : IDisposable
|
||||
{
|
||||
|
|
@ -30,7 +30,7 @@ using System.IO;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
[GeneratedCode("TextTemplatingFileGenerator", "")]
|
||||
internal partial class RequestHeaders
|
||||
|
|
@ -69,7 +69,7 @@ using System.IO;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
[GeneratedCode("TextTemplatingFileGenerator", "")]
|
||||
internal partial class RequestHeaders
|
||||
|
|
@ -40,7 +40,7 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal partial class RequestHeaders : IDictionary<string, string[]>
|
||||
{
|
||||
|
|
@ -28,7 +28,7 @@ using System.Runtime.InteropServices;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal class RequestStream : Stream
|
||||
{
|
||||
|
|
@ -27,7 +27,7 @@ using System.Diagnostics;
|
|||
using System.Globalization;
|
||||
using System.Text;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// We don't use the cooked URL because http.sys unescapes all percent-encoded values. However,
|
||||
// we also can't just use the raw Uri, since http.sys supports not only Utf-8, but also ANSI/DBCS and
|
||||
|
|
@ -31,7 +31,7 @@ using System.Runtime.InteropServices;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public sealed unsafe class Response
|
||||
{
|
||||
|
|
@ -29,7 +29,7 @@ using System.Runtime.InteropServices;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal class ResponseStream : Stream
|
||||
{
|
||||
|
|
@ -28,7 +28,7 @@ using System.Runtime.InteropServices;
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal unsafe class ResponseStreamAsyncResult : IAsyncResult, IDisposable
|
||||
{
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal enum SslStatus : byte
|
||||
{
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Net.Server {
|
||||
namespace Microsoft.Net.Http.Server {
|
||||
using System;
|
||||
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ namespace Microsoft.Net.Server {
|
|||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Net.Server.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Net.Http.Server.Resources", System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Resources)).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
|
|
@ -25,7 +25,7 @@ using System;
|
|||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
// See the native HTTP_TIMEOUT_LIMIT_INFO structure documentation for additional information.
|
||||
// http://msdn.microsoft.com/en-us/library/aa364661.aspx
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class UrlPrefix
|
||||
{
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
using System;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class ValidationHelper
|
||||
{
|
||||
|
|
@ -34,7 +34,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Microsoft.Framework.Logging;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
using AppFunc = Func<object, Task>;
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ using System.ComponentModel;
|
|||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
[SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable")]
|
||||
public class WebListenerException : Win32Exception
|
||||
|
|
@ -22,7 +22,7 @@ using System.Net.Http;
|
|||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.FeatureModel;
|
||||
using Microsoft.AspNet.PipelineCore;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ using System.Threading.Tasks;
|
|||
using Microsoft.AspNet.FeatureModel;
|
||||
using Microsoft.AspNet.HttpFeature;
|
||||
using Microsoft.AspNet.PipelineCore;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ using System.Threading.Tasks;
|
|||
using Microsoft.AspNet.FeatureModel;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.AspNet.PipelineCore;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.Net.Server;
|
||||
using Microsoft.Net.Http.Server;
|
||||
|
||||
namespace Microsoft.AspNet.Server.WebListener
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
"Microsoft.AspNet.Server.WebListener" : "",
|
||||
"Microsoft.Framework.ConfigurationModel": "1.0.0-*",
|
||||
"Microsoft.Framework.Logging": "1.0.0-*",
|
||||
"Microsoft.Net.Server" : "",
|
||||
"Microsoft.Net.Http.Server" : "",
|
||||
"Xunit.KRunner": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.Net.Http;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class AuthenticationTests
|
||||
{
|
||||
|
|
@ -7,7 +7,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class HttpsTests
|
||||
{
|
||||
|
|
@ -8,7 +8,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class OpaqueUpgradeTests
|
||||
{
|
||||
|
|
@ -10,7 +10,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class RequestBodyTests
|
||||
{
|
||||
|
|
@ -8,7 +8,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class RequestHeaderTests
|
||||
{
|
||||
|
|
@ -7,7 +7,7 @@ using System.Text;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class RequestTests
|
||||
{
|
||||
|
|
@ -9,7 +9,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class ResponseBodyTests
|
||||
{
|
||||
|
|
@ -7,7 +7,7 @@ using System.Net.Http;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class ResponseHeaderTests
|
||||
{
|
||||
|
|
@ -9,7 +9,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class ResponseSendFileTests
|
||||
{
|
||||
|
|
@ -6,7 +6,7 @@ using System.Net.Http;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class ResponseTests
|
||||
{
|
||||
|
|
@ -10,7 +10,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class ServerTests
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
internal static class Utilities
|
||||
{
|
||||
|
|
@ -8,7 +8,7 @@ using System.Threading;
|
|||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.Net.Server
|
||||
namespace Microsoft.Net.Http.Server
|
||||
{
|
||||
public class WebSocketTests
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
"test": "Xunit.KRunner"
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.Net.Server" : "",
|
||||
"Microsoft.Net.Http.Server" : "",
|
||||
"Xunit.KRunner": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
Loading…
Reference in New Issue