Duration: 16 minutes
Summary: In this video, we will discuss global resources. A local resource is limited to a page. A global resource, however, can be used on multiple pages. When you create a global resource you put it under App_GlobalResources (placed in the root of the application). We will create a simple page that contains a question (you can think about it as simulating exam questions in different languages). Then, we change the text property of the label to reference the global resource. That way the text we need will show up when we load the page. After that we will add another Spanish global resource. We change the Page's UICulture to refer to "es". Now when we load the page, we will get the question in Spanish. Finally, we will look at the code to retrieve a resource programmatically.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: ASP.NET and Visual Studio 2010
Keyword: ASP.NET 4, Visual Studio 2010, Resources, UICulture, Label, GetGlobalResourceObject.