阅读背景:

在ASP.NET MVC中将资源字符串公开给JavaScript文件的最佳方法?

来源:互联网 

It's easy to use resource strings (.resx) in Razor view, but how to do that in JavaScript files? Currently I'm manually passing strings from Razor view to scripts in JavaScript constructor argument but I would like a way to do this more automatically so I don't have to pass each and every resource string that I need.It's easy to use resource strings (.resx) in Ra




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: