ASP.NET App_LocalResources Scope

Thought of a new feature?

ASP.NET App_LocalResources Scope

Postby Garee on Wed Dec 02, 2009

Hi,

There are two types of resources in an ASP.NET application - global resources and local resources. Local resources are held resx files in an App_LocalResources sub-folder, and are named according to the following convention:

MyAspFileName.aspx.resx

As a web application can obviously have a hierarchical folder structure, this means there can be multiple .resx files with the same name, e.g.

    Root Folder
      Folder 1
        App_LocalResources
          Default.aspx.resx
        Default.aspx
      Folder 2
        App_LocalResources
          Default.aspx.resx
        Default.aspx

From what I can see, there isn't a way to handle this in ResourceBlender Express? If you imported the files from Folder 1 and Folder 2 I think they are combined into the same bundle, i.e. Default.aspx.

So this feature request is to have some sort of additional scope added to bundles. Ideally this would be hierarchical, and when exporting the generated .resx files would be saved out to a hierarchical folder structure.

Best regards,

Gary
Garee
Member
 
Posts: 1
Joined: Wed Dec 02, 2009

Re: ASP.NET App_LocalResources Scope

Postby Harry Jennerway on Wed Dec 02, 2009

That's a great idea. I'd love to say I'll get right on it, but contributions to the source have been few and far between so far (apart from Haze). It's something I'd certainly like to see added though. :)

Thanks for the suggestion.
Image
User avatar
Harry Jennerway
Developer
Developer
 
Posts: 1237
Joined: Tue Nov 22, 2005
Location: England

Return to Feature Requests

cron