Localization Globalization ASP.NET 2.0

  • Thread starter Thread starter leodippolito
  • Start date Start date
L

leodippolito

I have a resources file under App_GlobalResources in my web application
("web site project"). I can access it normally using the strongly-typed
syntax.

My question: I have a DAL that is separate in a different project
(class library). Is it possible to access the resources file in
App_GlobalResources from the DAL classes?

In my web site project I have a reference for the DAL class library
project.

Any ideas?
 
The generated App_GlobaResources assembly is an ASP.NET "thing" so you have
a dependency problem from your back-end assembly. You could build a seperate
ASP.NET web project just for the App_GlobalResources, precompile it, then
reference it from your back-end assembly. Sounds more tedious than it's worth,
I'd think, though.

-Brock
http://staff.develop.com/ballen
 
Back
Top