views:

12

answers:

0

I have for my ASP.NET 3.5 web application project a common library that contains a resource file with string values. This library is shared with the business side (WCF hosted). I created a custom ResourceProviderFactory and ResourceProvider to load resources from the common library.

So far so good, but I have other resource files which are only necessary in the web application (image paths etc) that reside in the App_GlobalResources folder. I can distinguish between the requested repository by the classKey parameter that is handed to the CreateGlobalResourceProvider method. So in one case I construct my custom resource provider. How do I route to the default behavior in all other cases?