10
Comment activer CORS dans ASP.NET Core
J'essaie d'activer le partage de ressources d'origine croisée sur mon API Web ASP.NET Core, mais je suis bloqué. L' EnableCorsattribut accepte le policyNametype stringcomme paramètre: // Summary: // Creates a new instance of the Microsoft.AspNetCore.Cors.Core.EnableCorsAttribute. // // Parameters: // policyName: // The name of the policy to be applied. public …
190
c#
asp.net-core