Localization Globalization ASP.NET 2.0

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?
 
B

Brock Allen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top