October 2010
Intermediate to advanced
1920 pages
73h 55m
English
The ASP.NET Framework automatically converts global resources into compiled classes behind the scenes. This enables you to use strongly typed expressions when working with global resources in your code. When you create a resource, a new class is added automatically to the Resources namespace. The class exposes all the entries of the resource file as properties.
For example, the page in Listing 30.24 retrieves the Title entry from the Site global resource file (Site.resx and its culture-specific variations).
Listing 30.24. ProgramGlobalTyped.aspx

You can use the following expression magically to refer ...
Read now
Unlock full access