hi
You have two options. Which one do you prefer? A or B?
A:
The new webapp (blazor wasm) project include two projects:
You need to create a new project for your wasm project. the render mode is InteractiveWebAssembly(prerender: false)
same as abp new BookStore -t app -u blazor
B: The new webapp (server and wasm) project include two projects:
You need to create a new Blazor server app.
In this options, your app have two projects, server and wasm, The render mode is InteractiveAuto
same as abp new BookStore -t app -u blazor-webapp
hi
The error is from Blazor Server
project. It can't successfully send the HTTP request to https://pekkish-apihost.azurewebsites.net/api/abp/application-localization
.
This seems to be an environmental problem. Can you check your app runtime environment?
2024-12-02 09:14:04.397 +00:00 [INF] Sending HTTP request GET https://pekkish-apihost.azurewebsites.net/api/abp/application-localization?*
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The operation was canceled.) See the inner exception for details.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
hi
There is no registered service of type 'Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout.Navigation.MainMenuProvider'.
Can you share a simple project to reproduce?
liming.ma@volosoft.com
Thanks.
hi
ensure that a user cannot be deleted if they have created reports,
You can check the user's reports before deleting a user.
If there are any reports, throw user-friendly/business exceptions.
hi
I don't like that solution though.
The access token and refresh token contain the same sessionid
We will remove the session from the database. So, there may be a concurrency problem. anyway I will check again.
hi
The permission group and permissions get from
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Application/Volo/Abp/PermissionManagement/PermissionAppService.cs#L35-L107
You can debug this app service to see the data.
The more crucial issue here is when I check that permission and save it. It does not save it.
Please create a new question for this.
Thanks.
hi
The install-libs
command restores the package and copy the files from node_modules
to the wwwroot/libs
folder.
the pipeline works.
Please check your website wwwroot/libs
folder.
You can't do this. This is hardcoded in the base class.
Changing it will cause other problems. Because all modules consider it to be nullable
.