When i open a page with syncfusion components in RBS i see a license message from syncfusion.
This message is shown only in RBS. The license key is implemented correct in startup.
Thank you for providing the project. We reproduced the problems but will need some more time to find the best solution.
The problem appears in pages that use a class which has a parameter of type TrentService. RBS fails to instantiate an instance of such classes in design time.
I will notify you by email when we have a solution for this.
You can solve this by moving the license registration code from OnConfigure to OnConfigureServices.
We are working on that issue still (failed to fetch). . Supporting your project requires a rewrite of a major RBS feature so it would take some time to properly develop and test it. The other issue (about roles) seem to be coming from a trailing comma in the appsettings.json file - we will see if we can somehow support that
We will work on this issue again probably next month. I will ask you for an up-to-date version of your application to test further. I can also send you a work-in-progress build (not fully tested) which you can try.
CLI analyze on the full solution returns OK for all 100+ pages, Success at the end.
dotnet "C:\Program Files\Radzen Blazor Studio\resources\Radzen.Server\Radzen.Server.dll" --analyze
In the IDE designer preview the error is random. First ( or sometimes more then one ) page opens fine, a second page fails, or the reverse, with no
consistent trigger. Restarting RBS helps temporarily.
%APPDATA%\Radzen Blazor Studio\log.txt has no exception at the moment the fetch fails.
Project profile that may be relevant:
Blazor Web App, InteractiveServer, prerender: false
Program.cs registers: AddFido2(), Session middleware, OData endpoints, HttpClient factory with cookie propagation,
role self-seeding on startup
Custom SafeDynamicLinqTypeProvider to skip bad assemblies during Dynamic LINQ scans
Some .razor.cs files are large (around 5800 lines)
A clean .Net 10 App from the template does not reproduce this
@korchev the 2022 thread mentioned the root cause was about RBS failing to instantiate classes at design time when
constructor parameters are involved, and a WIP version was offered at some point. Did that rewrite land in a later
release? If not, is there a current way to tune the fetch timeout or isolate which page triggers the state?
CLI analyze output available if needed.
Kind Regards, Mehmet
Yes, that rewrite has long been released. The Failed to fetch error happens when the server process crashes for some reason (usually due to unhandled exception).
If you find a way to reproduce the problem in a consistent manner feel free to send us the app to info@radzen.com.