I am using MVC3, and have some logic for changing the culture which all works fine. My issue, is that there seems a few places where this change should be made, and I am unsure where would be the best place to do it.
Some examples show an override on each action, from within a controller like this:
protected override void OnActionExecuted(ActionExecutedContext filterContext)
{
// code to change culture
}
Whereas a more traditional way that I am used to seeing is doing it in the Global.asax file as follows:
protected void Application_BeginRequest(object sender, EventArgs e)
{
// code to change culture
}
What is the recommended place to do this?