NuGet

NuGet

Postby JoeRuspante » Tue 24 Jul 2012 21:37

Hi everybody.

Is it possible to have dotConnect on a NuGet server?
Our scenario is this:

-) We are a couple of developers that works on the back-end (so we use dotConnect)
-) We have few projects built on the dotConnect 6.x
-) We'd like to develop new project with dotConnect 7.x

Using NuGet sever is easy to develop programs in this scenario:
- The projects built on the 6.x will use this release till someone will "upgrade" to a newer version (using NuGet)
- New projects will use the last version taking it from the NuGet server

Now that we don't have the NuGet server (or something like this), is difficult to develop with two different version of dotConnect.
If I install the newer version, I can't modify old project without changing the version of dotConnect (the old references are not valid).
If I don't install the newer version, new projects will work with the old version


Is it possible to put dotConnect on NuGet? For example giving a NuGet address for allowed people in the same way you give the access to the download page right now...

Thank you in advance
JoeRuspante
 
Posts: 54
Joined: Mon 05 Jul 2010 23:08

Re: NuGet

Postby Shalex » Thu 26 Jul 2012 17:27

JoeRuspante wrote:Is it possible to have dotConnect on a NuGet server?

dotConnect for Oracle Express Edition is available on a NuGet server. Other editions can not be distributed via NuGet because only run-time assemblies can be supplied in this way. Standard/Professional editions include design time which can be installed only with a full installation package.

JoeRuspante wrote:Now that we don't have the NuGet server (or something like this), is difficult to develop with two different version of dotConnect.

We do not recommend to install several versions of dotConnect for Oracle in the development environment because design time will not work correctly in this situation. If you are interested only in run-time, install the first version, copy its runtime assemblies, uninstall the first version. Then install the second one - the run-time of this version will be available. To make asseblies of the first version "loadable" by the applications which use them, remove the policy.*.Devart.* files from GAC.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Re: NuGet

Postby JoeRuspante » Thu 18 Apr 2013 15:40

We did the backend without using designers or Visual Studio integrations.
We only need the runtime dll (included in the project, nothing more).

What do you suggest? Can we use the "Express" version for have the NuGet functionality? Or bux-fixes will arrive later on this version?

Of course, we will continue to buy licences for the support, but have a NuGet server will help us a lot.

Thank you in advance
JoeRuspante
 
Posts: 54
Joined: Mon 05 Jul 2010 23:08

Re: NuGet

Postby Shalex » Fri 19 Apr 2013 16:41

JoeRuspante wrote:Can we use the "Express" version for have the NuGet functionality? Or bux-fixes will arrive later on this version?

You can have the Nuget functionality with dotConnect for Oracle Express Edition: http://www.nuget.org/packages/dotConnect.Express.for.Oracle. The Nuget package is updated with the "main" release.

Be aware that Express Edition includes a limited functionality: http://www.devart.com/dotconnect/oracle/editions.html.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44

Re: NuGet

Postby JoeRuspante » Tue 23 Apr 2013 14:54

Thank you, but we need some functionalities that express does not support (EF and Direct mode).

So we think to create a custom NuGet server (internal to our site), so we can use it for all projects. The problem that we have is the licence.

Now we can use DotConnect without have installed it, need only a "licx" file + additional file generated by the "lc" command (we read it on the licencing tutorial of devart).

The problem is that we use it in more project. There is a way to create a "licx" file (and additional license file) that doesn't need the name of the assembly? So we can generate a NuGet package that contains DLL and licence files without create a package for each solution.


Thank you in advance
JoeRuspante
 
Posts: 54
Joined: Mon 05 Jul 2010 23:08

Re: NuGet

Postby Shalex » Mon 29 Apr 2013 12:56

JoeRuspante wrote:There is a way to create a "licx" file (and additional license file) that doesn't need the name of the assembly?

dotConnect for Oracle uses .NET component licensing: http://www.devart.com/dotconnect/oracle/docs/?licensing.html. This licensing model doesn't allow to use it in the way you want.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle