Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 558853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:10:32+00:00 2026-05-13T12:10:32+00:00

My ASP.Net 3.5 SP 1 MVC 1.0 web application uses Resources (resx) in several

  • 0

My ASP.Net 3.5 SP 1 MVC 1.0 web application uses Resources (resx) in several languages. The default language is English.

My resources pick up the right language from the current thread, which I set before trying to display any resource.

System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.GetCultureInfo(Model.CurrentCultureCode);
System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture(Model.CurrentCultureCode);

All this worked fine until I started migrating to Windows Azure.

In Windows Azure, the same code seems to be stuck on English, event though Model.CurrentCultureCode has the correct value.

Anyone else is experimenting something like this when migrating to Windows Azure?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:10:33+00:00Added an answer on May 13, 2026 at 12:10 pm

    I solved this issue by moving my resource files from the separate library where they were to the same WebRole project where the website is. I also placed my resource files in the App_GlobalResources folder.

    Although my solution now works, this doesn’t explain why the resources files where not working properly in a separate library. Let me know if you can figure that one out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am working in asp.net mvc 3 web application which uses razor code. and
I have a asp.net mvc web application an it uses some favicon.ico. Now when
I've written a web application with ASP.NET MVC. The default ControllerFactory has been replaced
I have an asp.net mvc application, which uses the default user database. It all
I have built an ASP.NET MVC web application that uses Entity Framework. To provide
I am using Asp.net MVC 4 Web Api project. MY application uses mvc to
I have a rather large ASP.NET MVC web application which uses KnockoutJS extensively throughout.
I am developing an ASP.Net MVC 3 Web application which uses Unity 2.0 as
I need to make a web application(asp.net mvc 4) that uses the windows auth(SSO)
I'm right now setting up a web application based on ASP.NET MVC 3 Razor.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.