Weblog Posts in November 2012
A Small Utility to Delete Files recursively by Date
November 30, 2012 @ 9:13pm

After again searching for a script or tool that can easily delete files recursively down a folder hierarchy with a date filter and coming up with several 'almost there' solutions I sat down and created a small Console app that handles this task. I've posted the resulting project on Github, with both the binary and source code, in case you ever find yourself with the same need.

7 comments
Set-Cookie Headers getting stripped in ASP.NET HttpHandlers
November 29, 2012 @ 5:38pm

Ran into a nasty problem with Cookies not getting sent in HttpHandler code when using Response.AppendHandler() with the Set-Cookie key. It turns out it's a very narrow edge case, but one that can bite in unexpected system level applications.

4 comments
WCF WS-Security and WSE Nonce Authentication
November 24, 2012 @ 5:31am

I ran into a Web Service last week that required WS-Security headers with an embedded nonce value. Unfortunately WCF doesn't support this particular protocol directly. Here's how to create custom credentials and a tokenizer to write out the customized WS-Security header.

13 comments
Windows 8 Live Accounts and the actual Windows Account
November 19, 2012 @ 8:10pm

When you log on with a Windows Live account in Windows 8, what really happens to your credentials? It's not quite obvious, so here are a few thoughts and examples that demonstrate the relationship between Windows and Live accounts.

2 comments
DevConnections Session Slides, Samples and Links
November 13, 2012 @ 5:20am

Finally getting around to posting links to my DevConnections session in Vegas a couple of weeks ago. It was a fun time after a long absence from speaking...

2 comments
HTML5 Input type=date Formatting Issues
November 08, 2012 @ 6:27pm

The new HTML5 Input types make it easier to display special formatted input types like dates and email addresses. Browsers that support them display a nice UI for editing and can validate values. However, support currently is limited and date formatting especially is complex as it involves using an ISO date format that doesn't fall back nicely to non-supporting browsers.

7 comments
Back to Basics: When does a .NET Assembly Dependency get loaded
November 03, 2012 @ 4:39pm

Assembly loading in .NET is often a cause of confusion. So many times I've heard how evil it is to add a reference to some big assembly, if it's just a minor feature. But .NET is really smart in assembly loading and by default uses just in time loading of referenced assemblies. In this post I review when assemblies are loaded with a few simple examples that demonstrate the process.

4 comments


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2014