Global Resources Localization Suggestion for ASP.NET

Posted by: Rick Strahls WebLog, on 24 Jun 2007 | View original

ASP.NET provides the ability to use strongly typed resources for Global resources that are contained in App_GlobalResources. This is a nice feature, but it has a pretty major flaw as it's implemented right now. The way this works is that you have your Resx file in App_GlobalResources and ASP.NET will at compile time generate a class from each of the resource sets (each distinct invariant .resx file) defined. For example a generated class looks like this:public class resources { //...

Advertisement

Similar Posts

  • Tip/Trick: Show Detailed ASP.NET Error Messages to Developers (and only to Developers) more
  • August 9th ASP.NET Link-Listing more
  • Secure ASP.NET Columns for asp.netPRO more
  • SDC Sessions - THE CODE more
  • Avoid IISRESET in ASP.NET applications (added bonus: ASPRESET) more
  • Software Development Conference 2006 more
  • Sharepoint 2007 - Enabling Custom Authentication using a Custom Membership Provider more
  • Sharepoint 2007 - Enabling Custom Authentication using a Custom Membership Provider more
  • dnn 403 installation snafu : simple changes make it easier more
  • Visual Inheritance with User Controls in ASP.NET 2.0 Web Applications more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD