()
- .UseKestrel()
- .UseIISIntegration();
- }
-}
-
diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs b/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs
deleted file mode 100644
index d4171804fb..0000000000
--- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/TestRazorCompilationService.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) .NET Foundation. All rights reserved.
-// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-using System.IO;
-using System.Text;
-using Microsoft.AspNetCore.Hosting;
-using Microsoft.AspNetCore.Mvc.Razor.Internal;
-using Microsoft.AspNetCore.Razor.Language;
-
-namespace RazorPageExecutionInstrumentationWebSite
-{
- public class TestRazorProjectFileSystem : FileProviderRazorProjectFileSystem
- {
- public TestRazorProjectFileSystem(IRazorViewEngineFileProviderAccessor fileProviderAccessor, IHostingEnvironment hostingEnvironment)
- : base(fileProviderAccessor, hostingEnvironment)
- {
- }
-
- public override RazorProjectItem GetItem(string path)
- {
- var item = (FileProviderRazorProjectItem)base.GetItem(path);
- return new TestRazorProjectItem(item);
- }
-
- private class TestRazorProjectItem : FileProviderRazorProjectItem
- {
- public TestRazorProjectItem(FileProviderRazorProjectItem projectItem)
- : base(projectItem.FileInfo, projectItem.BasePath, projectItem.FilePath, projectItem.RelativePhysicalPath)
- {
- }
-
- public override Stream Read()
- {
- // Normalize line endings to '\r\n' (CRLF). This removes core.autocrlf, core.eol, core.safecrlf, and
- // .gitattributes from the equation and treats "\r\n" and "\n" as equivalent. Does not handle
- // some line endings like "\r" but otherwise ensures checksums and line mappings are consistent.
- string text;
- using (var streamReader = new StreamReader(base.Read()))
- {
- text = streamReader.ReadToEnd().Replace("\r", "").Replace("\n", "\r\n");
- }
-
- var bytes = Encoding.UTF8.GetBytes(text);
- return new MemoryStream(bytes);
- }
- }
- }
-}
\ No newline at end of file
diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/Home/ViewWithPartial.cshtml b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/Home/ViewWithPartial.cshtml
deleted file mode 100644
index 8f42baf024..0000000000
--- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/Home/ViewWithPartial.cshtml
+++ /dev/null
@@ -1,5 +0,0 @@
-view-with-partial-content
-@await Html.PartialAsync("_PartialView")
-@{
-await Html.RenderPartialAsync("_PartialView");
-}
\ No newline at end of file
diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/Home/_PartialView.cshtml b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/Home/_PartialView.cshtml
deleted file mode 100644
index 3b945a4613..0000000000
--- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/Home/_PartialView.cshtml
+++ /dev/null
@@ -1,4 +0,0 @@
-@{
- var cls = "class";
-}
-partial-content
\ No newline at end of file
diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/_Layout.cshtml b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/_Layout.cshtml
deleted file mode 100644
index 23e469ccc9..0000000000
--- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/_Layout.cshtml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-@int.MaxValue
-@RenderBody()
-
diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/_ViewStart.cshtml b/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/_ViewStart.cshtml
deleted file mode 100644
index 3b3abdacaa..0000000000
--- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/Views/_ViewStart.cshtml
+++ /dev/null
@@ -1,5 +0,0 @@
-@{
- Layout = "/Views/_Layout.cshtml";
- var viewStartMessage = "viewstart-content";
-}
-@viewStartMessage
diff --git a/test/WebSites/RazorPageExecutionInstrumentationWebSite/readme.md b/test/WebSites/RazorPageExecutionInstrumentationWebSite/readme.md
deleted file mode 100644
index b5de53569b..0000000000
--- a/test/WebSites/RazorPageExecutionInstrumentationWebSite/readme.md
+++ /dev/null
@@ -1,4 +0,0 @@
-RazorPageExecutionInstrumentationWebSite
-===
-
-This web site is used for functional testing of page instrumentation.