Best way to implement a 404 in ASP.NET

前端 未结 9 717
甜味超标
甜味超标 2020-11-27 16:26

I\'m trying to determine the best way to implement a 404 page in a standard ASP.NET web application. I currently catch 404 errors in the Application_Error event in the Glob

9条回答
  •  一向
    一向 (楼主)
    2020-11-27 17:02

    You can use the web.config to send 404 errors to a custom page.

        
            
            
        
    

提交回复
热议问题