In this post I will share a solution that I reached the other day regarding an InvalidOperationException that I was receiving when attempting to consume a SOAP web service with DIME attachments. Hopefully this will save you some time, as I was unable to find a good solution online when I encountered the error. DIME attachments are a Microsoft standard that has recently been deemed obsolete…
A couple days ago I made a blog post about a simple HTTP handler written in ASP.NET. The purpose? To spit out 404 errors for .css file requests on CSS Naked Day. That handler will undoubtedly work great, but it…
UPDATE: I have came up with a better zero-maintenance solution thanks to a comment by Dustin. The one bellow will still work, you just have to maintain the date constant that is defined at the top of the handler.
I kinda like the…
If your ASP.NET application calls a web service (you have a reference in your App_WebReferences folder), you might come across this fairly typical System.Net.WebException. I have seen two different breeds of this exception, and the solutions for each of them are quite similiar. I will start off with the most common of the two.
The underlying connection was closed: A…
I am not sure why you would want to do this, but I have seen the question asked on the ASP.NET forums a couple of times so I figured I would post a solution for it. It is not that difficult to create a "Save As…" button on your web page that, when clicked, will prompt the user with…
I know it has been kinda quiet around here lately, and tonight I finally got some time to post a solution to a legendary web application problem (I also rolled out a few updates to my blog, as you may have already noticed). The issue at-hand probably gets most of its exposure through the use of the ASP.NET framework. On a web form, it is often a requirement to prevent…
FeedBurner is a pretty amazing service. They provide a lovely image for you to display the number of subscribers on your web site. But what if you want to format that data to be uniform with the rest of your web site design? They got that covered, too. There is even a cool service out there that grants you the ability to…
I've been running a fine-toothed comb through the rendered markup of this blog lately in search for anything that could use a good cleaning. While doing that, I noticed that a lot of the images in code had an inline style attribute, setting the border-width to 0px. I couldn't figure out how in the heck this was happening. I ended up at…
