You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Overview of Syncfusion license generation - Syncfusion
4
-
description: Learn here about how to generate Syncfusion blazor license key for syncfusion blazor application for license validation.
3
+
title: Generate Blazor license key | Syncfusion
4
+
description: Learn here all about how to generate a Syncfusion Blazor license key for evaluation or licensed usage, including platform- and version-specific guidance.
License keys can be generated from the [License & Downloads](https://syncfusion.com/account/downloads) or [Trial & Downloads](https://www.syncfusion.com/account/manage-trials/downloads)section of the Syncfusion<supstyle="font-size:70%">®</sup> website.
12
+
Generate license keys from the [License & Downloads](https://syncfusion.com/account/downloads)portal or the [Trial & Downloads](https://www.syncfusion.com/account/manage-trials/downloads)page of the Syncfusion<supstyle="font-size:70%">®</sup> website.
13
13
14
-

14
+

15
15
16
-
N> * Syncfusion<supstyle="font-size:70%">®</sup> license keys are **version and platform specific**. Refer to the [KB](https://www.syncfusion.com/kb/8976/how-to-generate-license-key-for-licensed-products) to generate the license key for the required version and platform.
17
-
*Refer to this [KB](https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application)to know which version of the Syncfusion<supstyle="font-size:70%">®</sup> license key should be used in the application.
16
+
N> * Syncfusion<supstyle="font-size:70%">®</sup> license keys are **version and platform specific**. See How to generate a license key for [licensed products](https://www.syncfusion.com/kb/8976/how-to-generate-license-key-for-licensed-products).
17
+
*To determine whichlicensekey version to use in an application, see [Which version Syncfusion<supstyle="font-size:70%">®</sup> license key should I use in my application?](https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application).
18
18
19
19
## Claim License key
20
20
21
-
Syncfusion<supstyle="font-size:70%">®</sup> License keys can also be generated from the **"Claim License Key"** page based on the trial or valid license associated with your Syncfusion<supstyle="font-size:70%">®</sup> account.
21
+
License keys can also be generated from the **Claim License Key** page based on the trial or active license associated with the Syncfusion<supstyle="font-size:70%">®</sup> account.
22
22
23
-
You can get the license key, based on license availability in your Syncfusion<supstyle="font-size:70%">®</sup> account.
23
+
The generated key depends on license availability in the associated Syncfusion<supstyle="font-size:70%">®</sup> account.
24
24
25
25
### Active License
26
26
27
-
If you have a Syncfusion<supstyle="font-size:70%">®</sup> account associated with valid license, license key will be generated from claim license key page.
27
+
If the account has a valid license, a license key is generated from the Claim License Key page.
28
28
29
-

29
+

30
30
31
31
### Active Trial
32
32
33
-
If you have a Syncfusion<supstyle="font-size:70%">®</sup> account associated with valid trial license, license key will be generated from claim license key page with expiry date.
33
+
If the account has a valid trial license, a license key is generated with an expiry date.
34
34
35
-

35
+

36
36
37
37
### Expired License
38
38
39
-
If you have a Syncfusion<supstyle="font-size:70%">®</sup> account with an expired license, your license subscription must be renewed in order to obtain a valid license key for the latest Essential Studio<supstyle="font-size:70%">®</sup> version. Meanwhile, a temporary license key with a 5-day validity period will be generated.
39
+
If the account license has expired, renew the subscription to obtain a valid license key for the latest Essential Studio<supstyle="font-size:70%">®</sup> version. A temporary license key with a 5‑day validity period is generated in the meantime.
40
40
41
-

41
+

42
42
43
43
### No Trial or No License or Expired trial
44
44
45
-
If the Syncfusion<supstyle="font-size:70%">®</sup> account is not associated with a trial, license, or expired trial, you can try to claim either a trial or a valid license from claim license page.
45
+
If the account does not have an active trialor license, request a trial or obtain a valid license from the Claim License Key page.
46
46
47
-

47
+

Copy file name to clipboardExpand all lines: blazor/getting-started/license-key/how-to-register-in-a-razor-class-library.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
layout: post
3
-
title: Overview of license key registration in Blazor | Syncfusion
4
-
description: Learn here about how to register Syncfusion blazor license key for syncfusion Blazor application with license validation.
3
+
title: Register a Blazor license key in a Razor Class Library | Syncfusion
4
+
description: Learn how to register a Syncfusion Blazor license key in a Razor Class Library when using NuGet packages or evaluation builds. Explore to more details.
5
5
platform: Blazor
6
-
component: Common
6
+
control: Common
7
7
documentation: ug
8
8
---
9
9
10
-
# Register Syncfusion<supstyle="font-size:70%">®</sup> License Key in a Razor Class Library Application
10
+
# Register a Syncfusion® license key in a Razor Class Library App
11
11
12
-
The generated license key is just a string that might be registered before any Syncfusion<supstyle="font-size:70%">®</sup> control is initiated. The following code is used to register the license.
12
+
Register the Syncfusion<supstyle="font-size:70%">®</sup> license key before any Syncfusion<supstyle="font-size:70%">®</sup> Blazor component is initialized. Place the key in the Razor Class Library (RCL) project so every consuming app inherits the registration.
N> * Place the license key between double quotes. Also, ensure that Syncfusion.Licensing.dll is referenced in your project where the license key is being registered.
23
23
* Syncfusion<supstyle="font-size:70%">®</sup> license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion<supstyle="font-size:70%">®</sup> license key can be deployed on any system that does not have an internet connection.
24
24
25
-
If your Razor Class Library (RCL) project uses Syncfusion<supstyle="font-size:70%">®</sup> Blazor packages from [nuget.org](https://www.nuget.org/packages?q=syncfusion) or the trial installer, you must register your license key. We need to register the license key in RCL project similar to how we do for the Blazor project based on your application type (Server application / Client WebAssembly application).
25
+
If the RCL references SyncfusionBlazor packages from [nuget.org](https://www.nuget.org/packages?q=syncfusion) or from the trail installer, register the license key in the RCL before packaging or referencing it. The registration pattern mirrors the approach used in Blazor Apps (server or WebAssembly).
26
26
27
-
Refer to this [link](https://blazor.syncfusion.com/documentation/getting-started/razor-class-library)for more information on getting started with the Syncfusion<supstyle="font-size:70%">®</sup> Blazor components in the RCL project.
27
+
For setup guidance, see [Getting started](https://blazor.syncfusion.com/documentation/getting-started/razor-class-library) with SyncfusionBlazor in a Razor Class Library.
28
28
29
29
## Blazor Web App
30
30
31
31
Open **~/Program.cs** file and register the Syncfusion<supstyle="font-size:70%">®</sup> Blazor license key in the Blazor web app.
32
32
33
33
{% tabs %}
34
34
35
-
{% highlight C# tabtitle="Blazor Web App" hl_lines="1 2" %}
35
+
{% highlight c# tabtitle="Blazor Web App" hl_lines="1 2" %}
Copy file name to clipboardExpand all lines: blazor/getting-started/license-key/how-to-register-in-an-application.md
+22-20Lines changed: 22 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
---
2
2
layout: post
3
-
title: Getting started with Blazor license key registration | Syncfusion
4
-
description: Learn here about how to register Syncfusion blazor license key for blazor application for license validation.
3
+
title: Register a Syncfusion Blazor license key | Syncfusion
4
+
description: Learn here about how to register a Syncfusion Blazor license key in your application when using NuGet packages or evaluation builds. Explore to more details.
5
5
platform: Blazor
6
-
component: Common
6
+
control: Common
7
7
documentation: ug
8
8
---
9
9
10
-
# Register Syncfusion<supstyle="font-size:70%">®</sup> License key in Blazor Application
10
+
# Register a Syncfusion® license key in a Blazor application
11
11
12
-
Syncfusion<supstyle="font-size:70%">®</sup> license key should be registered, if your project using Syncfusion<supstyle="font-size:70%">®</sup> Blazor packages reference from [nuget.org](https://www.nuget.org/packages?q=syncfusion) or from trial installer. The generated license key is just a string that needs to be registered before any Syncfusion<supstyle="font-size:70%">®</sup> control is initiated. The following code is used to register the license.
12
+
Register the Syncfusion<supstyle="font-size:70%">®</sup> license key before any Syncfusion<supstyle="font-size:70%">®</sup> Blazor component is initialized when referencing packages from [NuGet.org](https://www.nuget.org/packages?q=syncfusion) or using the trail installer. The license key is a string that must be registered at application startup.
N> * Place the license key between double quotes. Also, ensure that Syncfusion.Licensing.dll is referenced in your project where the license key is being registered.
23
-
* Syncfusion<supstyle="font-size:70%">®</sup> license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion<supstyle="font-size:70%">®</sup> license key can be deployed on any system that does not have an internet connection.
23
+
* Syncfusion<supstyle="font-size:70%">®</sup> license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion<supstyle="font-size:70%">®</sup> license key can be deployed on any system that does not have an internet connection.
24
24
25
25
I> Syncfusion<supstyle="font-size:70%">®</sup> license keys can be validated during the Continuous Integration (CI) processes to ensure proper licensing and prevent licensing errors during deployment. Refer to the [CI License Validation](https://blazor.syncfusion.com/documentation/getting-started/license-key/ci-license-validation) section for detailed instructions on how to implement it.
26
26
27
-
| Blazor Mode | Project(s) to Register License Key | File(s) to Register License Key |
Open **~/Program.cs** file in both the server and client projects of a Blazor Web App(Interactive Auto) and register the Syncfusion<supstyle="font-size:70%">®</sup> Blazor license key.
37
39
{% tabs %}
38
40
39
-
{% highlight C# tabtitle="Blazor Web App" hl_lines="1 2" %}
41
+
{% highlight c# tabtitle="Blazor Web App" hl_lines="1 2" %}
@@ -74,9 +76,9 @@ if (!app.Environment.IsDevelopment())
74
76
Open **~/Program.cs** file in both the server and client projects of a Blazor Web App(Interactive WebAssembly) and register the Syncfusion<supstyle="font-size:70%">®</sup> Blazor license key.
75
77
{% tabs %}
76
78
77
-
{% highlight C# tabtitle="Blazor Web App" hl_lines="1 2" %}
79
+
{% highlight c# tabtitle="Blazor Web App" hl_lines="1 2" %}
0 commit comments