摘要:
转播功能1、转播的内容只出现在用户首页。2、Feed首页都是用户自己发表的,不显示转播内容。3、不能转播自己的帖子。4、对转播帖子的评论、收藏都是对主贴操作。
阅读全文
posted @ 2011-12-02 08:47
DeepSought
阅读(283)
推荐(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
DeepSought
阅读(386)
推荐(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
DeepSought
阅读(358)
推荐(0)
摘要:
SoLoMo,即社交+本地化+移动。
阅读全文
posted @ 2011-07-22 08:39
DeepSought
阅读(1575)
推荐(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
DeepSought
阅读(1652)
推荐(2)
摘要:
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
DeepSought
阅读(2662)
推荐(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
DeepSought
阅读(463)
推荐(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
DeepSought
阅读(1317)
推荐(0)
posted @ 2011-02-14 15:40
DeepSought
阅读(998)
推荐(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
DeepSought
阅读(422)
推荐(0)
摘要:
通过代码的方式演示几种aop方案在.net中的实现。包括静态代理、.Net Remoting/RealProxy、EntLib\PIAB和Castle\DynamicProxy。
阅读全文
posted @ 2010-12-22 16:32
DeepSought
阅读(19789)
推荐(14)
摘要:
岗位职责:1.参与和业务需求方的需求沟通;2.负责开发、维护CRM系统、呼叫中心辅助系统;3.负责WCF项目的开发维护。能力/素质要求:1、三年左右ASP.NET开发经验;2、一年左右WCF、NHibernate使用经验;薪资面谈 , 最好能较快上岗。有意者,请发简历到:yanping.li@jrj.com.cn。
阅读全文
posted @ 2010-12-08 10:32
DeepSought
阅读(709)
推荐(0)
摘要:
涉及到的知识点1、nhibernate 使用nbibernate作为持久层框架。 使用 castle/NHibernate Facility管理会话。 2、Castle/Windsor client端只依赖于接口,具体实现类的对象创建转移到运行时进行,相应的依赖关系转移到配置文件。3、ASP.net httpHandlers,httpModules 在httpModules中进行权限验证,...
阅读全文
posted @ 2010-12-03 11:11
DeepSought
阅读(436)
推荐(0)
posted @ 2010-12-02 14:40
DeepSought
阅读(321)
推荐(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
DeepSought
阅读(2694)
推荐(0)
摘要:
泥土——鲁藜老是把自己当作珍珠就时时怕被埋没的痛苦把自己当作泥土吧让众人把你踩成一条道路
阅读全文
posted @ 2010-11-01 09:37
DeepSought
阅读(232)
推荐(0)
posted @ 2010-10-22 11:07
DeepSought
阅读(4)
推荐(0)
摘要:
黄牛与PS/2 To USB Converter
阅读全文
posted @ 2010-08-25 08:39
DeepSought
阅读(2679)
推荐(1)
摘要:
先提出两个问题:1、 监管工作谁来做?2、 监管工作如何做?
阅读全文
posted @ 2010-08-18 10:44
DeepSought
阅读(1999)
推荐(2)
摘要:
TDD是将需求可执行化,是为了捕获需求,抽象接口。DBC设计和编码阶段向面向对象程序中加入断言(assertion)
阅读全文
posted @ 2010-07-29 14:22
DeepSought
阅读(237)
推荐(0)
posted @ 2010-07-12 10:49
DeepSought
阅读(66)
推荐(0)
摘要:
提取aspnet_Profile中自定义的用户属性(C#实现)
阅读全文
posted @ 2010-05-21 12:24
DeepSought
阅读(1149)
推荐(2)
摘要:
美 团网的模式是一种跨界,是SNS和电子商务的跨界,也是媒体跟电子商务的跨界。 3月10 日,151人以30元团购了原价70元的万达影城兑换券。 3月18日,3006人以4元团购了原价8元的西米网咖啡玉米300g。 3月19日,100人以258元团购了原价1000元的悠季瑜伽60天排毒瘦身卡。 3月23日,929人以158元团购了原价 700元的方寸齿科豪华洗牙套餐。 4月1日,134...
阅读全文
posted @ 2010-05-13 12:25
DeepSought
阅读(453)
推荐(0)
摘要:
Template Method模式和Strategy模式都可以分离通用的算法和具体的上下文。
Template Method模式通过继承解决,Strategy通过委托解决。
本文通过实例比较TemplateMethod与Strategy。
阅读全文
posted @ 2010-05-10 16:02
DeepSought
阅读(2328)
推荐(2)
摘要:
一是能够做好一个网站的人才;二是能够优化网站流程、改造传统购物方式的人才;三是在互联网时代,能够很好推广产品和服务的人才;四是物流人才。上面是网上的一些说法,个人感觉还是很有道理的。最近一个开发的同事也转到了流程。这块的工作也不太好做。流程的改动往往涉及的部门比较多。也容易触动一些人的神经。 平时也接触一些搞推广和渠道的同事,这块不是很懂。我从一个局外人的视角来看,推广是要扎钱的! 话说国内搞电子...
阅读全文
posted @ 2010-05-06 15:52
DeepSought
阅读(666)
推荐(1)
摘要:
昨天去了派出所,拿到了户口本。5年的集体户口总算有了归宿。
阅读全文
posted @ 2010-04-27 08:29
DeepSought
阅读(276)
推荐(0)
摘要:
Jsonp的用法非常简单,不过需要服务器端和客户端同时支持。服务器端[代码]客户端这里使用JQ,有下面两种调用方法:1、使用getJson[代码]2、使用ajax[代码]
阅读全文
posted @ 2010-04-15 15:07
DeepSought
阅读(3024)
推荐(1)
摘要:
在IIS中部署silverlight应用程序时,出现“无法下载silverlight 应用程序。请查看web服务器设置。”的错误提示。其实网上已经给出了解决办法: 在IIS中,添加MIME类型. MIME类型 .xaml application/xaml+xml .xap application/x-silverlight-app 如仍有问题,请检查IE的配置,放开安...
阅读全文
posted @ 2010-04-15 09:25
DeepSought
阅读(1122)
推荐(1)
摘要:
网站项目,log4net失效了。具体原因不详。最终在需要写日志的页面加上这个就可以了。[assembly: log4net.Config.XmlConfigurator(ConfigFile = "Web.config", Watch = true)][代码]
阅读全文
posted @ 2010-04-08 12:19
DeepSought
阅读(542)
推荐(0)
摘要:
1、HtmlPage_NotEnabled"[HtmlPage_NotEnabled]Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.micr...
阅读全文
posted @ 2010-04-06 10:30
DeepSought
阅读(443)
推荐(0)
摘要:
以前是很少接触英文资料的,最近经理把一大堆的英文视频推给了我。mix10的所有视频。pdc09的几个视频。看了几个视频,收益的地方有两点:一个是了解了视频中介绍的知识点,比如SL4、RIA Services、.net framework4等。一个是增强了一种认识,作为.net开发人员接触第一手外文资源是很有价值的。有些东西被翻译过来再在社区中传播,显然已经是慢了半拍。 其实我的e文也很平常,不过配...
阅读全文
posted @ 2010-03-31 09:11
DeepSought
阅读(362)
推荐(1)
摘要:
本文中的DI指依赖倒置,全文以电子商务系统中DAL(数据访问层)和BLL(业务逻辑层) 的依赖关系谈开。
阅读全文
posted @ 2010-03-30 10:34
DeepSought
阅读(2949)
推荐(3)
摘要:
少年读书,如隙中窥月;中年读书,如庭中望月;老年读书,如台上玩月;皆以阅历之浅深,为所得之浅深耳。能识无字之书,方可出惊人妙句;能会难通之解,方可参最上禅机。古今至文,皆血泪所成。《水浒传》是一部怒书,《西厢记》是一部悟书,《金瓶梅》是一部哀书。文章是案头之山水,山水是地上之文章。读 书最乐,若读史书,则喜少怒多,究之怒处亦乐处也。读经宜冬,其神专也;读史宜夏,其时久也;读诸子宜秋,其致别也;读诸...
阅读全文
posted @ 2010-03-19 08:47
DeepSought
阅读(492)
推荐(0)
摘要:
。。。重点说下在与AJAX联合使用中遇到的问题,考虑到这个东东用的人不多,所以把这个问题放到了首页。JS达人请入内!
阅读全文
posted @ 2010-03-11 14:55
DeepSought
阅读(1462)
推荐(0)
摘要:
#youtube203.203.39.104 www.youtube.com203.203.39.160 gdata.youtube.com203.203.39.99 youtube.com203.203.39.104 upload.youtube.com203.203.39.160 insight.youtube.com203.203.39.99 help.youtube.com#https:/...
阅读全文
posted @ 2010-03-05 10:25
DeepSought
阅读(581)
推荐(0)
摘要:
出于性能考虑,memcached没有提供遍历功能,不过我们可以通过以下两个stats命令得到所有的缓存对象。
阅读全文
posted @ 2010-03-04 10:43
DeepSought
阅读(5178)
推荐(2)
摘要:
前面两篇文章介绍了为memcached增加缓存依赖的设计思路和程序实现。本文对实现进行性能测试。
阅读全文
posted @ 2010-02-23 13:17
DeepSought
阅读(3291)
推荐(1)
摘要:
http://www.followbase.com/http://www.backtype.com
阅读全文
posted @ 2010-02-23 08:47
DeepSought
阅读(426)
推荐(0)
摘要:
上篇中提出了为memcached增加缓存依赖的初步设想,本文是代码实现部分。
阅读全文
posted @ 2010-02-22 12:32
DeepSought
阅读(3065)
推荐(2)
摘要:
为memcached增加缓存依赖的初步设想,欢迎拍砖!
阅读全文
posted @ 2010-02-12 10:08
DeepSought
阅读(3635)
推荐(3)