2.5 Enterprise Library GAC licensing

2.5 Enterprise Library GAC licensing

Postby bradk » Thu 20 Apr 2006 01:50

I've downloaded 2.5 to trial this for a potential project. My goal is to use the Enterprise Library component in a .Net 2.0 HttpModule for several different aspx web service applications, thus every assembly needs to go in the GAC.

I modified the CoreLab.PostgreSql.EnterpriseLibrary project to be strong named and registered with the GAC. So far so good, but now I built a test console app and get a "license not found" error. I then add the licenses.licx file and this works ok. What I'm concerned about though are the instructions for licensing this in a class library, which seems to require a licenses.config file. I'm confused as to how an httpmodule running in an aspx application context is to be licensed. I want the licensing requirements to be contained in the httpmodule project, not in each web project I use it in. Please advise on the best strategy for this.
bradk
 
Posts: 34
Joined: Thu 20 Apr 2006 01:42

Postby Oleg » Thu 20 Apr 2006 09:42

I suppose, the best strategy in your case is to install PostgreSQLDirect .NET on your web server.
Oleg
Devart Team
 
Posts: 264
Joined: Thu 28 Oct 2004 13:56

Postby bradk » Thu 20 Apr 2006 11:35

Thanks, what I need to know is how/if the license will need to be compiled into web projects using my httpmodule, or is there a way to have the license as part of the httpmodule project and not have to modify each web project that uses it. For example, will I be able to just add a licenses.licx file to the httpmodule project and it will then work in any web application on the server ?
bradk
 
Posts: 34
Joined: Thu 20 Apr 2006 01:42

Postby Alexey » Tue 25 Apr 2006 14:52

Yes, you can add license.licx file to your httpmodule project and it will then work in any web application on the server (but only in web application).
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for PostgreSQL