C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\appsettings.Development.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\appsettings.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.exe
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.deps.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.runtimeconfig.json
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\WebApi.pdb
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Azure.Core.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Azure.Identity.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\linq2db.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.JsonPatch.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.AspNetCore.OpenApi.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Bcl.AsyncInterfaces.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.EntityFrameworkCore.SqlServer.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Identity.Client.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Identity.Client.Extensions.Msal.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Abstractions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Logging.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Protocols.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.IdentityModel.Tokens.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.OpenApi.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.SqlServer.Server.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Microsoft.Win32.SystemEvents.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\MySqlConnector.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Newtonsoft.Json.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Newtonsoft.Json.Bson.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Pomelo.EntityFrameworkCore.MySql.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Configuration.ConfigurationManager.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.IdentityModel.Tokens.Jwt.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Memory.Data.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Runtime.Caching.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Security.Permissions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\System.Windows.Extensions.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.EntityFrameworkCore.MySql)\WebApi\bin\Debug\net7.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\Administrator\Desktop\shopDemo(引用Pomelo.Ent
没有合适的资源?快使用搜索试试~ 我知道了~
230208-033shopDemo(抽离跨域(Cors)限制依赖注入和管道中间件之AddCors和UseCors)
共679个文件
dll:270个
cs:135个
cache:49个
需积分: 5 0 下载量 6 浏览量
2023-02-08
15:04:00
上传
评论
收藏 27.57MB RAR 举报
温馨提示
1 说明: Cors(跨域)限制中间件可以解决一些Cors(跨域)异常例如:“' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.”。 Cors(跨域)限制中间件更为重要的作用是: 1、 通过IP域名端口来限制前端项目对后端项目的Cors(跨域)访问。 2、 把物理上分离的前后端项目,在逻辑上统合到同1个域名下(例如:http://localhost:8080), 从而减少异常的产生。 3、 如果前端项目是网站应用程序,且前端项目对后端项目Cors(跨域)访问不进行限制,那么程序中只要定义跨域异常处理管道中间件即可;跨域限制依赖注入和管道中间件之AddCors和UseCors可以不定义在程序中。 4、 如果前端项目是App应用程序,则必须在后端项目中定义Cors(跨域)限制中间件,且IP域名端口必须是:http://127.0.0.1:8080,而不能是:http://loc
资源推荐
资源详情
资源评论
收起资源包目录
230208-033shopDemo(抽离跨域(Cors)限制依赖注入和管道中间件之AddCors和UseCors) (679个子文件)
shopdemo.projects.v5.2 34.74MB
shopdemo.metadata.v5.2 2.18MB
_IsIncrementalBuild 41B
_IsIncrementalBuild 41B
_IsIncrementalBuild 41B
_IsIncrementalBuild 41B
_IsIncrementalBuild 41B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
_IsIncrementalBuild 39B
Core.csproj.BuildWithSkipAnalyzers 0B
WebApi.csproj.BuildWithSkipAnalyzers 0B
Services.csproj.BuildWithSkipAnalyzers 0B
Framework.csproj.BuildWithSkipAnalyzers 0B
Data.csproj.BuildWithSkipAnalyzers 0B
Data.csproj.AssemblyReference.cache 321KB
Core.csproj.AssemblyReference.cache 273KB
WebApi.csproj.AssemblyReference.cache 266KB
WebApi.csproj.AssemblyReference.cache 248KB
Framework.csproj.AssemblyReference.cache 243KB
Services.csproj.AssemblyReference.cache 232KB
Framework.csproj.AssemblyReference.cache 232KB
Services.csproj.AssemblyReference.cache 221KB
Data.csproj.AssemblyReference.cache 213KB
Core.csproj.AssemblyReference.cache 182KB
WebApi.assets.cache 56KB
WebApi.assets.cache 56KB
Framework.assets.cache 54KB
Framework.assets.cache 54KB
Services.assets.cache 48KB
Services.assets.cache 48KB
Data.assets.cache 48KB
Data.assets.cache 48KB
Core.assets.cache 19KB
Core.assets.cache 19KB
project.nuget.cache 13KB
project.nuget.cache 13KB
project.nuget.cache 11KB
project.nuget.cache 11KB
project.nuget.cache 5KB
Core.AssemblyInfoInputs.cache 42B
Core.csproj.CoreCompileInputs.cache 42B
Core.AssemblyInfoInputs.cache 42B
Core.csproj.CoreCompileInputs.cache 42B
WebApi.genruntimeconfig.cache 42B
WebApi.csproj.CoreCompileInputs.cache 42B
WebApi.AssemblyInfoInputs.cache 42B
WebApi.genruntimeconfig.cache 42B
WebApi.csproj.CoreCompileInputs.cache 42B
WebApi.AssemblyInfoInputs.cache 42B
Services.AssemblyInfoInputs.cache 42B
Services.csproj.CoreCompileInputs.cache 42B
Services.AssemblyInfoInputs.cache 42B
Services.csproj.CoreCompileInputs.cache 42B
Framework.AssemblyInfoInputs.cache 42B
Framework.csproj.CoreCompileInputs.cache 42B
Framework.AssemblyInfoInputs.cache 42B
Framework.csproj.CoreCompileInputs.cache 42B
Data.AssemblyInfoInputs.cache 42B
Data.csproj.CoreCompileInputs.cache 42B
Data.AssemblyInfoInputs.cache 42B
Data.csproj.CoreCompileInputs.cache 42B
WebApi.MvcApplicationPartsAssemblyInfo.cache 0B
WebApi.MvcApplicationPartsAssemblyInfo.cache 0B
applicationhost.config 84KB
web.config 550B
WebApi.csproj.CopyComplete 0B
WebApi.csproj.CopyComplete 0B
Services.csproj.CopyComplete 0B
Services.csproj.CopyComplete 0B
Framework.csproj.CopyComplete 0B
Framework.csproj.CopyComplete 0B
Data.csproj.CopyComplete 0B
Data.csproj.CopyComplete 0B
NopFileProvider.cs 44KB
DistributedCacheManager.cs 33KB
INopFileProvider.cs 29KB
MemoryCacheManager.cs 26KB
CommonHelper.cs 22KB
AppDomainTypeFinder.cs 22KB
ServiceCollectionExtensions.cs 21KB
Repository.cs 19KB
RepositoryTestController.cs 15KB
Engine.cs 15KB
RedisCacheManager.cs 13KB
NoJsonDataBaseTestController.cs 13KB
IRepository.cs 11KB
CacheKeyService.cs 10KB
CacheEventConsumer.cs 9KB
SqlServerDataProvider.cs 8KB
SecureRandomNumberGenerator.cs 8KB
IStaticCacheManager.cs 8KB
QueryableExtension.cs 8KB
MySqlDataProvider.cs 7KB
JwtBearerExtensions.cs 7KB
CacheKey.cs 7KB
EFCoreContext.cs 7KB
ExpressionExtension.cs 7KB
共 679 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
zhoujian_911
- 粉丝: 1192
- 资源: 323
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功