New-KrCorsPolicyBuilder

SYNOPSIS

Creates a new CORS policy builder.

SYNTAX

__AllParameterSets

New-KrCorsPolicyBuilder [<CommonParameters>]

ALIASES

This cmdlet has the following aliases, {{Insert list of aliases}}

DESCRIPTION

This function creates a new CORS policy builder, which can be used to configure CORS (Cross-Origin Resource Sharing) policies in an ASP.NET Core application.

EXAMPLES

EXAMPLE 1

New-KrCorsPolicyBuilder Set-KrCorsMethod -Any Set-KrCorsHeader -Any Add-KrCorsPolicy -Server $server -Name ‘MyCORSPolicy’

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder

{{ Fill in the Description }}

NOTES

{{ Fill in the related links here }}