October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Rather than set the Culture and UICulture properties in each page, you can set these properties once in the web configuration file. Typically, you should take this approach because it makes your website easier to maintain.
The web configuration file in Listing 30.7 sets the Culture and UICulture properties to the value de-DE (German).
Listing 30.7. Web.Config

If you prefer, you can use the value auto in the web configuration file if you want the culture to be automatically detected based on the value of the browser Accept-Language header. If you need to override the configuration settings in the ...