Activities of "maliming"

hi

Do you have any example that I can follow to implement API bearer token?

There are some examples on Google. It's simple

https://medium.com/@vndpal/how-to-implement-jwt-token-authentication-in-net-core-6-ab7f48470f5c https://www.c-sharpcorner.com/article/jwt-json-web-token-authentication-in-asp-net-core/ https://www.youtube.com/watch?v=mgeuh8k3I4g

You can test this in a new template project, share your project with me if you have any problems.

hi

Can you test this?

protected List<PermissionGrantInfoDto> GetChildPermissions(PermissionGroupDto permissionGroup, PermissionGrantInfoDto permission)
{
    var childPermissions = new List<PermissionGrantInfoDto>();
    GetChildPermissions(childPermissions, permissionGroup.Permissions, permission);
    return childPermissions;
}

protected void GetChildPermissions(List<PermissionGrantInfoDto> allChildPermissions, List<PermissionGrantInfoDto> permissions, PermissionGrantInfoDto permission)
{
    var childPermissions = permissions.Where(x => x.ParentName == permission.Name).ToList();
    if (childPermissions.Count == 0)
    {
        return;
    }

    allChildPermissions.AddRange(childPermissions);

    foreach (var childPermission in childPermissions)
    {
        GetChildPermissions(allChildPermissions, permissions, childPermission);
    }
}

好的

hi

Is this a naming convention for the permissions that Abp enforces? If so, could you link us the documentation that defines this naming convention?

No. But this is a recommended approach.

you can consider changing this logic, I will also check it to see if we can enhance it.

protected List<PermissionGrantInfoDto> GetChildPermissions(PermissionGroupDto permissionGroup, PermissionGrantInfoDto permission)
{
    return permissionGroup.Permissions.Where(x => x.Name.StartsWith(permission.Name)).ToList();
}

App logs:

YourWebHostProject/Logs/logs.txt

Suite logs: C:\Users\usernmae.abp\suite\logs

hi

You can create a class to wrap Queue. : )

hi

We don't know the Golang. Sorry.

Task was cancelled

Please set the log level to Debug and share the request logs. Thanks

liming.ma@volosoft.com

public class Program
{
    public async static Task<int> Main(string[] args)
    {
        Log.Logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .Enrich.FromLogContext()
            .WriteTo.Async(c => c.File("Logs/logs.txt"))
            .WriteTo.Async(c => c.Console())
            .CreateLogger();

hi

try to use CacheName on your cache item class.

using Volo.Abp.Caching;

namespace MyProject
{
    [CacheName("Books")]
    public class BookCacheItem
    {
        public string Name { get; set; }

        public float Price { get; set; }
    }
}

你先分享一下内部服务器错误的日志.

hi

Could you help me to review DruidAIBlazorModule, did I make any wrong?

Please find a way to reproduce in a new project.

I haven't understood your JWT design yet.

Thanks.

Showing 5741 to 5750 of 11546 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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.