1

I have a resource file called Resources.resx and I want to access a string inside the file called appDisclaimer with some text.

How can I access this string and display in my .cshtml view page? Example:

 <footer>my disclamer... </footer>
CMartins
  • 3,247
  • 5
  • 38
  • 53
  • I found some answers here: http://stackoverflow.com/questions/15047272/mvc4-localization-accessing-resx-from-view – CMartins Nov 09 '16 at 13:30

1 Answers1

0

Based on the question linked in my comment:

<footer>@NSResources.Resource.appDisclaimer </footer>

NSResources is the Namespace Resource is the File name appDisclaimer my string

CMartins
  • 3,247
  • 5
  • 38
  • 53