ASP.NET passes the full page virtual path (/MyApp/subdir/test.aspx) wich is the effective ResourceSet id. We'll store only an application relative path (subdir/test.aspx) by stripping off the base path.
public virtual IResourceProvider CreateLocalResourceProvider(string virtualPath);
Parameters
virtualPath
See also:
Class DbSimpleResourceProviderFactory