CloudYxt.Injection 1.0.0

云享通.Net Core注入接口扩展库,如:跨域处理等

Install-Package CloudYxt.Injection -Version 1.0.0
dotnet add package CloudYxt.Injection --version 1.0.0
<PackageReference Include="CloudYxt.Injection" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CloudYxt.Injection --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CloudYxt.Injection, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CloudYxt.Injection as a Cake Addin
#addin nuget:?package=CloudYxt.Injection&version=1.0.0

// Install CloudYxt.Injection as a Cake Tool
#tool nuget:?package=CloudYxt.Injection&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

云享通.Net Core注入接口扩展库,如:跨域处理等

1.0.0
增加通配符跨域处理

services.Add(ServiceDescriptor.Transient<ICorsService, WildcardCorsService>());
           services.Configure<CorsOptions>(options => options.AddPolicy(
               "AllowDomain",
               builder => builder.WithOrigins("*")));

app.UseCors("AllowDomain");

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 85 3/4/2021