diff --git a/src/Nancy.Demo.Hosting.Wcf/MainModule.cs b/src/Nancy.Demo.Hosting.Wcf/MainModule.cs deleted file mode 100644 index d664159ef2..0000000000 --- a/src/Nancy.Demo.Hosting.Wcf/MainModule.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Nancy.Demo.Hosting.Wcf -{ - public class MainModule : NancyModule - { - public MainModule() - { - Get["/"] = parameters => { - return View["staticview"]; - }; - } - } -} \ No newline at end of file diff --git a/src/Nancy.Demo.Hosting.Wcf/Nancy.Demo.Hosting.Wcf.csproj b/src/Nancy.Demo.Hosting.Wcf/Nancy.Demo.Hosting.Wcf.csproj deleted file mode 100644 index 599606db24..0000000000 --- a/src/Nancy.Demo.Hosting.Wcf/Nancy.Demo.Hosting.Wcf.csproj +++ /dev/null @@ -1,158 +0,0 @@ - - - - Debug - x86 - 8.0.30703 - 2.0 - {EBB6F597-3273-4972-8B25-A809D2FC1F24} - Exe - Properties - Nancy.Demo.Hosting.Wcf - Nancy.Demo.Hosting.Wcf - v4.5 - 512 - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - false - - - x86 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - AllRules.ruleset - false - - - Nancy.Demo.Hosting.Wcf.Program - - - true - bin\x86\MonoDebug\ - DEBUG;TRACE - full - x86 - bin\Debug\Nancy.Demo.Hosting.Wcf.exe.CodeAnalysisLog.xml - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - false - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - false - false - 4 - false - false - - - bin\x86\MonoRelease\ - TRACE - true - pdbonly - x86 - bin\Release\Nancy.Demo.Hosting.Wcf.exe.CodeAnalysisLog.xml - true - GlobalSuppressions.cs - prompt - AllRules.ruleset - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets - ;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules - 4 - false - - - - - - - - - - - - C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.ServiceModel.Web.dll - - - - - Properties\SharedAssemblyInfo.cs - - - - - - - {34576216-0DCA-4B0F-A0DC-9075E75A676F} - Nancy - - - - - - - - Always - - - - - False - Microsoft .NET Framework 4 %28x86 and x64%29 - true - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - false - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file diff --git a/src/Nancy.Demo.Hosting.Wcf/Program.cs b/src/Nancy.Demo.Hosting.Wcf/Program.cs deleted file mode 100644 index 517df96e25..0000000000 --- a/src/Nancy.Demo.Hosting.Wcf/Program.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace Nancy.Demo.Hosting.Wcf -{ - using System; - using System.ServiceModel; - using System.ServiceModel.Web; - - using Nancy.Hosting.Wcf; - - class Program - { - private static readonly Uri BaseUri = new Uri("http://localhost:1234/Nancy/"); - - static void Main() - { - using (CreateAndOpenWebServiceHost()) - { - Console.WriteLine("Service is now running on: {0}", BaseUri); - Console.ReadLine(); - } - } - - private static WebServiceHost CreateAndOpenWebServiceHost() - { - var host = new WebServiceHost( - new NancyWcfGenericService(new DefaultNancyBootstrapper()), - BaseUri); - - host.AddServiceEndpoint(typeof(NancyWcfGenericService), new WebHttpBinding(), ""); - host.Open(); - - return host; - } - } -} \ No newline at end of file diff --git a/src/Nancy.Demo.Hosting.Wcf/README.txt b/src/Nancy.Demo.Hosting.Wcf/README.txt deleted file mode 100644 index 5f282702bb..0000000000 --- a/src/Nancy.Demo.Hosting.Wcf/README.txt +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/Nancy.Demo.Hosting.Wcf/Views/staticview.html b/src/Nancy.Demo.Hosting.Wcf/Views/staticview.html deleted file mode 100644 index 21a3173649..0000000000 --- a/src/Nancy.Demo.Hosting.Wcf/Views/staticview.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - Nancy - Static view served by WCF host - - -

Static view served by WCF host

-

- This view was served by the Nancy WCF host. -

- - \ No newline at end of file diff --git a/src/Nancy.Demo.Hosting.Wcf/app.config b/src/Nancy.Demo.Hosting.Wcf/app.config deleted file mode 100644 index d757e6dc64..0000000000 --- a/src/Nancy.Demo.Hosting.Wcf/app.config +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/Nancy.sln b/src/Nancy.sln index 471ecc93c7..c207c992ff 100644 --- a/src/Nancy.sln +++ b/src/Nancy.sln @@ -57,8 +57,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nancy.Demo.Caching", "Nancy EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nancy.Demo.Hosting.Self", "Nancy.Demo.Hosting.Self\Nancy.Demo.Hosting.Self.csproj", "{0B3EA40E-F7D8-4E14-A30F-1536F41B62D1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nancy.Demo.Hosting.Wcf", "Nancy.Demo.Hosting.Wcf\Nancy.Demo.Hosting.Wcf.csproj", "{EBB6F597-3273-4972-8B25-A809D2FC1F24}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nancy.Demo.Hosting.Aspnet", "Nancy.Demo.Hosting.Aspnet\Nancy.Demo.Hosting.Aspnet.csproj", "{E127FED3-01C0-41BA-BF83-D8DCDD827D6A}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nancy.Demo.Authentication.Forms.TestingDemo", "Nancy.Demo.Authentication.Forms.TestingDemo\Nancy.Demo.Authentication.Forms.TestingDemo.csproj", "{948A8EF6-D50C-45EA-9AFD-7A4723ADAB0B}" @@ -415,20 +413,6 @@ Global {0B3EA40E-F7D8-4E14-A30F-1536F41B62D1}.Release|Any CPU.Build.0 = Release|x86 {0B3EA40E-F7D8-4E14-A30F-1536F41B62D1}.Release|x86.ActiveCfg = Release|x86 {0B3EA40E-F7D8-4E14-A30F-1536F41B62D1}.Release|x86.Build.0 = Release|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Debug|Any CPU.ActiveCfg = Debug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Debug|Any CPU.Build.0 = Debug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Debug|x86.ActiveCfg = Debug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Debug|x86.Build.0 = Debug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.MonoDebug|Any CPU.ActiveCfg = MonoDebug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.MonoDebug|x86.ActiveCfg = MonoDebug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.MonoDebug|x86.Build.0 = MonoDebug|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.MonoRelease|Any CPU.ActiveCfg = MonoRelease|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.MonoRelease|x86.ActiveCfg = MonoRelease|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.MonoRelease|x86.Build.0 = MonoRelease|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Release|Any CPU.ActiveCfg = Release|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Release|Any CPU.Build.0 = Release|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Release|x86.ActiveCfg = Release|x86 - {EBB6F597-3273-4972-8B25-A809D2FC1F24}.Release|x86.Build.0 = Release|x86 {E127FED3-01C0-41BA-BF83-D8DCDD827D6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E127FED3-01C0-41BA-BF83-D8DCDD827D6A}.Debug|Any CPU.Build.0 = Debug|Any CPU {E127FED3-01C0-41BA-BF83-D8DCDD827D6A}.Debug|x86.ActiveCfg = Debug|Any CPU @@ -853,7 +837,6 @@ Global {EF660223-4DFD-4E36-BF36-9DD6AFB3F837} = {4A24657F-9695-437B-9702-2541ED280628} {28F9EA8B-90F7-4974-BB40-0B7FA9309D02} = {4A24657F-9695-437B-9702-2541ED280628} {0B3EA40E-F7D8-4E14-A30F-1536F41B62D1} = {4A24657F-9695-437B-9702-2541ED280628} - {EBB6F597-3273-4972-8B25-A809D2FC1F24} = {4A24657F-9695-437B-9702-2541ED280628} {E127FED3-01C0-41BA-BF83-D8DCDD827D6A} = {4A24657F-9695-437B-9702-2541ED280628} {948A8EF6-D50C-45EA-9AFD-7A4723ADAB0B} = {4A24657F-9695-437B-9702-2541ED280628} {1258BFCD-3BAD-4373-B786-4D698EC3C157} = {4A24657F-9695-437B-9702-2541ED280628}