摘要: var parser = new JsonConfigurationFileParser();var dict = parser.Parse("json"); using Newtonsoft.Json.Linq;using System;using System.Collections.Gener 阅读全文
posted @ 2017-06-27 16:21 静思长远 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 配置应用方域名. 在webapi中引用cors包,在startup的Configure\ConfigServices中增加启动项配置,在api中增加EnableCors的Attribute属性.即可. 引用方可以正常使用js使用. https://docs.microsoft.com/en-us/a 阅读全文
posted @ 2017-06-27 15:01 静思长远 阅读(3579) 评论(0) 推荐(0) 编辑