摘要: /// /// 转换成MP4格式 /// /// /// public static string ToMp4(string fromFilePath) { string ffmpeg = HttpContext.Current.Server.MapPath("/") ... 阅读全文
posted @ 2017-11-28 08:52 _York 阅读(426) 评论(0) 推荐(1) 编辑
摘要: private static bool IsVideo(HttpPostedFile file) { bool isVideo = false; string fileName = file.FileName; IList formateList = new List { "... 阅读全文
posted @ 2017-11-28 08:51 _York 阅读(2958) 评论(0) 推荐(0) 编辑
摘要: Ctrl+C 退出.............. 阅读全文
posted @ 2017-11-24 10:18 _York 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-23 15:25 _York 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 简单的说 Node.js 就是运行在服务端的 JavaScript。 Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台。 Node.js是一个事件驱动I/O服务端JavaScript环境,基于Google的V8引擎,V8引擎执行Javascript的速度非常快,性能 阅读全文
posted @ 2017-11-23 14:41 _York 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Web.config 下<system.webServer> 节点下配置 设置允许跨域传递Cookie 前端 请求的时候需设定:withCredentials = true; 设置了widthCredentials为true的请求中会包含远程域的所有cookie 阅读全文
posted @ 2017-11-22 10:41 _York 阅读(2908) 评论(0) 推荐(1) 编辑
摘要: /// /// 加密 /// public static class Encrypting { #region 使用对称加密、解密 private static string GetEncryptKey() { return ConfigurationManager.AppSettin... 阅读全文
posted @ 2017-11-21 13:21 _York 阅读(650) 评论(0) 推荐(1) 编辑
摘要: JavaScript-Errors-Notifier_v2.1.7 下载地址 安装方法: http://chromecj.com/utilities/2014-09/181.html 设置方式: 阅读全文
posted @ 2017-11-21 09:51 _York 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: 使用SharpZipLib插件 插件地址:http://icsharpcode.github.io/SharpZipLib/ 阅读全文
posted @ 2017-11-18 23:12 _York 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1、 在表单需要提交Html的页面头部加入 ValidateRequest="false" 2、webConfig 的 <system.web> 节点下配置 阅读全文
posted @ 2017-11-18 23:09 _York 阅读(1156) 评论(0) 推荐(0) 编辑