October 2010
Intermediate to advanced
1920 pages
73h 55m
English
A local resource is scoped to a particular page. A global resource, on the other hand, can be used by any page in an application. Any localized content that you need to share among multiple pages in your website should be added to a global resource file.
You create global resource files by adding the files to a special folder named App_GlobalResources. This folder must be located in the root of your application.
For example, the file in Listing 30.20 is a global resource file.
Listing 30.20. App_GlobalResources\Site.resx

The page in Listing 30.21 uses the entries from the global resource file (see Figure 30.9).