DbResourceProvider provides the Resource Provider interface and a host of support services in a single assembly. The Administration interface that allows ASP.NET applications to edit resources in the database however, requires installation of the appropriate ASP.NET files in your ASP.NET application. You can copy these files from the sample project or install and run the sample project seperately from your application.

Westwind.Globalization.dll Assembly

The Westwind.Globalization.dll assembly is provided as an unsigned assembly that you can simply copy into your BIN directory of your Web directory for installation. Since source code is provided you are free to recompile sign the assembly and deploy it in the GAC. Running from the GAC simplifies a few permission related issues such as using Reflection and resetting the application, but it is not required.

There are also two dependent DLLs associated with the resource provider assembly. The full list of assemblies that must be deployed are:

  • Westwind.Globalization.dll
  • Westwind.Web.dll
  • Westwind.Utilities.dll

Please note that the sample application also utilizes Westwind.BusinessFramework.dll which is not required for anything but the demos. It won't be required for your own applications.

ASP.NET Resource Administration Interface

The resource administration interface is shipped as a directory of ASPX and script/css resources that you can deploy within your Web site. The admin interface uses a Web Application Project (WAP), so you might need to tweak the page to work with stock projects. You simply create a folder anywhere in your site with a name of your choice and copy the ASPX files, source files and resources into this folder.

Once you have created the folder use the Resource Provider Configuration in web.config to indicate the virtual path to the administration form. The setting is in the DbResourceProvider section. For example:

localizationFormWebPath="~/localizationadmin/localizationadmin.aspx"

This setting is used by the DbResourceControl server control that can be dropped on any ASP.NET form to properly generate the resource editing links to find the admin form and properly navigate to the context sensitive content.

The administration form also uses jQuery.js and ww.jquery.js although these are automatically loaded from resources.

There's more information on copying and configuring the resource directory outlined here.