title: Thread.CurrentThread.CurrentUICulture in asp.net Core
body: <p>In my MVC application I have had the following line and it has worked fine.</p>
  
  <pre><code>if (Thread.CurrentThread.CurrentUICulture.Name == localizationItem.CultureInfo.Trim())
  </code></pre>
  
  <p>Now as I am porting my application over to .Net Core 1.1, it appears that <em>CurrentUICulture</em> has went missing in action.  Any ideas on what it's replacement is?</p>
  
  <blockquote>
    <p>Severity  Code    Description Project File    Line    Suppression State
    Error CS1061  'Thread' does not contain a definition for
    'CurrentUICulture' and no extension method 'CurrentUICulture'
    accepting a first argument of type 'Thread' could be found (are you
    missing a using directive or an assembly
    reference?)   framework..NETCoreApp,Version=v1.1</p>
  </blockquote>