From a57f9f634da364fef6d1142d6b1ea95b9c8d1348 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 28 Oct 2017 16:28:26 -0500 Subject: [PATCH] Revert "FilterLists.Web initial commit" This reverts commit 2c87953f15bf3159906c094be7e398d296556f8c. --- FilterLists.sln | 6 --- .../Controllers/HomeController.cs | 12 ------ src/FilterLists.Web/FilterLists.Web.csproj | 22 ----------- src/FilterLists.Web/Program.cs | 20 ---------- src/FilterLists.Web/Startup.cs | 37 ------------------- src/FilterLists.Web/Views/Home/Index.cshtml | 3 -- 6 files changed, 100 deletions(-) delete mode 100644 src/FilterLists.Web/Controllers/HomeController.cs delete mode 100644 src/FilterLists.Web/FilterLists.Web.csproj delete mode 100644 src/FilterLists.Web/Program.cs delete mode 100644 src/FilterLists.Web/Startup.cs delete mode 100644 src/FilterLists.Web/Views/Home/Index.cshtml diff --git a/FilterLists.sln b/FilterLists.sln index ab8d40dfd..bb6d278b6 100644 --- a/FilterLists.sln +++ b/FilterLists.sln @@ -8,8 +8,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FilterLists.Data", "src\Fil EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FilterLists.Services", "src\FilterLists.Services\FilterLists.Services.csproj", "{9F296ECF-97C9-47E6-A794-5AD900ECFE6C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FilterLists.Web", "src\FilterLists.Web\FilterLists.Web.csproj", "{FD01C9D2-EBAB-4A71-B6E9-4951179CA4C4}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -28,10 +26,6 @@ Global {9F296ECF-97C9-47E6-A794-5AD900ECFE6C}.Debug|Any CPU.Build.0 = Debug|Any CPU {9F296ECF-97C9-47E6-A794-5AD900ECFE6C}.Release|Any CPU.ActiveCfg = Release|Any CPU {9F296ECF-97C9-47E6-A794-5AD900ECFE6C}.Release|Any CPU.Build.0 = Release|Any CPU - {FD01C9D2-EBAB-4A71-B6E9-4951179CA4C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FD01C9D2-EBAB-4A71-B6E9-4951179CA4C4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FD01C9D2-EBAB-4A71-B6E9-4951179CA4C4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FD01C9D2-EBAB-4A71-B6E9-4951179CA4C4}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/FilterLists.Web/Controllers/HomeController.cs b/src/FilterLists.Web/Controllers/HomeController.cs deleted file mode 100644 index 0311c451d..000000000 --- a/src/FilterLists.Web/Controllers/HomeController.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.AspNetCore.Mvc; - -namespace FilterLists.Web.Controllers -{ - public class HomeController : Controller - { - public IActionResult Index() - { - return View(); - } - } -} \ No newline at end of file diff --git a/src/FilterLists.Web/FilterLists.Web.csproj b/src/FilterLists.Web/FilterLists.Web.csproj deleted file mode 100644 index e2b4916ad..000000000 --- a/src/FilterLists.Web/FilterLists.Web.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/FilterLists.Web/Program.cs b/src/FilterLists.Web/Program.cs deleted file mode 100644 index bc18c5102..000000000 --- a/src/FilterLists.Web/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; - -namespace FilterLists.Web -{ - public class Program - { - public static void Main(string[] args) - { - BuildWebHost(args).Run(); - } - - public static IWebHost BuildWebHost(string[] args) - { - return WebHost.CreateDefaultBuilder(args) - .UseStartup() - .Build(); - } - } -} \ No newline at end of file diff --git a/src/FilterLists.Web/Startup.cs b/src/FilterLists.Web/Startup.cs deleted file mode 100644 index 94d89b2d8..000000000 --- a/src/FilterLists.Web/Startup.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; - -namespace FilterLists.Web -{ - public class Startup - { - public Startup(IConfiguration configuration) - { - Configuration = configuration; - } - - public IConfiguration Configuration { get; } - - public void ConfigureServices(IServiceCollection services) - { - services.AddMvc(); - } - - public void Configure(IApplicationBuilder app, IHostingEnvironment env) - { - if (env.IsDevelopment()) - app.UseBrowserLink(); - - app.UseStaticFiles(); - - app.UseMvc(routes => - { - routes.MapRoute( - "default", - "{controller=Home}/{action=Index}/{id?}"); - }); - } - } -} \ No newline at end of file diff --git a/src/FilterLists.Web/Views/Home/Index.cshtml b/src/FilterLists.Web/Views/Home/Index.cshtml deleted file mode 100644 index 681b705c3..000000000 --- a/src/FilterLists.Web/Views/Home/Index.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - ViewData["Title"] = "Home Page"; -} \ No newline at end of file