.NET Globalization

 

Applies To: Windows Server 2012 R2, Windows Server 2012

Use the NET Globalization feature page to configure .NET Framework globalization settings. Globalization is the process of internationalizing application code, then localizing the application to other languages and cultures. The internationalization process makes it possible to translate, store, retrieve, and present application content for any locale, using the same application code base whenever possible. Locale is the combination of language and cultural environment. It includes date formats, times, currencies, telephone numbers, and so on. Localization means adapting your application to other locales by translating and formatting content according to culture, preferably without touching the code itself.

You can configure the following .NET Framework globalization settings in IIS:

  • Culture settings such as the UI culture

  • Encoding settings such as encoding for response headers

Related scenarios

UI Elements for .NET Globalization

The following tables describe the UI elements that are available on the feature page and in the Actions pane.

Feature Page Elements

Element Name

Description

Culture

Specifies the default culture for processing incoming web requests.

Enable Client Based Culture

Gets or sets a value indicating whether the Culture and UICulture properties should be based on the AcceptLanguage header field value that is sent by the client browser.

UI Culture

Specifies the default culture for processing locale-dependent resource searches.

File

Specifies the file encoding for .aspx, .asmx, and .asax file parsing. Unicode and UTF-8 files that are saved with the byte-order mark prefix are automatically recognized, regardless of the value for this attribute.

Requests

Specifies the assumed encoding of each incoming request, including posted data and the query string.

If the request includes a request header that contains an Accept-Charset attribute, it overrides this attribute in the configuration.

The default encoding is UTF-8, which is specified in the globalization section in the Machine.config file that was created when the .NET Framework was installed. If request encoding is not specified in a Machine.config or Web.config file, encoding defaults to the Regional and Language Options locale setting for the computer.

In single-server applications, this attribute and the responseEncoding attribute should be the same. For the less common case (multiple-server applications where the default server encodings are different for each server), you can vary the request and response encoding by using local Web.config files.

Response Headers

Specifies the content encoding of response headers.

Responses

Specifies the content encoding of responses.

The default encoding is UTF-8, which is specified in the globalization section in the Machine.config file that was created when the .NET Framework was installed. If response encoding is not specified in a Machine.config or Web.config file, encoding defaults to the Regional and Language Options locale setting for the computer.

In single-server applications, this attribute and the responseEncoding attribute should be the same. For the less common case (multiple-server applications where the default server encodings are different for each server), you can vary the request and response encoding by using local Web.config files.

Actions Pane Elements

Element Name

Description

Apply

Saves the changes that you have made on the feature page.

Cancel

Cancels the changes that you have made on the feature page.