CorsPolicyBuilder.AllowAnyOrigin Method

Definition

Ensures that the policy allows any origin.

public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ AllowAnyOrigin();
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder AllowAnyOrigin ();
member this.AllowAnyOrigin : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder
Public Function AllowAnyOrigin () As CorsPolicyBuilder

Returns

The current policy builder.

Applies to