ASP.NET

How to capture SOAP envelopes when consuming a web service in ASP.NET.

When asking questions about the PayPal SOAP API, many people will post the SOAP envelope that they're sending to the API. Since that is the actual request stream that's sent to the web service, it seems like the best way to verify exactly what you're requesting.

posted @ Sunday, April 06, 2008 1:40 PM | Feedback (15)

Creating a client certificate for QuickBooks Merchant Services

While trying to integrate QuickBooks Merchant Services (QBMS) into an ASP.NET web application, I immediately ran into a stumbling block. QBMS requires the application to pass an SSL client certificate with each service call. ... My server is controlled by my hosting service and I have no access to the IIS configuration or the key store for certificates.

posted @ Saturday, February 23, 2008 11:40 AM | Feedback (0)

Custom Web Events -- Configuration Error: Could not load type ...

I wanted to create a custom web event to log possible database errors in an eCommerce application. ... This all went as planned and everything seemed to work properly. I forced a few database errors and they were logged just as I had expected. Then, I made a simple edit to an unrelated source file in the application and Visual Studio would no longer compile it.

posted @ Wednesday, January 30, 2008 3:02 PM | Feedback (0)

FileUpload in an Ajax UpdatePanel

In an application I'm developing, most pages have grids and forms that I want to wrap in UpdatePanels. To simplify this I decided to place the ContentTemplate of the master page in an UpdatePanel so that all pages would get this functionality by default. This worked fine, until I placed a FileUpload control on one of the pages. It turns out that FileUpload controls don't work with an asynchronous postback.

posted @ Thursday, November 01, 2007 12:14 PM | Feedback (18)