06 2018 档案

摘要:c# 调试模式下Swaggerf附加接口参数,如:每个接口Header中附加参数appId 1、新增过滤器: public class GlobalHttpHeaderFilter : IOperationFilter { public void Apply(Operation operation, 阅读全文
posted @ 2018-06-28 14:45 94cool 阅读(1741) 评论(0) 推荐(0) 编辑
摘要:Visual Studio下运行PowerShell脚本自动更新项目里AssemblyInfo.cs文件的版本(自增小版本号)并发布到Nuget服务器上 附脚本【 update.ps1文件内容】: $path="Properties\AssemblyInfo.cs" $pattern = '\[as 阅读全文
posted @ 2018-06-28 12:32 94cool 阅读(584) 评论(0) 推荐(0) 编辑
摘要:利用Nuget打包添加tools下intsall.ps1【powershell脚本】修改.csproj文件, 以设置1、项目-生成-》输出-》选择【XML文件文件】 2、项目->调试-》启用调试器:取消[启用Visual Studio承载进程] install.ps1脚本如下: 阅读全文
posted @ 2018-06-23 23:18 94cool 阅读(571) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 下载文件 /// </summary> public class DownloadController : ApiController { /// <summary> /// 下载文件 /// </summary> /// <returns></returns> 阅读全文
posted @ 2018-06-20 14:14 94cool 阅读(5604) 评论(0) 推荐(0) 编辑
摘要:// non debug mode from:https://social.msdn.microsoft.com/Forums/vstudio/en-US/221c9385-e2a8-4630-b2f5-f4eabfd62df5/programmatically-detect-whenever-te 阅读全文
posted @ 2018-06-19 15:24 94cool 阅读(158) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示