﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-&lt;img style="margin:0px auto 10px auto" style="width:94px; height:42px" src="http://images.cnblogs.com/cnblogs_com/artech/158198/o_ArtechLogo.png" alt="Artech" /&gt;-最新评论</title><link>http://www.cnblogs.com/artech/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Mon, 13 Feb 2012 05:14:49 GMT</pubDate><lastBuildDate>Mon, 13 Feb 2012 05:14:49 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:WCF 4.0一个鲜为人知的改变[兼书名征集]</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307538</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Mon, 13 Feb 2012 05:35:34 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307538</guid><description><![CDATA[[quote]张隽永：那三个限流默认阀值具体应该遵循什么规律呢？[/quote]
从应用在三个配置属性上ConfigurationPropertyAttribute特性可以看出，MaxConcurrentCalls、MaxConcurrentInstances 和MaxConcurrentSessions 的默认值为16、116和100，而不是MSDN所说的16、26和10,并且三个值是基于单个处理器而言的！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-13 13:35 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307538#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[ASP.NET MVC]如何定制Numeric属性/字段验证消息</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2349193.html#2307532</link><dc:creator>幸运草</dc:creator><author>幸运草</author><pubDate>Mon, 13 Feb 2012 05:34:35 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2349193.html#2307532</guid><description><![CDATA[板凳<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">幸运草</a> 2012-02-13 13:34 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2349193.html#2307532#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] WebServiceHost有何特别之处？</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2342168.html#2307519</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Mon, 13 Feb 2012 05:23:27 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2342168.html#2307519</guid><description><![CDATA[[quote]Truly：
我的一个客户有这样的需求：通过WebService公开数据表，并可以进行增删改查功能。

输入参数：表名、【字段列表】、操作

输出：xml格式结果。


考虑了很久，也没有想到好的方案(客户端可能为java，所以不能使用DataTable)。


现在打算将所有的表分别产生一个实体类（数据契约），再对应一个服务类（操作契约以公开增删改查方法），

然后由一个svc或者入口，根据输入参数指定的表名调用对应的服务类，

如访问http://localhost/abc.svc/Customer就自动返回Customer表的xml数据，访问http://localhost/abc.sv...[/quote]
没有问题呀，定义一个操作，并将UriTemplate定义成{TableName}，根据TableName获取和返回数据。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-13 13:23 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2342168.html#2307519#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[ASP.NET MVC]如何定制Numeric属性/字段验证消息</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2349193.html#2307515</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Mon, 13 Feb 2012 05:19:59 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2349193.html#2307515</guid><description><![CDATA[源代码下载地址：http://files.cnblogs.com/artech/NumericPropertyValidation.rar<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-13 13:19 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2349193.html#2307515#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 提高性能的一个有效的手段：条件资源获取（Conditional Retrieval）</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307513</link><dc:creator>Tony Zhou</dc:creator><author>Tony Zhou</author><pubDate>Mon, 13 Feb 2012 05:18:43 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307513</guid><description><![CDATA[牛，正好要用到<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Tony Zhou</a> 2012-02-13 13:18 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307513#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:WCF 4.0一个鲜为人知的改变[兼书名征集]</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307436</link><dc:creator>handly</dc:creator><author>handly</author><pubDate>Mon, 13 Feb 2012 03:50:34 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307436</guid><description><![CDATA[或者楼主帖名啊&lt;WCF鲜为人知的秘密&gt;<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">handly</a> 2012-02-13 11:50 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307436#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:WCF 4.0一个鲜为人知的改变[兼书名征集]</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307432</link><dc:creator>handly</dc:creator><author>handly</author><pubDate>Mon, 13 Feb 2012 03:47:39 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307432</guid><description><![CDATA[&lt;WCF之乐学乐用秘籍&gt;<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">handly</a> 2012-02-13 11:47 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307432#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:WCF 4.0一个鲜为人知的改变[兼书名征集]</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307411</link><dc:creator>张隽永</dc:creator><author>张隽永</author><pubDate>Mon, 13 Feb 2012 03:24:52 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307411</guid><description><![CDATA[那三个限流默认阀值具体应该遵循什么规律呢？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">张隽永</a> 2012-02-13 11:24 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2308627.html#2307411#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] WebServiceHost有何特别之处？</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2342168.html#2307393</link><dc:creator>Truly</dc:creator><author>Truly</author><pubDate>Mon, 13 Feb 2012 03:07:38 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2342168.html#2307393</guid><description><![CDATA[我的一个客户有这样的需求：通过WebService公开数据表，并可以进行增删改查功能。

输入参数：表名、【字段列表】、操作

输出：xml格式结果。


考虑了很久，也没有想到好的方案(客户端可能为java，所以不能使用DataTable)。


现在打算将所有的表分别产生一个实体类（数据契约），再对应一个服务类（操作契约以公开增删改查方法），

然后由一个svc或者入口，根据输入参数指定的表名调用对应的服务类，

如访问http://localhost/abc.svc/Customer就自动返回Customer表的xml数据，访问http://localhost/abc.svc/Order就返回Order的数据

这样是否可行（比如用工厂方法），如何进行呢，最好能给出svc的创建服务代码，感激不尽！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Truly</a> 2012-02-13 11:07 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2342168.html#2307393#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 提高性能的一个有效的手段：条件资源获取（Conditional Retrieval）</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307385</link><dc:creator>attion</dc:creator><author>attion</author><pubDate>Mon, 13 Feb 2012 02:58:35 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307385</guid><description><![CDATA[整个WCF 都比较陌生!
学习!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">attion</a> 2012-02-13 10:58 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307385#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 提高性能的一个有效的手段：条件资源获取（Conditional Retrieval）</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307303</link><dc:creator>artwl</dc:creator><author>artwl</author><pubDate>Mon, 13 Feb 2012 01:43:13 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307303</guid><description><![CDATA[顶
对于REST还比较陌生，有些现在还看不太懂，要慢慢消化啊<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">artwl</a> 2012-02-13 09:43 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307303#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 提高性能的一个有效的手段：条件资源获取（Conditional Retrieval）</title><link>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307251</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Mon, 13 Feb 2012 00:58:23 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307251</guid><description><![CDATA[源代码下载地址：http://files.cnblogs.com/artech/ConditionalRetrieval.rar<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-13 08:58 <a href="http://www.cnblogs.com/artech/archive/2012/02/13/2348616.html#2307251#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/11/2344806.html#2306742</link><dc:creator>SoFlash</dc:creator><author>SoFlash</author><pubDate>Sat, 11 Feb 2012 12:08:55 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/11/2344806.html#2306742</guid><description><![CDATA[楼主 一天一篇 辛苦了!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">SoFlash</a> 2012-02-11 20:08 <a href="http://www.cnblogs.com/artech/archive/2012/02/11/2344806.html#2306742#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的WCF之旅（10）：如何在WCF进行Exception Handling</title><link>http://www.cnblogs.com/artech/archive/2012/02/11/784090.html#2306673</link><dc:creator>九月鹰飞</dc:creator><author>九月鹰飞</author><pubDate>Sat, 11 Feb 2012 08:50:10 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/11/784090.html#2306673</guid><description><![CDATA[博主的文章几乎是教材式的，但现在是2012年了，不知道WCF还是开发分布式系统的优先技术，希望博主指点一下方向，谢谢！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">九月鹰飞</a> 2012-02-11 16:50 <a href="http://www.cnblogs.com/artech/archive/2012/02/11/784090.html#2306673#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:通过一个模拟程序让你明白ASP.NET MVC是如何运行的</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2277175.html#2306370</link><dc:creator>pdbnet</dc:creator><author>pdbnet</author><pubDate>Fri, 10 Feb 2012 10:02:26 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2277175.html#2306370</guid><description><![CDATA[输入http://localhost/mvcapp/?controller=Home&amp;action=Index这个地址后显示“Directory Listing Denied      This Virtual Directory does not allow contents to be listed.”请问如何使DEMO正常运行。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">pdbnet</a> 2012-02-10 18:02 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2277175.html#2306370#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306356</link><dc:creator>南京.王清培</dc:creator><author>南京.王清培</author><pubDate>Fri, 10 Feb 2012 09:45:34 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306356</guid><description><![CDATA[辛苦了，蒋大哥。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">南京.王清培</a> 2012-02-10 17:45 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306356#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的WCF之旅（1）：创建一个简单的WCF程序</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/656901.html#2306242</link><dc:creator>fengbeiwang</dc:creator><author>fengbeiwang</author><pubDate>Fri, 10 Feb 2012 07:49:58 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/656901.html#2306242</guid><description><![CDATA[http://127.0.0.1:9999/calculatorservice/metadata
客户端调用老是出现这个错误，是哪里出了问题，求大神解<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">fengbeiwang</a> 2012-02-10 15:49 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/656901.html#2306242#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306208</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Fri, 10 Feb 2012 07:08:24 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306208</guid><description><![CDATA[[quote]jery0125：新书什么时候出啊 等着抢购呢、、、[/quote]
3,4月份！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-10 15:08 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306208#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306187</link><dc:creator>jery0125</dc:creator><author>jery0125</author><pubDate>Fri, 10 Feb 2012 06:40:25 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306187</guid><description><![CDATA[新书什么时候出啊 等着抢购呢、、、<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">jery0125</a> 2012-02-10 14:40 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2306187#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:WCF 4.0一个鲜为人知的改变[兼书名征集]</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2308627.html#2306182</link><dc:creator>jery0125</dc:creator><author>jery0125</author><pubDate>Fri, 10 Feb 2012 06:34:39 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2308627.html#2306182</guid><description><![CDATA[《你不知道的WCF》
《玩转WCF》
《WCF奥秘之旅》<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">jery0125</a> 2012-02-10 14:34 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2308627.html#2306182#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305989</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Fri, 10 Feb 2012 02:51:12 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305989</guid><description><![CDATA[[quote]good man：
项目中怎么把服务端的异常错误信息,返回到客户端呢.
我客户端用的是silverlight[/quote]

[quote]0x0qwe：
@good man
异常都用WebFaultException抛出[/quote]<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-10 10:51 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305989#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305988</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Fri, 10 Feb 2012 02:50:16 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305988</guid><description><![CDATA[[quote]0x0qwe：博主大哥，请问wcf rest设置IsOneWay=true返回了202，怎样让它返回200？设置了WebOperationContext.Current.OutgoingResponse.StatusCode = HttpStatusCode.OK;还是不行。。。。[/quote]
这个貌似没有好的解决方案，
200代表服务端正常处理请求；
202代表服务端接受请求
One-Way意味着服务端接收请求后直接返回，所以只能状态为202。

或者试试看自定义DispatchMessageInspector能否改变回复消息状态,不过可能性不大:)<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-10 10:50 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305988#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305939</link><dc:creator>0x0qwe</dc:creator><author>0x0qwe</author><pubDate>Fri, 10 Feb 2012 02:14:19 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305939</guid><description><![CDATA[@good man
异常都用WebFaultException抛出<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">0x0qwe</a> 2012-02-10 10:14 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305939#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305935</link><dc:creator>good man</dc:creator><author>good man</author><pubDate>Fri, 10 Feb 2012 02:11:26 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305935</guid><description><![CDATA[项目中怎么把服务端的异常错误信息,返回到客户端呢.
我客户端用的是silverlight<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">good man</a> 2012-02-10 10:11 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305935#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305928</link><dc:creator>0x0qwe</dc:creator><author>0x0qwe</author><pubDate>Fri, 10 Feb 2012 02:04:55 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305928</guid><description><![CDATA[博主大哥，请问wcf rest设置IsOneWay=true返回了202，怎样让它返回200？设置了WebOperationContext.Current.OutgoingResponse.StatusCode = HttpStatusCode.OK;还是不行。。。。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">0x0qwe</a> 2012-02-10 10:04 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305928#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305849</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Fri, 10 Feb 2012 01:09:26 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305849</guid><description><![CDATA[[quote]菜鸟老了：沙发啊[/quote]
：）<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-10 09:09 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305849#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305846</link><dc:creator>菜鸟老了</dc:creator><author>菜鸟老了</author><pubDate>Fri, 10 Feb 2012 01:08:12 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305846</guid><description><![CDATA[沙发啊<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">菜鸟老了</a> 2012-02-10 09:08 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305846#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的WCF之旅（1）：创建一个简单的WCF程序</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/656901.html#2305844</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Fri, 10 Feb 2012 01:06:26 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/656901.html#2305844</guid><description><![CDATA[“svc”“web.config”和Debug编译路径怎么可能会有关系呢？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-10 09:06 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/656901.html#2305844#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] 通过ASP.NET Output Caching实现声明式缓存</title><link>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305841</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Fri, 10 Feb 2012 01:02:57 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305841</guid><description><![CDATA[源代码下载地址：http://files.cnblogs.com/artech/output.caching.rar<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-10 09:02 <a href="http://www.cnblogs.com/artech/archive/2012/02/10/2344806.html#2305841#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:我的WCF之旅（1）：创建一个简单的WCF程序</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/656901.html#2305725</link><dc:creator>星空（StarrySky）</dc:creator><author>星空（StarrySky）</author><pubDate>Thu, 09 Feb 2012 13:24:52 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/656901.html#2305725</guid><description><![CDATA[非常好的文章，但是小弟在IIS寄宿时遇到了问题。Can you help me?

小弟，用的是VS2010和IIS7...
1、[img]http://pic002.cnblogs.com/images/2012/288860/2012020921151456.png[/img]
这是项目中文件目录。

2、Debug编译路径设置：[img]http://pic002.cnblogs.com/images/2012/288860/2012020921164870.png[/img]

3、Debug后输出
[img]http://pic002.cnblogs.com/images/2012/288860/2012020921193681.png[/img]

[b]问题一：没有输出“svc”和“web.config”文件，这是为什么？[/b]

4、没关系，手动创建：
[img]http://pic002.cnblogs.com/images/2012/288860/2012020921205974.png[/img]

5、IIS7添加应用程序
[img]http://pic002.cnblogs.com/images/2012/288860/2012020921214835.png[/img]

6、客户端访问出现错误：
响应消息的内容类型 text/html; charset=utf-8 与绑定(application/soap+xml; charset=utf-8)的内容类型不匹配。如果使用自定义编码器，请确保正确实现 IsContentTypeSupported 方法。响应的前 1024 个字节为:“&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt; 
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt; 
&lt;head&gt; 
&lt;title&gt;IIS 7.5 详细错误 - 500.19 - Internal Server Error&lt;/title&gt; 
&lt;style type=&quot;text/css&quot;&gt; 
&lt;!-- 
body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} 
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} 
.config_source code{font-size:.8em;color:#000000;} 
pre{margin:0;font-size:1.4em;word-wrap:break-word;} 
ul,ol{margin:10px 0 10px 40px;} 
ul.first,ol.first{margin-top:5px;} 
fieldset{padding:0 15px 10px 15px;} 
.summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} 
legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; 
 border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; 
 border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;fo”。

请问，这是怎么回事呢？怎么办呢？？？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">星空（StarrySky）</a> 2012-02-09 21:24 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/656901.html#2305725#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] UriTemplate、UriTemplateTable与WebHttpDispatchOperationSelector</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305436</link><dc:creator>韩梦芫</dc:creator><author>韩梦芫</author><pubDate>Thu, 09 Feb 2012 06:50:23 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305436</guid><description><![CDATA[老大 菜鸟路过的表示看不懂<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">韩梦芫</a> 2012-02-09 14:50 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305436#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] UriTemplate、UriTemplateTable与WebHttpDispatchOperationSelector</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305287</link><dc:creator>分析</dc:creator><author>分析</author><pubDate>Thu, 09 Feb 2012 03:58:11 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305287</guid><description><![CDATA[期待！！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">分析</a> 2012-02-09 11:58 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305287#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:WCF的三个名称/命名空间，你是否傻傻分不清楚？</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2247058.html#2305267</link><dc:creator>Virus-BeautyCode</dc:creator><author>Virus-BeautyCode</author><pubDate>Thu, 09 Feb 2012 03:44:13 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2247058.html#2305267</guid><description><![CDATA[活用 
[code=CSharp]
[ServiceContract(Namespace=&quot;http://www.cnblogs.com/Product&quot;,Name=&quot;IProduct&quot;)]
[/code]
还有很多好处的。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Virus-BeautyCode</a> 2012-02-09 11:44 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2247058.html#2305267#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] UriTemplate、UriTemplateTable与WebHttpDispatchOperationSelector</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305205</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Thu, 09 Feb 2012 03:06:58 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305205</guid><description><![CDATA[[quote]饭饭-1：
期待Rest的完整系列！
可否重点讲下Rest安全和权限问题！！！
最好老大能提供一下解决方案！
重点期待这部分啊！！！！
老大的书买了一本看着很不错！
你第二卷怎么不见影子了！？
[/quote]
可以考虑:)
《卷2》正在审核之中...<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-09 11:06 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305205#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] UriTemplate、UriTemplateTable与WebHttpDispatchOperationSelector</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305204</link><dc:creator>分析仪器</dc:creator><author>分析仪器</author><pubDate>Thu, 09 Feb 2012 03:05:37 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305204</guid><description><![CDATA[学习了，谢谢啦<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">分析仪器</a> 2012-02-09 11:05 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305204#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:WCF技术剖析之六：为什么在基于ASP.NET应用寄宿（Hosting）下配置的BaseAddress无效</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/1511916.html#2305143</link><dc:creator>Virus-BeautyCode</dc:creator><author>Virus-BeautyCode</author><pubDate>Thu, 09 Feb 2012 02:22:59 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/1511916.html#2305143</guid><description><![CDATA[我就干脆器用了baseaddress，或者弃用了address，只把其中一个配置为绝对地址。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Virus-BeautyCode</a> 2012-02-09 10:22 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/1511916.html#2305143#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:两个简单的扩展方法：TrimPrefix和TrimSuffix</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/1976285.html#2305131</link><dc:creator>Virus-BeautyCode</dc:creator><author>Virus-BeautyCode</author><pubDate>Thu, 09 Feb 2012 02:15:29 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/1976285.html#2305131</guid><description><![CDATA[我来加上几个


[code=csharp]
 /// &lt;summary&gt;
        /// 获取字符串左侧
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;str&quot;&gt;&lt;/param&gt;
        /// &lt;param name=&quot;len&quot;&gt;&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static string Left(this string str, int len)
        {
            return str.Substring(0, len);
        }
        /// &lt;summary&gt;
        /// 获取字符串右侧
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;str&quot;&gt;&lt;/param&gt;
        /// &lt;param name=&quot;len&quot;&gt;&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static string Right(this string str, int len)
        {
            return str.Substring(str.Length - len);
        }
        /// &lt;summary&gt;
        /// 截掉字符串左侧
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;str&quot;&gt;&lt;/param&gt;
        /// &lt;param name=&quot;len&quot;&gt;&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static string TrimLeft(this string str, int len)
        {
            return str.Substring(len);
        }
        /// &lt;summary&gt;
        /// 截掉字符串右侧
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;str&quot;&gt;&lt;/param&gt;
        /// &lt;param name=&quot;len&quot;&gt;&lt;/param&gt;
        /// &lt;returns&gt;&lt;/returns&gt;
        public static string TrimRight(this string str, int len)
        {
            return str.Substring(0, str.Length - len);
        }
[/code]<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Virus-BeautyCode</a> 2012-02-09 10:15 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/1976285.html#2305131#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] UriTemplate、UriTemplateTable与WebHttpDispatchOperationSelector</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305127</link><dc:creator>饭饭-1</dc:creator><author>饭饭-1</author><pubDate>Thu, 09 Feb 2012 02:13:49 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305127</guid><description><![CDATA[期待Rest的完整系列！
可否重点讲下Rest安全和权限问题！！！
最好老大能提供一下解决方案！
重点期待这部分啊！！！！
老大的书买了一本看着很不错！
你第二卷怎么不见影子了！？
<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">饭饭-1</a> 2012-02-09 10:13 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305127#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] WebServiceHost有何特别之处？</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2342168.html#2305119</link><dc:creator>chliam05</dc:creator><author>chliam05</author><pubDate>Thu, 09 Feb 2012 02:11:51 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2342168.html#2305119</guid><description><![CDATA[谢谢~<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">chliam05</a> 2012-02-09 10:11 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2342168.html#2305119#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:[WCF REST] UriTemplate、UriTemplateTable与WebHttpDispatchOperationSelector</title><link>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305117</link><dc:creator>Artech</dc:creator><author>Artech</author><pubDate>Thu, 09 Feb 2012 02:11:22 GMT</pubDate><guid>http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305117</guid><description><![CDATA[[quote]tyb1222：老大也开始研究REST了。。？[/quote]
一直在研究：）<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/artech/" target="_blank">Artech</a> 2012-02-09 10:11 <a href="http://www.cnblogs.com/artech/archive/2012/02/09/2343481.html#2305117#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
