Browse by Tags

All Tags » DevCenterPost » Visual Studio 2010 » C# (RSS)

Visual Studio 2010 Best Practices published

Most of my spare time in the last few months has been taken up by writing Visual Studio 2010 Best Practices . This has now been published and is available through publisher (no longer pre-order) at http://bit.ly/Px43Pw . The pre-order price is still available...

Developing Windows Services in Visual Studio

Inevitably distributed systems often need a Windows service or two for certain tasks. The creation of a Windows service project and hooking up a project installer to the service is fairly straightforward; so, I’m not going to get into much detail...

Using the dynamic Keyword in C# to Improve Object Orientation – A Follow-up

Based on some feedback, some clarification is warranted with regard to my previous post titled “ Using the dynamic Keyword in C# to Improve Object Orientation ”. As Jarek Kowalski correctly pointed out, the example code that I provided could have used...

Using the dynamic Keyword in C# to Improve Object-Orientation

With polymorphism, object-oriented languages allow "...different data types to be handled using a uniform interface". Ad-hoc polymorphism is when you declare multiple methods of the same name but differ by the type of an argument. For example...

Modify VS 2010 Template to Reference System.Configuration

Almost every project I create in Visual Studio, I invariably have to add System.Configuration to the references for that project.  As soon as I want to do much with app.config, I need to use something in System.Configuration.  Well, rather than...