最新回應

在localhost上使用fiddler

 

在開發WCF或者xml webservice,而用戶端不是.net; 或者是用.net開發其它語言寫的web service的時候。
fiddler是非常有用的工具用於抓取soap message,並進行分析。
 
但是當你使用fiddler監控對本地service的調用是,經常會看不到任何http包。
 
解決方法很簡單, 使用localhost.而不是localhost.
 
例如http://localhost.:4543/wcfapp  而不是 http://localhost:4543/wcfapp
 
fiddler: http://www.fiddler2.com/fiddler2/
What is Fiddler?
Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect traffic, set breakpoints, and "fiddle" with incoming or outgoing data. Fiddler includes a powerful event-based scripting subsystem, and can be extended using any .NET language.
Fiddler is freeware and can debug traffic from virtually any application that supports a proxy, including Internet Explorer, Google Chrome, Apple Safari, Mozilla Firefox, Opera, and thousands more. You can also debug traffic from popular devices like Windows Phone, iPod/iPad, and others.

人生到處知何似
應似飛鴻踏雪泥


2012/4/27 15:44 | 閱讀數 : 728 我要推薦 | Add Comment | 文章分類 : WCF 訂閱


關連文章

回應

目前沒有回應.
標題 *
名稱 *
Email (將不會被顯示)
Url
回應
登入後使用進階評論
Please add 2 and 5 and type the answer here: