You should avoid App_GlobalResources
and App_LocalResources
.
Like Craig mentioned, there are problems with App_GlobalResources
/App_LocalResources
because you can't access them outside of the ASP.NET runtime. A good example of how this would be problematic is when you're unit testing your app.
K. Scott Allen blogged about this a while ago. He does a good job of explaining the problem with App_GlobalResources
in ASP.NET MVC here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…