How to get an 'MvcApplication' instance in ASP.NET controller?

后端 未结 3 1595
夕颜
夕颜 2021-02-02 10:52

I think MvcApplication is a global singleton. I want to get the instance of MvcApplication in the controller. Then I put the following code in controll

3条回答
提交回复
热议问题