title: How i can access Virtual Directory in ASP.NET MVC 3 Models?
body: <p>In Controller it's easy to access the virtual path you need to access like:</p>
  
  <pre><code>Server.MapPath(@"~\App_Data\blah\blah") 
  </code></pre>
  
  <p>This give you access to AppData folder, but if I want to access them in Models, how can I acccess the virtual path in MVC 3?</p>
  
  <p>How can I access my app_data folder in Models of my application ?</p>