global.asax Application_AcquireRequestState vs. Application_BeginRequest

前端 未结 2 2325
故里飘歌
故里飘歌 2021-02-20 04:44

what is the difference? I would like to implement Language dropdown selection in my app. So when a selected language is selected, a Thread culture would be set and page reloaded

2条回答
  •  北荒
    北荒 (楼主)
    2021-02-20 05:39

    Application_BeginRequest occurs earlier in the lifecycle and is the 'usual' place this goes.

    http://msdn.microsoft.com/en-us/library/ms178473%28v=VS.100%29.aspx

提交回复
热议问题