摘要: 最近做一个项目,在WPF的程序中接收post过来的json数据。 在CS的项目中启动一个http服务,比较简单的一种方式就是用owin做selfhost的webapi。 如何使用OWIN来hostWebAPI,请参考微软官方文档: https://docs.microsoft.com/en-us/a 阅读全文
posted @ 2017-04-18 14:04 imoonstal 阅读(671) 评论(0) 推荐(0) 编辑
摘要: 通过Json.net把xml转换成json的时候,会把xml里的所有属性名前面加个@符号 参考:http://www.newtonsoft.com/json/help/html/ConvertingJSONandXML.htm Attributes are prefixed with an @ an 阅读全文
posted @ 2017-03-10 17:53 imoonstal 阅读(1332) 评论(0) 推荐(0) 编辑
摘要: 今天遇到一个奇怪的问题,直接上图 命名空间crl找不到类型 解决方案 重启vs,然后从新生成一下项目,就好了。 what's the fxxx 阅读全文
posted @ 2016-11-30 17:41 imoonstal 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 本片主要解决“type=file时是可行的,type=image时不知为何总是提示【系统繁忙】”的问题。 钉钉上传素材的API文档写的比较简单,尤其是http头那块完全没写,demo也没有.net的,杯具啊。 看了一位仁兄的帖子,原理写的很清楚,大家可以参考一下。 http://blog.csdn. 阅读全文
posted @ 2016-10-21 12:46 imoonstal 阅读(2669) 评论(1) 推荐(1) 编辑
摘要: win2003 IIS6.0下部署asp.net MVC4 阅读全文
posted @ 2015-03-02 18:12 imoonstal 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 图片转Base64字符串,java和C#互通。 阅读全文
posted @ 2015-02-15 10:33 imoonstal 阅读(1371) 评论(0) 推荐(0) 编辑
摘要: IIS访问文件的权限问题。 阅读全文
posted @ 2015-02-12 09:19 imoonstal 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 获取AccessToken 阅读全文
posted @ 2015-01-27 15:03 imoonstal 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 介绍如何处理微信发来的消息。 阅读全文
posted @ 2015-01-26 17:05 imoonstal 阅读(2819) 评论(0) 推荐(2) 编辑
摘要: 写一个MVC项目,做URL验证。 阅读全文
posted @ 2015-01-25 01:36 imoonstal 阅读(1674) 评论(1) 推荐(1) 编辑