摘要: 1. 简单字符串格式化 format = "Hello, how are you doing %s %s!"values = ("David", "Gu")print format % values Result: Hello, how are you doing David Gu! format  阅读全文
posted @ 2012-03-19 17:01 Master HaKu 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 1. Two Ways to create template WCF ServiceThere are a few built-in WCF service templates within Visual Studio 2010; twoof them are Visual Studio WCF Service Library and Visual Studio WCF ServiceApplication. 阅读全文
posted @ 2012-03-19 16:17 Master HaKu 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Conception Overview:It is a better option to host a WCF service within Internet Information Services Server(IIS) because IIS provides a robust, efficient, and secure host for the WCF services.IIS also has better thread and process execution boundaries handling (in additionto many other features) com 阅读全文
posted @ 2012-03-19 13:37 Master HaKu 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1. Hosting the service in a managed applicationWe can create a .NET managed application and host a WCF service inside theapplication. The hosting application can be a command-line application, a WindowsForms application, or a web application. This hosting method gives you full controlover the lifeti 阅读全文
posted @ 2012-03-19 10:00 Master HaKu 阅读(322) 评论(0) 推荐(0) 编辑