上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 与视频编码格式有关,mp4的视频编码有三种:MPEG4(DivX),MPEG4(Xvid),AVC(H264)。 浏览器播放视频的支持有限,MP4格式的视频只支持h.264的视频; 视频编码: AVC1 - 内置 FFmpeg 解码器(h264) 可以播放; 视频编码: mp4v - 内置 FFmp 阅读全文
posted @ 2016-04-06 18:31 李寒星 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/wolferfeng/p/4101303.html 阅读全文
posted @ 2016-03-31 14:16 李寒星 阅读(127) 评论(0) 推荐(0) 编辑
摘要: MVC5 执行数据库迁移时,会生成一些默认的数据表,但是在实际的工作中。若用到的时候,难免要增添一些字段。 1.AspNetUsers 增加字段 A.打开MVC中的 IdentityModels.cs 文件,具体代码如下: public class ApplicationUser : Identit 阅读全文
posted @ 2016-03-31 13:57 李寒星 阅读(1361) 评论(0) 推荐(0) 编辑
摘要: 1.写 Html5 的 EDM 模板 EDM 源代码示例: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns 阅读全文
posted @ 2016-03-30 18:31 李寒星 阅读(2100) 评论(0) 推荐(0) 编辑
摘要: 这篇博客介绍的很详细 http://www.cnblogs.com/yaozhenfa/p/asp_net_mvc_route_1.html 阅读全文
posted @ 2016-03-30 17:52 李寒星 阅读(162) 评论(0) 推荐(0) 编辑
摘要: SQL 中新建数据库 DataSystem 1.web.config 数据库连接字符串: <add name="APPDataConnection" connectionString="Data Source=.;Initial Catalog=DataSystem;integrated secur 阅读全文
posted @ 2016-03-29 22:19 李寒星 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 20160308 开始,进入低谷期,说不出的烦恼,烦,烦,烦,烦,烦,烦。 阅读全文
posted @ 2016-03-29 21:10 李寒星 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 最近在学习 log4Net 插件,在博客园找到了好多资料,但是实现起来还是有点麻烦。 现在记录下学习的过程,期间可能加载着借鉴和转载的代码。 1.配置文件的设置: 新建config文件夹下 log4net.config文件,代码如下: <?xml version="1.0"?><configurat 阅读全文
posted @ 2016-03-29 15:10 李寒星 阅读(546) 评论(1) 推荐(0) 编辑
摘要: 1.读取配置文件参数 <appSettings> <add key="Log4net" value="1"/> </appSettings> string filePath = System.Configuration.ConfigurationManager.AppSettings["log4ne 阅读全文
posted @ 2016-03-29 11:10 李寒星 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 1.Model 类型 public class SerializerBookModels { [DataMember] public int ID { get; set; } [DataMember] public string Name { get; set; } [DataMember] pub 阅读全文
posted @ 2016-03-29 10:28 李寒星 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 下一页