<p>I am currently building in Version 3.5 of the .Net framework and I have a resource (.resx) file that I am trying to access in a web application.  I have exposed the .resx properties as public access modifiers and am able to access these properties in the controller files or other .cs files in the web app.  My question is this: Is it possible to access the name/value pairs within my view page?  I'd like to do something like this...</p>

<pre><code>text="&lt;%$ Resources: Namespace.ResourceFileName, NAME %&gt;"  
</code></pre>

<p>or some other similar method in the view page.</p>

[{'answer_id': 63062, 'author': 'Joel Martinez', 'author_id': 5416, 'author_profile': 'https://Stackoverflow.com/users/5416', 'pm_score': 2, 'selected': False, 'text': '<p>Expose the resource property you want to consume in the page as a protected page property.  Then you can just do use "this.ResourceName"</p>\n'}, {'answer_id': 63083, 'author': 'Mike Becatti', 'author_id': 6617, 'author_profile': 'https://Stackoverflow.com/users/6617', 'pm_score': 4, 'selected': True, 'text': '\n\n<pre class="lang-cs prettyprint-override"><code>&lt;%= Resources.&lt;ResourceName&gt;.&lt;Property&gt; %&gt;\n</code></pre>\n'}, {'answer_id': 63328, 'author': 'HectorMac', 'author_id': 1400, 'author_profile': 'https://Stackoverflow.com/users/1400', 'pm_score': 1, 'selected': False, 'text': '<p>If you are using ASP.NET 2.0 or higher, after you compile with the resource file, you can reference it through the Resources namespace:</p>\n\n<pre><code>text = Resources.YourResourceFilename.YourProperty;\n</code></pre>\n\n<p>You even get Intellisense on the filenames and properties.</p>\n'}]
['https://Stackoverflow.com/questions/62995', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7215/']