+
+
+ One Microsoft Way
+ Redmond, WA 98052-6399
+ P:
+ 425.555.0100
+
+
+
+ Support:Support@example.com
+ Marketing:Marketing@example.com
+
diff --git a/src/FilterLists.Web/Pages/Contact.cshtml.cs b/src/FilterLists.Web/Pages/Contact.cshtml.cs
new file mode 100644
index 000000000..80341a258
--- /dev/null
+++ b/src/FilterLists.Web/Pages/Contact.cshtml.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Mvc.RazorPages;
+
+namespace FilterLists.Web.Pages
+{
+ public class ContactModel : PageModel
+ {
+ public string Message { get; set; }
+
+ public void OnGet()
+ {
+ Message = "Your contact page.";
+ }
+ }
+}
diff --git a/src/FilterLists.Web/Pages/Error.cshtml b/src/FilterLists.Web/Pages/Error.cshtml
new file mode 100644
index 000000000..b1f3143a4
--- /dev/null
+++ b/src/FilterLists.Web/Pages/Error.cshtml
@@ -0,0 +1,23 @@
+@page
+@model ErrorModel
+@{
+ ViewData["Title"] = "Error";
+}
+
+
Error.
+
An error occurred while processing your request.
+
+@if (Model.ShowRequestId)
+{
+
+ Request ID:@Model.RequestId
+
+}
+
+
Development Mode
+
+ Swapping to Development environment will display more detailed information about the error that occurred.
+
+
+ Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.
+
diff --git a/src/FilterLists.Web/Pages/Error.cshtml.cs b/src/FilterLists.Web/Pages/Error.cshtml.cs
new file mode 100644
index 000000000..a4c497040
--- /dev/null
+++ b/src/FilterLists.Web/Pages/Error.cshtml.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Threading.Tasks;
+using Microsoft.AspNetCore.Mvc.RazorPages;
+
+namespace FilterLists.Web.Pages
+{
+ public class ErrorModel : PageModel
+ {
+ public string RequestId { get; set; }
+
+ public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
+
+ public void OnGet()
+ {
+ RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier;
+ }
+ }
+}
diff --git a/src/FilterLists.Web/Pages/Index.cshtml b/src/FilterLists.Web/Pages/Index.cshtml
index 1583fd6d2..c7f588fa3 100644
--- a/src/FilterLists.Web/Pages/Index.cshtml
+++ b/src/FilterLists.Web/Pages/Index.cshtml
@@ -2,4 +2,109 @@
@model IndexModel
@{
ViewData["Title"] = "Home page";
-}
\ No newline at end of file
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Learn how to build ASP.NET apps that can run anywhere.
+
+ Learn More
+
+
+
+
+
+
+
+
+ There are powerful new features in Visual Studio for building modern web apps.
+
+ Learn More
+
+
+
+
+
+
+
+
+ Bring in libraries from NuGet, Bower, and npm, and automate tasks using Grunt or Gulp.
+
+ Learn More
+
+
+
+
+
+
+
+
+ Learn how Microsoft's Azure cloud platform allows you to build, deploy, and scale web apps.
+
+ Learn More
+
+