diff --git a/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs b/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs index 065d9a6413..722bd096d6 100644 --- a/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs +++ b/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs @@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc.Rendering; namespace RazorWebSite { - public class ForwardSlashExpander : IViewLocationExpander + public class BackSlashExpander : IViewLocationExpander { public void PopulateValues(ViewLocationExpanderContext context) { diff --git a/test/WebSites/RazorWebSite/Startup.cs b/test/WebSites/RazorWebSite/Startup.cs index ebe16f7102..e1d770d61f 100644 --- a/test/WebSites/RazorWebSite/Startup.cs +++ b/test/WebSites/RazorWebSite/Startup.cs @@ -33,7 +33,7 @@ namespace RazorWebSite $"{nameof(RazorWebSite)}.EmbeddedResources")); options.FileProviders.Add(updateableFileProvider); options.ViewLocationExpanders.Add(new NonMainPageViewLocationExpander()); - options.ViewLocationExpanders.Add(new ForwardSlashExpander()); + options.ViewLocationExpanders.Add(new BackSlashExpander()); }) .AddViewOptions(options => {