Browse by Tags

All Tags » .NET (RSS)

Why you need to learn async in .NET

I had an opportunity to teach a quick class yesterday about what’s new in .NET 4.0.  One of the topics was the TPL (Task Parallel Library) and how it can make async programming easier.  I also stressed that this is the direction Microsoft is...
Posted by PSteele | 2 comment(s)
Filed under: , ,

2012 Begins

It has become tradition for the past few years that my first blog post of the new year is to thank Microsoft for being recognized as an MVP .  This year is no different.  Once again, I’m honored to be recognized by Microsoft for my contributions...
Posted by PSteele | 1 comment(s)
Filed under: , , ,

Using WPF Converters to Affect Multiple Properties

I’m working on my first WPF application.  I’ve done a ton of reading on WPF and it’s helped me in my understandings of how WPF works.  So far, I’m really liking the data binding flexibility WPF gives you.  That, along with a very testable...
Posted by PSteele | 2 comment(s)
Filed under: , ,

HOWTO: Change which “.testsettings” file Visual Stuido 2010 uses

I’m blogging this mainly for historical reasons.  I just spent over 30 minutes trying to figure this out.  Well, the first 10 or 15 minutes was getting code coverage enabled in Visual Studio 2010.  There’s plenty of coverage on that topic...
Posted by PSteele | 1 comment(s)

Clarification on Updating DefaultLocation in an MSI

Back in February, I did a blog post on how to change the default location for an Application installed via an MSI.  Thanks to a comment from Joe Marcelino, it wasn’t clear where to find the “DefaultLocation” field to change that.  Here’s a quick...
Posted by PSteele | 1 comment(s)
Filed under:

Automapper: Handling NULL members

A question about null members came up on the Automapper mailing list .  While the problem wasn’t with Automapper , investigating the issue led to an interesting feature in Automapper. Normally, Automapper ignores null members.  After all, what...
Posted by PSteele | 1 comment(s)
Filed under: ,

Changing the Default Install Location of an MSI

A few months ago, I had to tweak an MSI installer.  It was installing into a specific directory (named the same as the application) underneath Program Files.  Since the location of Program Files can change from machine to machine, the MSI has...
Posted by PSteele | 1 comment(s)
Filed under:

Using Lambdas for return values in Rhino.Mocks

In a recent StackOverflow question, someone showed some sample code they’d like to be able to use.  The particular syntax they used isn’t supported by Rhino.Mocks , but it was an interesting idea that I thought could be easily implemented with an...
Posted by PSteele | 1 comment(s)
Filed under: , ,

Xml Serialization and the [Obsolete] Attribute

I learned something new today: Starting with .NET 3.5, the XmlSerializer no longer serializes properties that are marked with the Obsolete attribute .  I can’t say that I really agree with this.  Marking something Obsolete is supposed to be...
Posted by PSteele | 1 comment(s)
Filed under:

Welcome 2011

About this time last year, I wrote a blog post about how January of 2010 was almost over and I hadn’t done a single blog post.  Ugh…  History repeats itself. 2010 in Review If I look back at 2010, it was a great year in terms of technology and...
Posted by PSteele | with no comments
More Posts Next page »