Where to Apply the License Key in dotConnect Providers

Where to Apply the License Key in dotConnect Providers

License key usage in dotConnect providers varies depending on the target framework. In .NET Framework projects, licensing is managed automatically during installation, whereas .NET Core and later versions require the license key to be provided at runtime. This article applies to all dotConnect providers.

.NET Framework Projects

In .NET Framework applications, the license key does not need to be entered manually. Activation is handled through the installation of the licensed product. After downloading dotConnect from the Customer Portal and completing the installation, the assemblies function under the purchased license without additional configuration.

.NET Core and .NET 6–9 Projects
In .NET Core and modern .NET projects, the license key must be specified explicitly. The key is provided at runtime through the connection string using the License Key parameter.

Further details and examples are available in the documentation: Licensing for .NET Standard and .NET Core.

Info
Summary
  1. .NET Framework projects: the license key is applied automatically during installation.
  2. .NET Core and later projects: the license key is provided at runtime in the connection string.
    • Related Articles

    • Specifying the License Key in the Devart EF Core Model

      This article is for dotConnect providers with ORM support (all except Universal and SQL Server). When creating a Devart EF Core model, the license key is not required at design time. However, during execution the following error may appear: “Feature ...
    • Error: “Feature is not supported” (license key validation in .NET Standard)

      This error occurs when Devart .NET Standard assemblies cannot validate a license key at runtime. The guidance applies to all dotConnect providers. After migrating a working .NET Framework application to .NET Core / .NET 6–9 and referencing NuGet ...
    • How to Completely Remove Previous Versions of dotConnect Providers

      Conflicts may occur if older dotConnect versions remain on the system, leading to installation errors or issues in Visual Studio. This article describes how to fully remove previous versions before reinstalling. The instructions apply to all ...
    • dotConnect for Oracle distribution

      dotConnect for Oracle is distributed in two ways: - As the installer that provides assemblies for Full .NET Framework, documentation, samples, and all the necessary files. - As NuGet packages with .NET Standard compatible assemblies for .NET Core. ...
    • Installation vs. NuGet in dotConnect Providers

      dotConnect providers can be added to a project in two ways: by installing the product or by using NuGet packages. The choice depends on the project type and the .NET version you are targeting. This article applies to all dotConnect providers. Two ...