开发者

asp.net App_LocalResources folder

I would like to have App开发者_开发知识库_LocalResources folder outside web application folder, so that I could deploy updated resx files and web app. independent of each other.

Reasons: We do not want to change current deploy tool.

Any way to achieve this?


Way the default resource manager works in asp.net is it picks the resex entries for the respective aspx file from the App_LocalResources folder in the current directory. As far as I know this behavior is not something you can configure (i.e to ask it to pick entries from a different folder!) But there is a workaround, that you could implement your own Resource Manager and let it picks entries from a location you specify it to. Found this and this while googling. Hope that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜