title: ASP.NET MVC 3 and App_Code folder
body: <p>In ASP.NET Webform, <code>App_Code</code> is standard folder to putting code and using it at run-time.But I think this folder is kind of different in ASP.NET MVC, my question is:</p>
  
  <ul>
  <li><p>where should I put my code ( Extension methods , Helpers , ... ) in ASP.NET MVC. When I store code in <code>App_Code</code> folder, I can't use theme in <code>controller</code> but they work fine in <code>views</code>.</p></li>
  <li><p>About Entity Framework, the same question, where should I put <strong>edmx</strong> and <strong>tt</strong> files. <em>I'm not using Code-First</em></p></li>
  </ul>
  
  <p><strong>Update:</strong></p>
  
  <p>After some search, finally I created a new <strong>Class Library</strong> project in my solution, code is available in all <code>controllers</code> and <code>views</code>. <strong>I still don't know why the code in <code>App_Code</code> is not available in controller</strong></p>