会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mcluzhi
博客园
首页
新随笔
联系
订阅
管理
2023年3月3日
nginx反向代理put delete 405(.net core webapi) 处理方式
摘要: 发布后的web.config文件中新增以下内容: <modules runAllManagedModulesForAllRequests="true"> <remove name="WebDAVModule" /> </modules> 即为: <?xml version="1.0" encodin
阅读全文
posted @ 2023-03-03 16:00 mcluzhi
阅读(330)
评论(0)
推荐(0)
2022年10月31日
windows IIS中 vue的反向代理部署
摘要: 1、下载urlwrite,https://webpihandler.azurewebsites.net/web/handlers/webpi.ashx/getinstaller/urlrewrite2.appids 2、下载ARRCache,https://webpihandler.azureweb
阅读全文
posted @ 2022-10-31 15:02 mcluzhi
阅读(868)
评论(0)
推荐(2)
2018年7月9日
ASP.NET html转图片
摘要: using System.IO; using System.Drawing; using System.Threading; using System.Windows.Forms; public class WebSiteThumbnail { Bitmap m_Bitmap; string m_Url; int m_BrowserWidth, m_BrowserHei...
阅读全文
posted @ 2018-07-09 10:51 mcluzhi
阅读(953)
评论(0)
推荐(0)
ASP.NET 不预览直接下载
摘要: public void downloadfile(string s_fileName) { HttpContext.Current.Response.ContentType = "application/ms-download"; string s_path = HttpContext.Current.Server.MapPath("~/") + s_fi...
阅读全文
posted @ 2018-07-09 10:50 mcluzhi
阅读(230)
评论(0)
推荐(0)
ASP.NET 打包下载文件
摘要: using ICSharpCode.SharpZipLib.Zip; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { // 打包下载某文件夹里的所有文件 //需要打包的文件夹 ...
阅读全文
posted @ 2018-07-09 10:49 mcluzhi
阅读(472)
评论(0)
推荐(0)
公告