Resource Files and ASP.NET MVC Projects
Posted by: K. Scott Allen,
on 16 Jul 2009 |
View original | Bookmarked: 0 time(s)
If you try some of the traditional ASP.NET approaches to localization and internationalization in an MVC application youre likely to run into a couple interesting* obstacles. Resx Files In App_GlobalResources Using resource files in App_GlobalResources from your controller code will break your unit tests When you drop a .resx file in the special App_GlobalResources folder, the IDE uses the GlobalResourceProxyGenerator to generate a strongly typed internal class to wrap the resources inside. The...