11 2008 档案

摘要:个人空间的OpenAPI与facebook非常接近(从需要求上就要做成一样),所以我们在hi中也将会使用类拟于fbml这样的自定义标签(himl)。在对notifications.send接口的开发中需要传入notification参数,这个参数是通知的内容,其实就是一些html和himl标签混合在一起的字符串,其中有一个需求:用户传进一个UserName参数要求我们把它变成这个用户的真... 阅读全文
posted @ 2008-11-25 11:26 chenjunbiao 阅读(356) 评论(0) 推荐(0)
摘要:随着 ASP.NET MVC Beta 及 .net3.5 sp1 的发布,System.Web.Routing组件也正式和大家见面了。这里简单介绍一下如何使用Routing来进行URL路由(URL重写)。 假设我们要访问URL:http://localhost:4541/123456.aspx 但要求实际访问的URL:http://localhost:4541/Product.aspx?id=... 阅读全文
posted @ 2008-11-11 17:34 chenjunbiao 阅读(1516) 评论(1) 推荐(1)
摘要:1、List泛型中并没有实现ICloneable接口,也就是没有实出Clone方法,所以我们在克隆一个List时可以使用GetRange方法来代替它。 Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->List oldList = new Li... 阅读全文
posted @ 2008-11-10 11:02 chenjunbiao 阅读(220) 评论(0) 推荐(0)
摘要:Today we're going to talk about DNA: that thing that makes you who you are, that thing that makes you who you can become, that thing that is coded into your essence and determines what your ca... 阅读全文
posted @ 2008-11-08 18:10 chenjunbiao 阅读(151) 评论(0) 推荐(0)
摘要:这里讲的是服务代理,应用情景如下: A站点有一个JS脚本需要调用B站点的服务接口,但是A站点和B站点不是同一个域名下,这样就关系到跨域访问的了问题了,一种解决方法是通过一个代理去接管所有对B站点服务的调用。 服务器端:AcrossServer.ashx Code highlighting produced by Actipro CodeHighlighter (freeware) http:... 阅读全文
posted @ 2008-11-05 14:20 chenjunbiao 阅读(1223) 评论(0) 推荐(0)