摘要: 发布后的web.config文件中新增以下内容: <modules runAllManagedModulesForAllRequests="true"> <remove name="WebDAVModule" /> </modules> 即为: <?xml version="1.0" encodin 阅读全文
posted @ 2023-03-03 16:00 mcluzhi 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(722) 评论(0) 推荐(2) 编辑
摘要: 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 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(449) 评论(0) 推荐(0) 编辑