Activités de "zqasim132"

These are my CORS Policy configurations Can you please help me out

context.Services.AddCors(options => { options.AddPolicy(DefaultCorsPolicyName, builder => { builder .WithOrigins( configuration["App:CorsOrigins"] .Split(",", StringSplitOptions.RemoveEmptyEntries) .Select(o => o.Trim().RemovePostFix("/")) .ToArray() ) .WithAbpExposedHeaders() .WithExposedHeaders("Content-Disposition") .SetIsOriginAllowedToAllowWildcardSubdomains() .AllowAnyHeader() .AllowAnyMethod() .AllowCredentials(); }); });

public override void OnApplicationInitialization(ApplicationInitializationContext context) {

        var app = context.GetApplicationBuilder();
        app.UseDevExpressControls();
        app.UseCors(DefaultCorsPolicyName);
} 

this is the response headers information when I try to export on simple Asp.net core application with Angular and having the same origin. Is is some thing related to CORS Policy or something

Can you share the log o from server?

Affichage de 1 à 3 sur 3 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11