I have tried to add the Blazorise token as instructed in the following document: https://abp.io/faq#how-to-get-blazorise-license-key After adding the token to both the Blazor and Blazor.Client projects by setting the options.ProductToken as instructed, the free message footer still appears on the Blazor UI. I have tried clearing all caches inclufing cookies, cleaning the solution, rebuilding the projects, yet the message still keeps appearing at the footer of the UI.
I'm not sure what else I can try.
Provide us with the following info:
🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.
- Template: app
- Template Type: Classic
- Created ABP Studio Version: 3.0.2
- Current ABP Studio Version: 3.0.2
- Tiered: Yes
- Multi-Tenancy: Yes
- UI Framework: blazor-webapp
- Theme: leptonx
- Theme Style: system
- Theme Menu Placement: side
- Database Provider: ef
- Database Management System: postgresql
- Separate Tenant Schema: Yes
- Mobile Framework: maui
- Public Website: No
- Social Login: Yes
- Include Tests: No
- Kubernetes Configuration: No
- Distributed Event Bus: rabbitmq
- Use Local References: No
- Optional Modules:
- GDPR
- FileManagement
- TextTemplateManagement
- LanguageManagement
- AuditLogging
- Chat
- OpenIddictAdmin
- Selected Languages: English, Arabic, Chinese (Simplified), Chinese (Traditional), Czech, English (UK), Finnish, French, German (Germany), Hindi , Hungarian, Icelandic, Italian, Portuguese (Brazil), Romanian (Romania), Russian, Slovak, Spanish, Swedish, Turkish, Polish
- AI Management Enabled: Yes
- Selected AI Providers: OpenAI
- Selected RAG Vector Stores: Pgvector
- Default Language: English
- Create Command: abp new MethodInsight -t app --tiered --ui-framework blazor-webapp --mobile maui --database-provider ef --database-management-system postgresql --theme leptonx --separate-tenant-schema --skip-migration --skip-migrator --no-tests --without-cms-kit --dont-run-install-libs --dont-run-bundling -chat -file-management
14 Answer(s)
-
0
Hi,
The blazor-webapp + tiered template already has placeholders for
ProductTokenin both Module files. Please make sure the token is set exactly in those two places:MethodInsight.Blazorproject →MethodInsightBlazorModule.cs→ConfigureBlazorise():
context.Services .AddBlazorise(options => { options.ProductToken = "your-token-here"; }) .AddBootstrap5Providers() .AddFontAwesomeIcons();MethodInsight.Blazor.Clientproject →MethodInsightBlazorClientModule.cs→ConfigureBlazorise()(same shape).
A few things to share / try so we can pinpoint the issue:
Could you paste the actual
ConfigureBlazorisemethod from both Module files? We want to confirm the change went into the existing template placeholder and not, for example, an extraAddBlazorise(...)call inProgram.csorOnApplicationInitialization.WASM build / cache is the most common cause when the Client side looks unchanged:
- Delete
bin/andobj/in bothMethodInsight.BlazorandMethodInsight.Blazor.Clientprojects. - Re-run, then hard-reload the browser (DevTools → Network → "Disable cache" + Ctrl+Shift+R).
- If a service worker is registered, unregister it from DevTools → Application → Service Workers.
- Delete
Log in at https://blazorise.com/account/user/manage/license with the same email as your abp.io developer account and confirm your active ABP license is listed there. If it isn't shown on the Blazorise side, the token won't be recognized and the free footer stays.
When did you generate the token? The sync between abp.io and Blazorise isn't always instant — if it was generated very recently, give it some time (or regenerate after the sync completes) and try again.
Double-check the token string for stray leading/trailing whitespace or smart quotes from copy-paste.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
here are the ConfigureBlazorise methods from both modules:
private void ConfigureBlazorise(ServiceConfigurationContext context) { context.Services .AddBlazorise(options => { // TODO (IMPORTANT): To use Blazorise, you need a license key. Get your license key directly from Blazorise, follow the instructions at https://abp.io/faq#how-to-get-blazorise-license-key options.ProductToken = "9AE4-rest of the key hidden"; }) .AddBootstrap5Providers() .AddFontAwesomeIcons(); }
private void ConfigureBlazorise(ServiceConfigurationContext context) { context.Services .AddBlazorise(options => { // TODO (IMPORTANT): To use Blazorise, you need a license key. Get your license key directly from Blazorise, follow the instructions at https://abp.io/faq#how-to-get-blazorise-license-key options.ProductToken = "9AE4-rest of the key hidden"; }) .AddBootstrap5Providers() .AddFontAwesomeIcons(); }
I tried all the steps listed.
My key matches the key from blazorise and the email used was the same as the abp email.
More than 24 hours ago.
There is no leading or trailing whitespace.
It still doesn't work, the free version footer is still showing.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
To save you the time of preparing a full demo project, could you instead email us your Blazorise product token directly? We'll plug it into a fresh Blazor Web App + Tiered solution on our side and see if the footer still shows up there. That should quickly tell us whether the issue is with the token itself or with something specific to your project setup.
Please send it to: liming.ma@volosoft.com
If there is any problem, we will contact Blazorise technical support directly.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
I'm still having an issue with this. I'm sure that I'm using the correct product token, have cleared all caches, cleaned the solutions by removing all obj and bin directories and deleted all web browser cookies and other session stored information and cache.
I added some breakpoints in the solution to stop and see if the token is being read, I can see the token being read correctly in the .Blazor project but the breakpoint in the Blazor.Client project is not hitting the ConfigureBlazorise method at all, i'm not sure if this is because the Client is just a library but it should be reading the same token information.
At first it appears to be working and the landing page doesn't show the message in the footer, but then switching to any other page like the Dashboard or administrative pages the footer appears straight away, even switching back to the landing page after this happens shows the footer on the landing page also.
Regards Raff
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
Have you changed the
license keytoProduct Tokenin both the server and wasm projects?Please share your
Product Tokento liming.ma@volosoft.comThanks.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
The symptom you described (landing page clean, dashboard/other pages show the footer, then landing also shows after) means the Server has the token but the WASM doesn't.
You added the token to
appsettings.secrets.jsonin the.Blazorproject. That file only exists on the server file system:- Server prerender of the landing page:
configuration["BlazoriseProductToken"]returns the real token → no footer. - WASM client (when a page goes interactive, or you navigate to Dashboard / admin pages): the same lookup returns
nullbecause the browser cannot read your server's secrets file → Blazorise treats it as unlicensed → footer.
Fix in the
.Blazor.Clientproject — pick one:Option 1: hard-code in the WASM module (simpler)
In
MethodInsight.Blazor.Client/MethodInsightBlazorClientModule.cs:private void ConfigureBlazorise(ServiceConfigurationContext context) { context.Services .AddBlazorise(options => { options.ProductToken = "your-product-token-here"; }) .AddBootstrap5Providers() .AddFontAwesomeIcons(); }Option 2: add to the WASM project's wwwroot appsettings
Create/edit
MethodInsight.Blazor.Client/wwwroot/appsettings.json:{ "BlazoriseProductToken": "your-product-token-here" }Blazor WASM loads this file via HttpClient at startup into
IConfiguration, so your existingconfiguration["BlazoriseProductToken"]lookup will work without code changes.Note: the WASM token has to live in the client-side bundle / static assets either way — Blazorise verifies the license inside the browser. Both options expose the token equally; Option 1 just has less ceremony.
After the change, clean
bin/andobj/in.Blazor.Client, rebuild, hard-reload the browser.Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) - Server prerender of the landing page:
-
0
Hi,
Ahh right, didn't realise wasm doesn't read secrets files, I didn't think it was a good idea to put the token in the appsettings.json in the wwwroot folder so I went with the simpler approach and hard coded it into the module.
Tested it and the annoying message has now gone.
Thanks Raff
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)



