AnonyMouse
AnonyMouse

Reputation: 18630

MVC string constants where to store them

I previously asked a question on here about whether there was an MVC option to store string constants in a resources file like in webforms.

Well the answer was that you just store them in the resources file just like in webforms.

Well where is the resources file? Do I need to add it?

I just added the App_LocalResources folder but I don't think that's it. Any ideas?

Upvotes: 1

Views: 954

Answers (1)

Chase Florell
Chase Florell

Reputation: 47387

I asked a similar question quite a while back. The answer is basically that the App_LocalResources doesn't work the same in MVC. Check out the ASP.NET MVC2 Localization Complete Guide.

Upvotes: 3

Related Questions