I completely converted the site to Razor and want it to ignore any residual .aspx files. This caused problems using
I would like to tell the whole site to stop processing ASPX or ASCX pages and use only Razor views.
Add to Global.asax.cs
protected void Application_Start() { ViewEngines.Engines.Clear(); ViewEngines.Engines.Add(new RazorViewEngine()); }
By default, a WebFormViewEngine enabled BEFORE RazorViewEngine .
WebFormViewEngine
RazorViewEngine
Source: https://habr.com/ru/post/1385368/More articles:Spring Roo update password field or not update all fields - javaBackground click and text input in AutoHotkey - backgroundReplace HTML tag with new tag - jqueryCreate Concordion Summary Report - acceptance-testingSerialize a pair of name value pairs without using node with XmlSerializer - c #column names contain periods in which spaces should be - rJavaScript redirect using hash / pound / # - javascriptHow to get the initial x-axis value in Flot? - javascriptJXCollapsiblePane from SwingX not working correctly - javaSearch for table header in Word VBA - vbaAll Articles