摘要: 1.cvs导出:List转为byte[] 2.前端调用(网页:内存导出) 导出至特定路径 自定义attribute attribute使用:对List<T>中的T设置列名 阅读全文
posted @ 2017-08-07 20:20 PanPan003 阅读(264) 评论(0) 推荐(0)
摘要: 1.使用nuget添加WebApiTestClient的引用 2.xxxxx.WebApi\Areas\HelpPage\Views\Help\Api.cshtml页面末尾添加如下代码: 3.显示结果 此测试永远无法代替单元测试!!!,单元测试不可少 阅读全文
posted @ 2017-08-07 20:01 PanPan003 阅读(270) 评论(0) 推荐(0)
摘要: xxxx.nuspec格式如下 1.修改version 2.添加DLL文件:新添加的引用,or Debug下没有的DLL,or release下没有添加的DLL target为.netFramework的版本 .nuspec文档说明 阅读全文
posted @ 2017-08-07 19:41 PanPan003 阅读(764) 评论(0) 推荐(0)
摘要: web.config中添加连接字符串: 为webapi添加Description,使用注释来填充此字段 对于所有引用的xxxx.base项目设置生成的xml文档,注意release、debug下都需设置,并重新生成 xxxxx.WebApi\Areas\HelpPage\XmlDocumentati 阅读全文
posted @ 2017-08-07 19:14 PanPan003 阅读(1062) 评论(0) 推荐(0)