Shawn Weisfeld

I find when I talk to myself nobody listens. - Shawn Weisfeld
posts - 365, comments - 180, trackbacks - 34

My Links


Shawn Weisfeld's Facebook profile

The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.


Post Categories


WCF & Using Statements

I was attending the Dallas Connected Systems UG last night ( and during the presentation I made the bold assertion that one should NOT use the "using statement" when working with WCF. Now I am a HUGE proponent of the using statement in normal circumstances. IMHO if it implements IDisposable use the using statement, except with WCF. This has to do with the way that WCF errors out and when that happens how the connection gets closed. . . Doing my best LeVar Burton "But you don't have to take my word for it" ( Microsoft even says it in...

posted @ Thursday, November 13, 2008 11:29 AM | Feedback (0) | Filed Under [ .NET C# SOA VB.NET WCF ]

Unable to connect to the remote server

When attempting to call a webservice that lives outside my corperate firewall I was getting the following error: System.Net.WebException was unhandled by user code  Message="Unable to connect to the remote server"  Source="System"  StackTrace:       at System.Net.HttpWebRequest.GetRequestStream()       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) After some research I stumbled across this post by Rick Strahl but my problem was a little bit different. In his case he desired to disable to the automatic proxy detection, but I needed to wire in the script that my corperate IT department requires that we use. Easy enough just add the following to the web.config  <>  <defaultProxy>   <proxy scriptLocation ="url to script here" />  </defaultProxy> </> I...

posted @ Monday, December 3, 2007 10:28 PM | Feedback (0) | Filed Under [ ASP.NET C# SOA ]

Fiddler Web Debugging Proxy

Went to an MSDN event by Russ ( a few weeks ago and during his demo he displayed this cool tool called Fiddler (  A must have debugging tool for any Smart Client or Web Developer. Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) 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, including Internet Explorer, Mozilla Firefox, Opera,...

posted @ Tuesday, September 4, 2007 2:00 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# Downloads IE SOA VB.NET ]

.NET 3.0 Released (WCF, WWF, WPF)

The Microsoft .NET Framework 3.0 (formerly WinFX), is the new managed code programming model for Windows. It combines the power of the .NET Framework 2.0 with four new technologies:  Windows Presentation Foundation (WPF), Windows Communication Foundation (WCF), Windows Workflow Foundation (WF), and Windows CardSpace (WCS, formerly “InfoCard”).   Use the .NET Framework 3.0 today to build applications that have visually compelling user experiences, seamless communication across technology boundaries, the ability to support a wide range of business processes, and an easier way to manage your personal information online.  This is the same great WinFX technology you know and love, now with...

posted @ Thursday, November 9, 2006 12:10 PM | Feedback (0) | Filed Under [ .NET ASP.NET C# SOA ]

Powered by: