I know I can use the namespace Resources to get resources within App_GlobalResources but how do I get local resources within a controller?
Example, a folder in Views folder called Misc, with a page.aspx, and a App_LocalResources folder with the file page.aspx开发者_运维问答.ascx.
One way to do is: HttpContext.GetLocalResourceObject("~/Views/FOLDER/VIEW.cshtml", "KEY").ToString();
精彩评论