Activities of "maliming"

hi yasin.hallak.89@gmail.com

Your ticket has been refunded.

Thanks.

hi

The required antiforgery request token was not provided in either form field "__RequestVerificationToken" or header value "RequestVerificationToken".

abp.ajax will set RequestVerificationToken to request header, it value read from cookies(XSRF-TOKEN).

https://github.com/abpframework/abp/blob/dev/npm/packs/jquery/src/abp.jquery.js#L254-L263

Is your api call has set this header?

Thanks.

hi LiSong

The services and repositories are registered to the dependency injection system by convention.

See https://abp.io/docs/latest/framework/fundamentals/dependency-injection#inherently-registered-types https://abp.io/docs/latest/framework/fundamentals/dependency-injection#dependency-interfaces

Thanks.

hi

  1. Does context.TenantId have a value?

  2. The PermissionDataSeeder will insert the records into the AbpPermissionGrant table. Can you check if the insert succeeds?

  3. Is this UI page from a tenant admin user?

Thanks.

hi

Please share the debug logs(.MinimumLevel.Debug()) for the requests.

Thanks.

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

hi

ABP has a widget system, you can check it: https://abp.io/docs/latest/framework/ui/mvc-razor-pages/widgets

I think it is more suitable for your case.

The dashboard widgets.

Thanks.

hi

Can you share your TavTechnologies.Octopus.AdministrationService project source code?

And the nuget package file. TavTechnologies.Octopus.AdministrationService.Contracts.nupkg

I need to confirm if generate-proxy.json is in your nuget package.

liming.ma@volosoft.com

Thanks.

hi

context.Services.AddCors(options = will only execute once.

You can use MyCorsPolicyProvider to dynamic get doamins from database/cache.

// context.Services.AddCors(options =>
// {
//     options.AddDefaultPolicy(builder =>
//     {
//         builder
//             .WithOrigins(
//                 configuration["App:CorsOrigins"]?
//                     .Split(",", StringSplitOptions.RemoveEmptyEntries)
//                     .Select(o => o.Trim().RemovePostFix("/"))
//                     .ToArray() ?? Array.Empty<string>()
//             )
//             .WithAbpExposedHeaders()
//             .SetIsOriginAllowedToAllowWildcardSubdomains()
//             .AllowAnyHeader()
//             .AllowAnyMethod()
//             .AllowCredentials();
//     });
// });

context.Services.RemoveAll(typeof(ICorsPolicyProvider));
context.Services.Add(ServiceDescriptor.Transient<ICorsPolicyProvider, MyCorsPolicyProvider>());
public class MyCorsPolicyProvider : ICorsPolicyProvider
{
    private readonly static Task<CorsPolicy?> NullResult = Task.FromResult<CorsPolicy?>(null);
    private readonly CorsOptions _options;

    public MyCorsPolicyProvider(IOptions<CorsOptions> options)
    {
        _options = options.Value;
    }

    public async Task<CorsPolicy?> GetPolicyAsync(HttpContext context, string? policyName)
    {
        //get domains from database, remember to cache it

        var domains = new List<string> { "https://localhost:44300", "https://localhost:44301" };

        var builder = new CorsPolicyBuilder(Array.Empty<string>());
        builder
            .WithOrigins(
                domains.Select(o => o.Trim().RemovePostFix("/"))
                    .ToArray() ?? Array.Empty<string>()
            )
            .WithAbpExposedHeaders()
            .SetIsOriginAllowedToAllowWildcardSubdomains()
            .AllowAnyHeader()
            .AllowAnyMethod()
            .AllowCredentials();
        var result = builder.Build();

        return result;
    }
}
Answer

hi

Where is the /Themes/LeptonX/Global/side-menu/css/bootstrap-light.css file located?

Can you check if it exists in the wwwroot folder?

Please also share the csproj file context of your https://idp.preprod.eduverse.vision project.

Thanks.

hi

ABP 9 is targeted to net9.0. Is the UsePostgreSqlStorage support net 9 as well?

In fact, this error is not related to abp.

Thanks

Showing 4171 to 4180 of 12930 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.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.