Category: cors

No ‘Access-Control-Allow-Origin’ header is present when resource from Origin is 10 files or more, but fine when 9 or less

Configure Services method public void ConfigureServices(IServiceCollection services) { var corsBuilder = new CorsPolicyBuilder(); corsBuilder.AllowAnyHeader(); corsBuilder.AllowAnyMethod(); corsBuilder.WithOrigins("http://localhost:4200"); services.AddCors(options => { options.AddPolicy("SiteCorsPolicy",

Continue reading