会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
吃喝玩乐
博客园
首页
新随笔
联系
管理
订阅
06 2018 档案
c# 调试模式下Swaggerf附加接口参数
摘要:c# 调试模式下Swaggerf附加接口参数,如:每个接口Header中附加参数appId 1、新增过滤器: public class GlobalHttpHeaderFilter : IOperationFilter { public void Apply(Operation operation,
阅读全文
posted @
2018-06-28 14:45
94cool
阅读(1765)
评论(0)
推荐(0)
Visual Studio下运行PowerShell脚本自增小版本号并发布到Nuget服务器上
摘要:Visual Studio下运行PowerShell脚本自动更新项目里AssemblyInfo.cs文件的版本(自增小版本号)并发布到Nuget服务器上 附脚本【 update.ps1文件内容】: $path="Properties\AssemblyInfo.cs" $pattern = '\[as
阅读全文
posted @
2018-06-28 12:32
94cool
阅读(600)
评论(0)
推荐(0)
利用Nuget打包添加tools下intsall.ps1【powershell脚本】修改.csproj文件
摘要:利用Nuget打包添加tools下intsall.ps1【powershell脚本】修改.csproj文件, 以设置1、项目-生成-》输出-》选择【XML文件文件】 2、项目->调试-》启用调试器:取消[启用Visual Studio承载进程] install.ps1脚本如下:
阅读全文
posted @
2018-06-23 23:18
94cool
阅读(590)
评论(0)
推荐(0)
C# asp.net webapi下支持文件下载输出接口
摘要:/// <summary> /// 下载文件 /// </summary> public class DownloadController : ApiController { /// <summary> /// 下载文件 /// </summary> /// <returns></returns>
阅读全文
posted @
2018-06-20 14:14
94cool
阅读(5640)
评论(0)
推荐(0)
programmatically detect whenever test run is in debug mode
摘要:// 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
阅读(168)
评论(0)
推荐(0)
公告