知乎周源微信_每周源代码2

知乎周源微信

知乎周源微信

In my new ongoing quest to read source code to be a better developer, I now present the second in an infinite number of a weekly series called "The Weekly Source Code." Here's some source I'm reading this week that I enjoyed.

在我不断追求阅读源代码以成为更好的开发人员的追求中,我现在以每周系列的无数个方式介绍第二个内容,即“每周源代码”。 这是我本周喜欢的一些资料。

  • DasBlog 2, SubText, BlogEngine.NET, SingleUserBlog - All these blog engines are FULL of good (and bad) source. Each is a treasure trove of patterns, anti-patterns, techniques, libraries, ideas and good fun. I love firing up the source to a new blog engine as the specification is well-known and the solutions are endless.

    DasBlog 2潜台词BlogEngine.NETSingleUserBlog -所有这些博客引擎都充满好(坏)源。 每个都是模式,反模式,技术,库,思想和乐趣的宝库。 我喜欢将源代码发布到新的博客引擎,因为该规范是众所周知的,并且解决方案无穷无尽

  • OpenTheme - A really strange but truly fascinating XML-based GUI toolkit (ala XAML). The article is tiny, but the source is pretty expansive.

    OpenTheme-一个非常奇怪但引人入胜的基于XML的GUI工具包(ala XAML)。 这篇文章很小,但是来源却很广泛。

  • Charles Cook is the reigning king of XML-RPC on .NET with his very clean XML-RPC.NET library. However, Clemens has been causing trouble (the good kind) on the dasBlog team lately, and is currently moving our prototype dasBlog 3.5 forward with WCF for all non-HTML endpoints. He's using this opportunity to create XML-RPC using WCF (Indigo) (download source). If you're familiar with the crazy XML-RPC format and you're looking to learn about how WCF isn't just about SOAP, this is a good sample to start with. (Windows Live Writer uses XML-RPC to talk to most blogs, by the way.)

    查尔斯·库克( Charles Cook )拥有非常干净的XML-RPC.NET库,是.NET上XML-RPC的统治者。 但是,Clemens最近在dasBlog团队中造成了麻烦(很好的一种),并且目前正在将我们的原型dasBlog 3.5与WCF一起推进所有非HTML端点。 他利用这个机会使用WCF(Indigo)创建XML-RPC (下载源)。 如果您熟悉疯狂的XML-RPC格式,并且希望了解WCF不仅与SOAP有关,那么这是一个很好的示例。 (顺便说一句,Windows Live Writer使用XML-RPC与大多数博客进行对话。)

  • While browsing Charles Cook's site, I noticed this post from January about Wesner's Hard Problems, Simple Solutions post. Wesner points to a regular expression engine in 14 lines of Python and suggests this could be ported to C# using iterators and anonymous functions. Charles responds with some really interesting C# code that I'm still getting my small head around. I believe what Charles is asking for is extension methods.

    在浏览Charles Cook的网站时,我注意到1月份的这篇帖子是关于Wesner的《困难问题,简单解决方案》的帖子。 Wesner指出了14行Python中正则表达式引擎,并建议可以使用迭代器和匿名函数将其移植到C#中。 Charles给出了一些非常有趣的C#代码,但我仍然不知所措。 我相信Charles要求的是扩展方法

  • And jagged segue...speaking of using XML-RPC on the server-side, Charles put up a sample earlier this year on how to use System.Net.HttpListener as a basis for an XML-RPC server. Both his and Clemens samples give you the building blocks to start using Windows Live Writer or BlogJet as a content management front end to your (whatever it may be) own content management system; you might also use these samples to add XML-RPC to your own blog engine...and that brings this Weekly Source Code full circle.

    参差不齐的话题……谈到在服务器端使用XML-RPC, Charles在今年早些时候提出了一个有关如何使用System.Net.HttpListener作为XML-RPC服务器基础的示例。 他的样本和Clemens样本都为您提供了构建基础,以开始使用Windows Live Writer或BlogJet作为您自己的内容管理系统的内容管理前端。 您还可以使用这些示例将XML-RPC添加到您自己的博客引擎中,从而使本周源代码全面发展。

Feel free to send me links to cool source that you find hasn't been given a good read.

随时向我发送指向很酷的资源的链接,您发现这些链接没有得到很好的阅读。

翻译自: https://www.hanselman.com/blog/the-weekly-source-code-2

知乎周源微信

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值