How to pass error message to error view in MVC 5?

后端 未结 3 703
太阳男子
太阳男子 2021-02-06 13:05

I am working on exception handling and have written below code for the same.

Web.Config

         


        
3条回答
  •  灰色年华
    2021-02-06 13:23

    I know this is an old post but I just want to share the easiest way to do it. Just paste this in your Web.config

     
     
          
          
      
     
    

提交回复
热议问题