Activities of "maliming"

hi

Update the src/TestModule.Web/Pages/_ViewImports.cshtml

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
@addTagHelper *, TestModule

@addTagHelper *, TestModule.Web
public override void ConfigureServices(ServiceConfigurationContext context)
{
    context.Services.Replace(ServiceDescriptor.Scoped<IPasswordHasher<IdentityUser>, MyPasswordHasher>());
}
using Microsoft.AspNetCore.Identity;
using IdentityUser = Volo.Abp.Identity.IdentityUser;

namespace MyCompanyName.MyProjectName;

public class MyPasswordHasher : IPasswordHasher<IdentityUser>
{
    public string HashPassword(IdentityUser user, string password)
    {
        return password;
    }

    public PasswordVerificationResult VerifyHashedPassword(IdentityUser user, string hashedPassword, string providedPassword)
    {
        return hashedPassword == providedPassword
            ? PasswordVerificationResult.Success
            : PasswordVerificationResult.Failed;
    }
}

hi

HTTP.API uses **JwtBearer ** for authentication by default.

You can set Hangfire and HealthCheckUI in the Identity Server project.

Or add a Cookies as second authentication scheme. Do not set it as the default authentication scheme.

builder.Services.AddAuthentication()
    .AddCookie(options =>
    {
        options.ExpireTimeSpan = TimeSpan.FromMinutes(20);
        options.SlidingExpiration = true;
        options.AccessDeniedPath = "/Forbidden/";
    });

https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-6.0

We provide the source code of the module, you can check it first

please feedback if you have any problems.

hi

  • ABP Framework version: vX.X.X
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no

The document. https://docs.abp.io/en/abp/latest/Audit-Logging

Answer

Hi,

There is no plan to create and maintain a React template, currently, there is only a simple React project template.

https://docs.abp.io/en/abp/latest/Getting-Started-React-Native

hi

What's the HTTP request? you can see it in the browser console.

And check the backend logs.

hi

Please share a template project with me, liming.ma@volosoft.com

string HashPassword(TUser user, string password);

Override this method just return the password

The Identity will use this interface to hash and verify passwords.

hi

You can custom the IPasswordHasher service. this belongs ASP NET Core Identitiy,

https://github.com/dotnet/aspnetcore/blob/main/src/Identity/Extensions.Core/src/IPasswordHasher.cs

Showing 8901 to 8910 of 11539 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.