随笔分类 -  04 .NETWeb

摘要:前言 QQ小程序内容安全-图片检测 https://q.qq.com/wiki/develop/miniprogram/server/open_port/port_safe.html 调用接口的代码 此处仅贴出核心调用的代码,IFormFile对象由Controller中传递,access_toke 阅读全文
posted @ 2022-01-13 00:22 我有我奥妙 阅读(330) 评论(0) 推荐(1) 编辑
摘要:前言 报错原因:From需要是邮件地址的格式。 协议头说明示例状态 From 发起此请求的用户的邮件地址 From: user@itbilu.com 固定 参考: https://blog.csdn.net/m0_37730732/article/details/82263609 https://i 阅读全文
posted @ 2021-12-07 13:48 我有我奥妙 阅读(484) 评论(0) 推荐(1) 编辑
摘要:正常流程 正常的从服务器端下载文件的流程 System.IO.FileInfo file = new System.IO.FileInfo(s_path); HttpContext.Current.Response.ContentType = "application/ms-download"; H 阅读全文
posted @ 2020-04-20 21:38 我有我奥妙 阅读(3143) 评论(0) 推荐(0) 编辑
摘要:使用ASPX页面处理 前台显示 <img src="/UeImg.aspx?path=C:/YxFile/ueditor/upload/image/20200211/6371705083711732189358173.jpg" title="1.jpg" alt="1.jpg"> 后台代码 <%@ 阅读全文
posted @ 2020-04-18 16:53 我有我奥妙 阅读(763) 评论(0) 推荐(0) 编辑
摘要:前言 在使用时需要修改命名空间、需要过滤控制器、需要过滤Action方法。结果生成表的插入语句。 代码 public ActionResult ReloadData() { #region 获取所有的控制器类 System.Text.StringBuilder sbSql = new System. 阅读全文
posted @ 2020-04-18 16:49 我有我奥妙 阅读(396) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示