You are at the archive for the .net category &rarr


Testing TempData, and Mocking SessionState

Posted March 12th @ 8:07 pm by aaron

About a month and a half ago Ben Scheirman wrote about testing TempData in ASP.NET MVC. It’s good stuff, and aside from changes between Preview 1 and Preview 2, it still works fine. (See Scott Hanselman’s post for some Preview 2-friendly mock helpers using Rhino Mocks.)
While I can easily understand what Ben’s code is doing, […]

S3 Browser for Windows Live Writer

Posted March 10th @ 9:25 pm by aaron

Tim Heuer announced today the release of “S3 Browser”, a plug-in for Windows Live Writer that enables easy inserting of links or images from your S3 storage. See his announcement on his blog, and on the Code Trip’s blog.
Like Tim, I’ve been using S3 to host my images for the blog, and I wholeheartedly agree […]

Refactoring C# with PowerShell

Posted January 4th @ 2:06 pm by aaron

Visual Studio 2005 and 2008 have built-in support for refactoring code, including renaming namespaces, classes, variables, and more. Add-ins like Resharper also have support for refactoring by renaming. These tools work great, and have good integration into the Visual Studio IDE, for example being able to preview each change and exclude false positive matches. I […]

Symbol Store Manager - open source and a beta release

Posted December 30th @ 6:18 pm by aaron

A while ago I "released" the Symbol Server Transaction Manager. It was a binaries-only, quick-and-dirty GUI wrapper utility I wrote on top of the symstore.exe command-line tool, at the prompting of John Robbins. If you’re not familiar with Symbol Servers, symstore.exe, or John Robbins, get up to speed by reading John’s still-relevant 2002 Bugslayer article […]

Loading “collocated” file dependencies at runtime

Posted December 12th @ 12:42 am by aaron

Best quote this year, from an internal email thread this morning:
‘Just Say No’ to collocated file dependencies at run time.
Loading file dependencies (like images, etc.) at runtime in a dynamic way can be tricky without resorting to a global information store like the registry. How do you know where your .NET application is “executing from”? […]

Options:

Size

Colors