I want to create a page down for maintenance in asp.net mvc, so regardless of the request, it will point to "Home / Down"
What router configurations do I need to install in the global.cs file?
You can use the file App_Offline.htm . Just upload an html file with this name to the route of your ASP.NET application, and all requests will be directed to it. When you are ready to send your site back, just delete the file. There, small gotcha you should know when using a App_Offline.htmfile with an ASP.NET MVC application.
App_Offline.htm
Source: https://habr.com/ru/post/1783221/More articles:Stopping debugging a web application on IIS in VS2010 takes a lot of time - debugginghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1783217/how-can-i-make-the-datagridviewtextboxcolumn-wrap-to-a-new-line-if-its-text-is-too-long&usg=ALkJrhjVjcwwWBUgG_kGzWb7xgXgyMpL4AIs UISwipeGestureRecognizer called twice? - iphoneSplit HTML file into fixed size pages - javascriptChange data source in XtraGrid - c #Android: как отслеживать URL-адреса https через эмулятор android с помощью скрипача - androidPlease criticize this entry in PHP script - securityDoes it use PDO and prepared instructions for logging in securely? - securityHow to set up a proper equinox installation - osgiсоздание имен переменных из списка массивов - arraysAll Articles