07 2012 档案

摘要:publicclassStaticCacheTest{privatestaticIDictionary<string,object>_dic;privatestaticobjectlocker=newobject();privatestaticIDictionary<string,object>CachedDic{get{if(_dic==null){lock(locker){if(_dic==null){_dic=newDictionary<string,object>();}}}return_dic;}}publicstaticobjectGetObje 阅读全文
posted @ 2012-07-15 21:12 吴东雷 阅读(7439) 评论(1) 推荐(0) 编辑
摘要:在学习EXTJS的文档是,在测试《The Data Package》中的例子时,文中讲到Model中的hasMany自动生成的是一个Store对象的引用,如hasMany: 'Post',自动生成的是post()方法,实际上指向的Post的Store引用。自动生成的Store在向后台请求数据时的Get参数为:posts/?_dc=1342322365337&limit=25&page=1&start=0&filter=%5B%7B%22property%22%3A%22user_id%22%2C%22value%22%3A1%7D%5D,其中li 阅读全文
posted @ 2012-07-15 11:27 吴东雷 阅读(1905) 评论(0) 推荐(0) 编辑
摘要:/***@exampleImage**AComponentsubclassthataddsavaluetoanimage*/Ext.require('Ext.panel.Panel');Ext.define('Ext.ux.Image',{extend:'Ext.Component',//subclassExt.Componentalias:'widget.managedimage',//thiscomponentwillhaveanxtypeof'managedimage'autoEl:{tag:'img 阅读全文
posted @ 2012-07-14 17:52 吴东雷 阅读(2404) 评论(0) 推荐(0) 编辑
摘要:1、明明已经引用了SharePoint的相关dll,但扔报找不到SPSite等类。其原因是控制台程序在VS2010下默认使用的.Net Framework是4.0,而SharePoint是使用的3.5的框架,所以需要将控制台使用的框架也改成3.5。2、SPSite site = new SPSite("http://win-2n2ujh16hsg/");报“The Web application at could not found. Verify that you have typed the URL correctly. If the URL should be ser 阅读全文
posted @ 2012-07-09 16:05 吴东雷 阅读(282) 评论(0) 推荐(0) 编辑
摘要:http://www.sencha.com/learn/sencha-class-system/The Sencha Class System was first introduced in Ext JS 4.0 and was a major step forward in making it easy to build object oriented JavaScript code. As a core part of the Sencha JavaScript platform, it’s now a shared component between Ext JS and Senc... 阅读全文
posted @ 2012-07-08 13:50 吴东雷 阅读(556) 评论(0) 推荐(0) 编辑
摘要:Sites:在IIS上定义的一个站点,它是整个应用的入口。在Site上可以编辑名称、地址、端口、主机头以及所绑定的协议等(II7不限于Http和Https,还可以是MSMQ等标准协议)。Site必需包含至少一个Application(称为Root Application),且可以包含多个Application和Virtual Directory。Application:它必属于一个Site,且同时属于一个Application Pool。在Application Pool上定义了所使用的.net framework的版本,同时不同的Application之间由于所属的Application P 阅读全文
posted @ 2012-07-05 09:43 吴东雷 阅读(1767) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示