摘要: public void ConfigureServices(IServiceCollection services) { services.AddMvc(); #region Swagger services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new I 阅读全文
posted @ 2019-01-30 21:04 Ken-Cai 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 微软官方文档 https://docs.microsoft.com/zh-cn/aspnet/core/security/cors?view=aspnetcore-2.2 阅读全文
posted @ 2019-01-30 13:27 Ken-Cai 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Entity层 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel.DataAnnotations; 4 using System.Runtime.Serialization; 5 usi 阅读全文
posted @ 2019-01-30 12:32 Ken-Cai 阅读(243) 评论(0) 推荐(0) 编辑