September 2009 - Posts
Over the past couple of years I have written and presented on custom HttpModules . One of my examples is how to spin up a background thread to perform work not related to processing a web request. I thought I would extend the usefulness of this technique
Read More...
Trolling the ASP.NET forums this week I came across a good question, “ setting the background on a master page div at run-time? ”. Even though the person posted he found an acceptable solution before I posted my response, I think the user has a complicated
Read More...
Another common issue developers have using HttpHandlers is indicating what type of content is being sent to the browser. This is done by setting the MIME TYPE in the request header. In ASP.NET, whether you are doing it in an HttpHandler or a Page, you
Read More...
I create a lot of custom HttpHandlers to performa all sorts of tasks. I like them because you get complete control over the content produced by the server to satisfy the request. Occasionally I need to interact with the user's session. The other day
Read More...
I see this question asked over and over in the ASP.NET forums and many times the answer is you have to have an SMTP server on your local machine. The person asking the question is usually under the wrong impression that setting the SMTP server property
Read More...
Yesterday I answered a question on the ASP.NET forums on how to create a ‘frame’ around an image . I answered it with some code from the new Beer House I wrote last fall. In the book I show how to add a drop-shadow around an image using CSS. The code
Read More...