Activities of "liangshiwei"

Hi,

The easiest way is to delete the organizational unit menu:

context.Menu.GetAdministration().Items.FirstOrDefault(x => x.Name.Equals(IdentityMenuNames.GroupName))?.TryRemoveMenuItem(IdentityMenuNames.OrganizationUnits);

If you want to disable the API:

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IOrganizationUnitAppService))]
[RemoteService(false)]
public class MyOrganizationUnitAppService : OrganizationUnitAppService, IOrganizationUnitAppService
{
    public MyOrganizationUnitAppService(
        OrganizationUnitManager organizationUnitManager,
        IdentityUserManager userManager,
        IOrganizationUnitRepository organizationUnitRepository,
        IIdentityUserRepository identityUserRepository,
        IIdentityRoleRepository identityRoleRepository) 
        : base(
            organizationUnitManager,
            userManager, 
            organizationUnitRepository,
            identityUserRepository, 
            identityRoleRepository)
    {
    }
}

Hi

I use default and rabbitmq distributed event bus provider, can't reproduce your problem.

Can your provide steps to reproduce? Thanks.

Hi,

Are you using rabbitmq or default distributed event bus provider?

Hi,

You can set RequireHttpsMetadata property value to false;

  • For host application:

  • For angular application:

  • IIS:

Now , works fine.

  • en.json Extend existing languages
```json
    {
      "culture": "en",
      "texts": {
        "TestKey": "This is test value"
      }
    }
```
  • vi.json A new languages files
```json
    {
      "culture": "vi",
      "texts": {
        "TestKey": "Đây là giá trị được thử nghiệm"
      }
    }
```

Set as embedded file:

<ItemGroup>
    <EmbeddedResource Include="Localization\Identity\*.json" />
    <Content Remove="Localization\Identity\*.json" />
 </ItemGroup>

Extend localized resources for modules:

Configure<AbpLocalizationOptions>(options =>
{
    options.Resources
        .Get<IdentityResource>()
        .AddVirtualJson("/Localization/Identity");
});

Add Vietnamese culture:

That's all

ABP framework uses IGuidGenerator internally

https://github.com/abpframework/abp/blob/1a622bc50fbd9b554f61078d5eeafa9def3216e3/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLog.cs#L63

Can you explain it in detail? thanks.

Answer

Hi,@sean.alford

Please send logs to liangshiw@outlook.com. Thanks.

HI,

DBMigrator does not support rollback. You can use ef core command to rollback database. see https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-script.

Answer

Hi,

You need add Volo.Abp.EntityframeworkCore NuGet package to your project.

Showing 5471 to 5480 of 5643 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30