diff --git a/WebListener.sln b/WebListener.sln
index fc4110ba94..e2a7a67d0b 100644
--- a/WebListener.sln
+++ b/WebListener.sln
@@ -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.AspNet.Server.WebListener", "src\Microsoft.AspNet.Server.WebListener\Microsoft.AspNet.Server.WebListener.kproj", "{3F5212AA-E287-49DD-8CEC-44BF0A2AC9A1}"
+Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Net.Server", "src\Microsoft.Net.Server\Microsoft.Net.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
@@ -23,6 +23,8 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.WebSockets
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Server.WebListener.FunctionalTests", "test\Microsoft.AspNet.Server.WebListener.FunctionalTests\Microsoft.AspNet.Server.WebListener.FunctionalTests.kproj", "{4492FF4C-9032-411D-853F-46B01755E504}"
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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -103,6 +105,16 @@ Global
{4492FF4C-9032-411D-853F-46B01755E504}.Release|Mixed Platforms.Build.0 = Release|x86
{4492FF4C-9032-411D-853F-46B01755E504}.Release|x86.ActiveCfg = Release|x86
{4492FF4C-9032-411D-853F-46B01755E504}.Release|x86.Build.0 = Release|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Debug|x86.ActiveCfg = Debug|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Debug|x86.Build.0 = Debug|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Release|Any CPU.ActiveCfg = Release|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Release|Mixed Platforms.Build.0 = Release|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Release|x86.ActiveCfg = Release|x86
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -115,5 +127,6 @@ Global
{EFC7538F-7AEB-4A3E-A1E6-6BDCCBD272BF} = {99D5E5F3-88F5-4CCF-8D8C-717C8925DF09}
{E788AEAE-2CB4-4BFA-8746-D0BB7E93A1BB} = {99D5E5F3-88F5-4CCF-8D8C-717C8925DF09}
{4492FF4C-9032-411D-853F-46B01755E504} = {E183C826-1360-4DFF-9994-F33CED5C8525}
+ {B9F45F9D-D206-47F0-8E5F-54CE2F0BDF92} = {99D5E5F3-88F5-4CCF-8D8C-717C8925DF09}
EndGlobalSection
EndGlobal
diff --git a/samples/HelloWorld/Program.cs b/samples/HelloWorld/Program.cs
index 829908c001..6c44c812dd 100644
--- a/samples/HelloWorld/Program.cs
+++ b/samples/HelloWorld/Program.cs
@@ -1,7 +1,7 @@
using System;
using System.Text;
-using Microsoft.AspNet.Server.WebListener;
+using Microsoft.Net.Server;
namespace HelloWorld
{
@@ -9,7 +9,7 @@ namespace HelloWorld
{
public static void Main(string[] args)
{
- using (OwinWebListener listener = new OwinWebListener())
+ using (WebListener listener = new WebListener())
{
listener.UrlPrefixes.Add(UrlPrefix.Create("http://localhost:8080"));
listener.Start();
diff --git a/samples/HelloWorld/project.json b/samples/HelloWorld/project.json
index 123a203698..5dd850e16e 100644
--- a/samples/HelloWorld/project.json
+++ b/samples/HelloWorld/project.json
@@ -1,7 +1,7 @@
{
"version" : "0.1-alpha-*",
"dependencies": {
- "Microsoft.AspNet.Server.WebListener" : ""
+ "Microsoft.Net.Server" : ""
},
"configurations": {
"net45": { },
diff --git a/samples/SelfHostServer/Startup.cs b/samples/SelfHostServer/Startup.cs
index 163ce335a6..b76a42a74f 100644
--- a/samples/SelfHostServer/Startup.cs
+++ b/samples/SelfHostServer/Startup.cs
@@ -1,5 +1,6 @@
using Microsoft.AspNet.Abstractions;
using Microsoft.AspNet.Server.WebListener;
+using Microsoft.Net.Server;
namespace SelfHostServer
{
diff --git a/samples/SelfHostServer/project.json b/samples/SelfHostServer/project.json
index cb620bf621..3bf4abed6e 100644
--- a/samples/SelfHostServer/project.json
+++ b/samples/SelfHostServer/project.json
@@ -3,6 +3,7 @@
"dependencies": {
"Microsoft.AspNet.Abstractions": "0.1-alpha-*",
"Microsoft.AspNet.Hosting": "0.1-alpha-*",
+ "Microsoft.Net.Server": "",
"Microsoft.AspNet.Server.WebListener": ""
},
"commands": { "web": "Microsoft.AspNet.Hosting server.name=Microsoft.AspNet.Server.WebListener server.urls=http://localhost:5001" },
diff --git a/src/Microsoft.AspNet.Security.Windows/Microsoft.AspNet.Security.Windows.kproj b/src/Microsoft.AspNet.Security.Windows/Microsoft.AspNet.Security.Windows.kproj
index 99d381529a..8f9815d39d 100644
--- a/src/Microsoft.AspNet.Security.Windows/Microsoft.AspNet.Security.Windows.kproj
+++ b/src/Microsoft.AspNet.Security.Windows/Microsoft.AspNet.Security.Windows.kproj
@@ -66,7 +66,6 @@
-
diff --git a/src/Microsoft.AspNet.Security.Windows/Properties/AssemblyInfo.cs b/src/Microsoft.AspNet.Security.Windows/Properties/AssemblyInfo.cs
deleted file mode 100644
index 501727a48a..0000000000
--- a/src/Microsoft.AspNet.Security.Windows/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-// -----------------------------------------------------------------------
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
-// -----------------------------------------------------------------------
-
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Microsoft.AspNet.Security.Windows")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("Microsoft.AspNet.Security.Windows")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("1f471909-581f-4060-a147-430891e9c3c1")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("0.5")]
-[assembly: AssemblyVersion("0.5")]
-[assembly: AssemblyFileVersion("0.5.40117.0")]
diff --git a/src/Microsoft.AspNet.Server.WebListener/fx/AssemblyNeutralAttribute.cs b/src/Microsoft.AspNet.Server.WebListener/AssemblyNeutralAttribute.cs
similarity index 100%
rename from src/Microsoft.AspNet.Server.WebListener/fx/AssemblyNeutralAttribute.cs
rename to src/Microsoft.AspNet.Server.WebListener/AssemblyNeutralAttribute.cs
diff --git a/src/Microsoft.AspNet.Server.WebListener/RequestProcessing/FeatureContext.cs b/src/Microsoft.AspNet.Server.WebListener/FeatureContext.cs
similarity index 99%
rename from src/Microsoft.AspNet.Server.WebListener/RequestProcessing/FeatureContext.cs
rename to src/Microsoft.AspNet.Server.WebListener/FeatureContext.cs
index b52beb029f..727fff3423 100644
--- a/src/Microsoft.AspNet.Server.WebListener/RequestProcessing/FeatureContext.cs
+++ b/src/Microsoft.AspNet.Server.WebListener/FeatureContext.cs
@@ -7,6 +7,7 @@ using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.HttpFeature;
+using Microsoft.Net.Server;
namespace Microsoft.AspNet.Server.WebListener
{
diff --git a/src/Microsoft.AspNet.Server.WebListener/WebListenerWrapper.cs b/src/Microsoft.AspNet.Server.WebListener/MessagePump.cs
similarity index 92%
rename from src/Microsoft.AspNet.Server.WebListener/WebListenerWrapper.cs
rename to src/Microsoft.AspNet.Server.WebListener/MessagePump.cs
index e274221a13..dcde3d3e8e 100644
--- a/src/Microsoft.AspNet.Server.WebListener/WebListenerWrapper.cs
+++ b/src/Microsoft.AspNet.Server.WebListener/MessagePump.cs
@@ -3,16 +3,17 @@ using System.Diagnostics.Contracts;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Logging;
+using Microsoft.Net.Server;
namespace Microsoft.AspNet.Server.WebListener
{
using AppFunc = Func