ASP.NET - 8 posts
Posted on June 16th, 2008 at 2:38 PM CST

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…

[ Read More ]

Posted on April 7th, 2008 at 9:59 PM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 878 times CommentsComments (4)
Posted on April 5th, 2008 at 7:14 PM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 2,235 times CommentsComments (2)
Posted on February 16th, 2008 at 12:51 AM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 5,800 times CommentsComments (2)
Posted on February 2nd, 2008 at 4:51 PM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 2,048 times CommentsComments (1)
Posted on February 1st, 2008 at 12:40 AM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 10,207 times CommentsComments (32)
Posted on November 2nd, 2007 at 9:37 AM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 945 times CommentsComments (4)
Posted on October 22nd, 2007 at 9:47 PM CST

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…

[ Read More ]

AnchorPermalink EyeViewed 2,308 times CommentsComments (4)