How to set Culture in ASP.NET Web API ?

There are three ways to set the Culture information in any ASP.NET Web Api application : 1. Application Level 2. Page Level 3. Thread Level

1.Application Level:

<configuration> <system.web> <globalization culture="en-GB" uiCulture="en-GB"/> </system.web> </configuration>

2.Page Level:

@{ Culture = "en-GB"; UICulture = "en-GB"; }

// if using aspx, then..

<%@Page Culture="en-GB" Language="C#" %>

3.Thread Level:

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");

Hope this helps you :)