title: How do you access application variables in asp.net mvc 3 razor views?
body: <p>I set a Application variable in my global.asa.cs with:</p>
  
  <pre><code>    protected void Application_Start()
      {
          ...
  
          // load all application settings
          Application["LICENSE_NAME"] = "asdf";
  
      }
  </code></pre>
  
  <p>and then try to access with my razor view like this:</p>
  
  <pre><code>@Application["LICENSE_NAME"]
  </code></pre>
  
  <p>and get this error:</p>
  
  <pre><code>Compiler Error Message: CS0103: The name 'Application' does not exist in the current context
  </code></pre>
  
  <p>what is the proper syntax?</p>