Activities of "liangshiwei"

Hi,

sorry, if you don't need to email send, you can use the NullEmailSender

add this to the ConfigureServices.

context.Services.Replace(ServiceDescriptor.Singleton<IEmailSender, NullEmailSender>());

System.TypeLoadException: Could not load type 'Microsoft.IdentityModel.Json.JsonConvert' from assembly 'Microsoft.IdentityModel.Tokens, Version=7.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

See https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/2346

you can reference to Microsoft.IdentityModel.Json.JsonConvert directly

Unfortunately there is no better way

None of the constructors found on type 'CastandCrew.PSL.VendorManagement.VendorController.VendorController' can be invoked with the available services and parameters: Cannot resolve parameter 'CastandCrew.PSL.VendorManagement.Vendor.IVendorManagementAppService vendorManagementAppService' of constructor 'Void .ctor(CastandCrew.PSL.VendorManagement.Vendor.IVendorManagementAppService)'.

it seems like some services are not registered in the IOC.

public class VendorAppService : VendorManagementAppService, IVendorManagementAppService

Please rename IVendorManagementAppService to IVendorAppService

public interface IVendorAppService : IApplicationService
...


public class VendorAppService : VendorManagementAppService, IVendorAppService
...

Hi,

you have to add it to the module level. since modules can be designed to be multi-tenant or not

ABP is trying to send an email to confirm.

you can turn off the confirm email send or configure your email settings.

Hi,

you can try

services.ConfigureApplicationCookie(options =>
{
    options.ExpireTimeSpan = TimeSpan.FromMinutes(10);
    options.SlidingExpiration = true;
});

Hi,

i can not reproduce the problem, could you share the full steps to reproduce?

  • abp new Qa7750 -u angular --old
ObjectExtensionManager.Instance.Modules()
  .ConfigureIdentity(identity =>
  {
      identity.ConfigureUser(user =>
      {
          user.AddOrUpdateProperty<string>(
              "Passcode",
              property =>
              {
                  property.Attributes.Add(new StringLengthAttribute(12) { MinimumLength = 6 });
                  property.DisplayName = new FixedLocalizableString("Passcode");
                  property.Configuration[IdentityModuleExtensionConsts.ConfigurationNames.AllowUserToEdit] = true;
              }
          );                   

      });
  });

Hi,

The answer is yes. You can develop a function like this without a problem.

If you don't want to start from scratch, you can check the Forms module provider by ABP https://abp.io/modules/Volo.Forms

Hi,

Here's how the replacement page works: https://abp.io/community/articles/how-to-customize-the-login-page-for-mvc-razor-page-applications-9a40f3cd

you can download the account pro source code and copy the login page code to your project.

abp get-source Volo.Abp.Account.Pro

copy _ViewImports.cshtml to Pages/Account too

Showing 611 to 620 of 5992 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54