上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 52 下一页
摘要: 1、vs中,程序包管理器控制台 2、执行,Enable-Migrations 报错: 3、执行,Enable-Migrations -Force 报错: 原因: 4、删除GAC目录下对应的程序集(或者剪切到其他的文件夹里),再次执行,Enable-Migrations -Force,发现可以了。:) 阅读全文
posted @ 2016-05-20 17:10 lishidefengchen 阅读(646) 评论(0) 推荐(0)
摘要: 把项目文件夹下的package文件删除,再重新生成项目,就会自动从nuget上下载了。 阅读全文
posted @ 2016-05-17 13:02 lishidefengchen 阅读(1896) 评论(0) 推荐(0)
摘要: //错误的写法 public void ProcessRequest(HttpContext context) { SPSecurity.RunWithElevatedPrivileges(delegate { // 'SPContext.Current' null reference error using (var site = new SPSi... 阅读全文
posted @ 2016-05-11 10:18 lishidefengchen 阅读(449) 评论(0) 推荐(0)
摘要: [定义] 事件驱动编程是指程序的执行流程取决于事件的编程风格,事件由事件处理程序或者事件回调函数进行处理。当某些重要的事件发生时,就会调用事件回调函数。 [理解] 程序定义了一些函数,它们邦定在了一些特殊事件上(单机,双击等),这些函数在特定的事件发生时才会执行,这种编程的风格就是事件驱动编程风格。 阅读全文
posted @ 2016-05-05 15:55 lishidefengchen 阅读(1504) 评论(0) 推荐(0)
摘要: 心灵鸡汤喝多了也会中毒。所以,还是行动吧,别让自己以后瞧不起现在的自己!近期,打算自学Node.JS,希望能多多写一些博客记录下自己成长的过程。豪言壮语也就不说了,看表现吧。——2016-05-04 阅读全文
posted @ 2016-05-04 14:48 lishidefengchen 阅读(110) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/renzh/archive/2013/03/05/2944309.html#3407239 一、首先设置IIS中的Web.config文件 找到对应的IIS应用程序目录,如:C:\inetpub\wwwroot\wss\VirtualDirec 阅读全文
posted @ 2016-04-29 15:44 lishidefengchen 阅读(159) 评论(0) 推荐(0)
摘要: 上面这种方式,效率比较低。改进后的方式如下: 阅读全文
posted @ 2016-04-26 19:05 lishidefengchen 阅读(973) 评论(0) 推荐(0)
摘要: 情景:SharePoint项目(其他类型的项目道理也一样),数据库是用EF(版本:6.0.0.0)创建的,生产环境已经使用,所以后续修改数据库,只能通过更新来实现。 下面是具体的操作方式: 1、visual studio 打开项目,打开“程序包管理控制台”。 操作方式:视图--其他窗口--程序包管理 阅读全文
posted @ 2016-04-26 17:28 lishidefengchen 阅读(1204) 评论(0) 推荐(0)
摘要: 组合键:ctrl+c,alt+c,Shift+ctrl+c,可以快速的将文件拷贝到对应的部署目录下。 阅读全文
posted @ 2016-04-20 11:16 lishidefengchen 阅读(159) 评论(0) 推荐(0)
摘要: 原文地址:http://www.jquery001.com/jquery-image-preview.html 阅读全文
posted @ 2016-04-20 11:08 lishidefengchen 阅读(163) 评论(0) 推荐(0)
摘要: 一般在客户端设置就是灰色的,解决方法就是,要在服务器上进行设置,就可以了。:) 阅读全文
posted @ 2016-04-19 16:26 lishidefengchen 阅读(182) 评论(0) 推荐(0)
摘要: 1.初次加载-LoadDataFields(IsPostBack=false); 2.保存-LoadDataFields(IsPostBack=true)-ValidateDataFields-SaveDataFields-LoadDataFields(IsPostBack=false); 阅读全文
posted @ 2016-04-18 09:48 lishidefengchen 阅读(139) 评论(0) 推荐(0)
摘要: test.dll20161111和test.dll同目录的时候,会报错!因为这样跟test1.dll(只是重名民)的效果是一样的,都会报错的。 同目录的情况下,应该改成test.dll.ddd。 为了避免这种错误,最好备份应该是拷贝到其他目录下面。 阅读全文
posted @ 2016-04-14 18:21 lishidefengchen 阅读(211) 评论(0) 推荐(0)
摘要: //内容 阅读全文
posted @ 2016-04-13 16:47 lishidefengchen 阅读(579) 评论(0) 推荐(0)
摘要: https://developer.mozilla.org/zh-CN/ 阅读全文
posted @ 2016-04-06 15:59 lishidefengchen 阅读(136) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 52 下一页