I have an issue that when loading page include a service, it has this exception:
InvalidOperationException: Cannot provide a value for property 'FileService' on type 'FutureVision.Portal.Client.Pages.FileManager'. There is no registered service of type 'FutureVision.Portal.Client.Services.IFileService'.
As I debug, the first time load the file-manager page, it not run into program.cs, and my service is not registered.
The file manager component needs @rendermode InteractiveWebAssembly to load the ui. How do I register my service at client site with the page using InteractiveWebAssembly?