摘要:
如:在debug模式下方法不做权限检查 #if DEBUG[AllowAnonymous]#endif [Authorize] [HttpGet("GetData")] #if DEBUG [AllowAnonymous] #endif public string GetData() { retur 阅读全文
posted @ 2024-11-25 16:31
流年sugar
阅读(11)
评论(0)
推荐(0)
摘要:
VS中打开调试属性 对话框中,命令参数中输入环境参数“Development”,关闭窗口即可生成launchSettings.json文件 阅读全文
posted @ 2024-11-25 16:27
流年sugar
阅读(88)
评论(0)
推荐(0)