Hi,
You can check the document: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions
ObjectExtensionManager.Instance.Modules()
.ConfigureModuleA(moduleA =>
{
moduleA.ConfigureApple(user =>
{
user.AddOrUpdateProperty<Guid>(
"DepartmentId",
property =>
{
property.UI.Lookup.Url = "/api/departments";
property.UI.Lookup.DisplayPropertyName = "name";
}
);
});
});
You need to create some extension methods for Module A, for example:
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/ObjectExtending/IdentityModuleExtensionConfigurationDictionaryExtensions.cs#L8
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.Domain.Shared/Volo/Abp/ObjectExtending/IdentityModuleExtensionConfiguration.cs#L8
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L301
Hi,
It was an ABP.io problem and fixed now, could you try again?
Hi,
Can you share the full error logs?
Hi,
You can refer to this example: https://github.com/abpframework/abp-samples/tree/master/RabbitMqEventBus
Hi,
I can reproduce the problem.we will fix it. Your ticket was refunded.
You can remove Volo.Payment.WeChatPay.Web and Volo.Payment.Alipay.Web projects.
And add @volo/abp.ng.payment to package.json
Config Payment Angular Module
.....
import { PaymentAdminConfigModule } from '@volo/abp.ng.payment/admin/config';
.....
PaymentAdminConfigModule.forRoot(),
{
path: 'payment',
loadChildren: () =>
import('@volo/abp.ng.payment/admin').then(m => m.PaymentAdminModule.forLazy()),
}
I can even reproduce the behavior by creating a blank ABP project with MAUI enabled and trying to run it locally using ngrok. As long as MAUI connects to localhost, it works. But when I change RemoteService > Default > BaseUrl or Oidc > Options > Authority in MAUIs appsettings.json to ngrok URL, the same certification rejecting error occurs.
This is because we ignore the localhost HTTPS certificate security check according to: https://learn.microsoft.com/en-us/dotnet/maui/data-cloud/local-web-services?view=net-maui-8.0#bypass-the-certificate-security-check
You can try update the GetInsecureHandler method:
#if ANDROID
var handler = new HttpClientHandler()
{
UseCookies = false
};
handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) =>
{
if (cert is { Issuer: "CN=localhost" }) // or your productionwebsite.com , you can read it from the appsettings.json
{
return true;
}
return errors == System.Net.Security.SslPolicyErrors.None;
};
return handler;
Hi,
Maybe you can check this: https://github.com/dotnet/aspnetcore/issues/41675 They explain how to view more detailed logs to check the cause of the error
When you debug, the IDE takes time to load assembly symbols
and in the meantime is loading symbols for sqlserver.dll and other .net core runtime DLLs
I think this is related to VS code.
Hi,
It looks like SignalR is working, but the connect is closed abnormally.
You can check those: https://stackoverflow.com/questions/53944572/signalr-core-error-websocket-closed-with-status-code-1006 https://stackoverflow.com/questions/19304157/getting-the-reason-why-websockets-closed-with-close-code-1006