Thursday, June 23, 2011

Satellite assembly

  • Satellite assemblies can only contain resources(.resources files/.resx files)
  • They cannot contain any executable code.
  • Satellites are loaded by a .NET class called System.Resources.ResourceManager.

  • It helps you to localize your assembly
  • For example, use different strings for different locales

  • One of the application of satellite assembly is multi language support
  • ie, keep separate resource file for each languages and load data from the resource files

  • Satellite assemblies can be installed in the GAC
http://www.codeproject.com/KB/aspnet/SatelliteAssemblies.aspx