摘要: 1、客服端首次访问时,服务器端创建Session对象,生成SessionID。 2、SessionID会被发送到客户端,保存在浏览器内存中。3、对于IIS, 如果不使用Session,SessionID不发送给客户端,测试如下: 不使用Session: 2012-02-09 12:38:08,049 - INFO - requestfile - Sessionid:xcp5ov55khxply45a0k1ok3v 2012-02-09 12:38:12,386 - INFO - requestfile - Sessionid:nnb1s555jmaajp45o5hlle45 2012-...阅读全文
posted @ 2012-02-09 13:19 青羽 阅读(110) 评论(0) 编辑
摘要: 单点登录_尚学堂CAS讲义阅读全文
posted @ 2011-12-14 10:51 青羽 阅读(29) 评论(0) 编辑
摘要: 转播功能1、转播的内容只出现在用户首页。2、Feed首页都是用户自己发表的,不显示转播内容。3、不能转播自己的帖子。4、对转播帖子的评论、收藏都是对主贴操作。阅读全文
posted @ 2011-12-02 08:47 青羽 阅读(28) 评论(0) 编辑
摘要: Castle BornCastle was born from the Apache Avalon project, in mid 2003, as an attempt to build a very simple inversion of control container. The overall design was the result of more than a year in contact with masters of the Avalon land like Carsten Ziegeler, Leo Sutic, Leo Simons and Berin Loritsc阅读全文
posted @ 2011-09-14 10:03 青羽 阅读(51) 评论(0) 编辑
摘要: declare@tabletable(tvarchar(500))declare@svarchar(500)set@s='你好啊hello123';declare@lenintset@len=len(@s)declare@iint,@jintset@i=1set@j=0while@i<=@lenbeginwhile@j<@lenand@j<(@len-@i+1)beginset@j=@j+1declare@tvarchar(500)set@t=SubString(@s,@i,@j)ifnotexists(selecttop11from@tablewheret=阅读全文
posted @ 2011-08-30 11:32 青羽 阅读(60) 评论(0) 编辑
摘要: SoLoMo,即社交+本地化+移动。阅读全文
posted @ 2011-07-22 08:39 青羽 阅读(846) 评论(0) 编辑
摘要: 如下图:框1、框2和框3总高度固定,框1、框2高度不固定,要求框3的高度自适应。实现方法:注册Border1、Border2的SizeChanged 事件,可以获得Border1、Border2的NewSize。然后可以算出Border3的高度。doubleh1=0,h2=0,allh=708;privatevoidBorder1_SizeChanged(objectsender,SizeChangedEventArgse){Sizenewsize=e.NewSize;h1=newsize.Height;Border3.Height=allh-h1-h2;}privatevoidBorder2阅读全文
posted @ 2011-07-19 16:09 青羽 阅读(324) 评论(0) 编辑
摘要: http://www.idesign.net/idesign/DesktopDefault.aspx?tabindex=5&tabid=11 WCF Downloads TitleCategoryDescriptionLast Updated Thread Affinity Attribute Concurrency ManagementThe solution demonstrates IDesign ThreadAffinityBehaviorAttribute - a custom service behavior attribute that makes all service阅读全文
posted @ 2011-07-06 13:10 青羽 阅读(84) 评论(0) 编辑
摘要: 启动Mongo 1)启动命令mongod -dbpath d:\mongodb\data2)作为windows服务启动D:\mongodb\bin>mongod --logpath d:\mongodb\logs\MongoDB.log --logappend --dbpathd:\mongodb\data --directoryperdb --serviceName MongoDB --installmongo官网http://www.mongodb.org/C#驱动:samus,支持linqhttps://github.com/samus/mongodb-csharpwindows客阅读全文
posted @ 2011-04-19 11:29 青羽 阅读(145) 评论(0)  编辑
摘要: REST 具象状态传输(Representational state transfer,REST)是设计基于命名资源而非消息的松耦合应用程序的一种风格。REST是一种软件架构风格。 REST 原则为所有“事物”定义ID将所有事物链接在一起客户端和服务器之间的交互在请求之间是无状态的。 分层系统:组件无法了解它与之交互的中间层以外的组件。REST中的资源RESTful服务中很重要的一个特性即是同一资源,多种展现(json,xml,html):1、使用http request header: AcceptGET /user/123 HTTP/1.1Accept: application/xml /阅读全文
posted @ 2011-04-08 09:51 青羽 阅读(311) 评论(0) 编辑
摘要: [代码]阅读全文
posted @ 2011-02-14 15:40 青羽 阅读(119) 评论(0) 编辑
摘要: 项目中遇到以下问题:Castle.Facilities.NHibernateIntegration, Version=1.1.0.0 对应 NHibernate版本:2.1.2.4000 目前NHibernate.Linq对应NHibernate版本:2.1.0.4000在web.config中加入 <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="NHibernate" pub阅读全文
posted @ 2011-02-14 14:07 青羽 阅读(76) 评论(0) 编辑
摘要: 通过代码的方式演示几种aop方案在.net中的实现。包括静态代理、.Net Remoting/RealProxy、EntLib\PIAB和Castle\DynamicProxy。阅读全文
posted @ 2010-12-22 16:32 青羽 阅读(2443) 评论(10) 编辑
摘要: 岗位职责:1.参与和业务需求方的需求沟通;2.负责开发、维护CRM系统、呼叫中心辅助系统;3.负责WCF项目的开发维护。能力/素质要求:1、三年左右ASP.NET开发经验;2、一年左右WCF、NHibernate使用经验;薪资面谈 , 最好能较快上岗。有意者,请发简历到:yanping.li@jrj.com.cn。阅读全文
posted @ 2010-12-08 10:32 青羽 阅读(246) 评论(4) 编辑
摘要: 涉及到的知识点1、nhibernate  使用nbibernate作为持久层框架。  使用 castle/NHibernate Facility管理会话。 2、Castle/Windsor  client端只依赖于接口,具体实现类的对象创建转移到运行时进行,相应的依赖关系转移到配置文件。3、ASP.net httpHandlers,httpModules 在httpModules中进行权限验证,...阅读全文
posted @ 2010-12-03 11:11 青羽 阅读(182) 评论(0) 编辑
摘要: [代码]阅读全文
posted @ 2010-12-02 14:40 青羽 阅读(88) 评论(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->selectdistinctobject_name(id)fromsyscommentswhereidin(selectobject_idfromsys.objectswheretype='P')andtextlike'%tablename%'查找那些过程对该表做了更新操作 Code highlighting produced by Actipro CodeHig阅读全文
posted @ 2010-11-16 16:42 青羽 阅读(268) 评论(2) 编辑
摘要: 泥土——鲁藜老是把自己当作珍珠就时时怕被埋没的痛苦把自己当作泥土吧让众人把你踩成一条道路阅读全文
posted @ 2010-11-01 09:37 青羽 阅读(49) 评论(0) 编辑
    该文被密码保护。
posted @ 2010-10-22 11:07 青羽 阅读(3) 评论(0) 编辑
摘要: 黄牛与PS/2 To USB Converter阅读全文
posted @ 2010-08-25 08:39 青羽 阅读(1157) 评论(9) 编辑