Jupaol
Jupaol

Reputation: 21365

How can I consume satellite assemblies declaratively in ASP.NET

This is it, I've been learning about satellite assemblies, and I think I already understood how to create them and how to use them in code with the ResourceManager

The problem is that I would like to consume a satellite assmebly via the page's markup (declaratively) but I have not found a way to do it.

Any thoughts?

My goal is to be able to use them something like this:

<asp:Localize runat="server" Text="<%$ Resources:[external assembly][resources file name], [resource key] %>">

</asp:Localize>

Upvotes: 0

Views: 327

Answers (1)

TheGeekYouNeed
TheGeekYouNeed

Reputation: 7539

You would need to implement your own Custom ResourceProvider where you would build out your methods that use those assemblies.

Upvotes: 1

Related Questions