2
Comments

Managing Assembly Version by Rob Sondles

Here is an elegant solution that requires a little work upfront when adding a new project but handles the process very easily. The idea is that each project links to a Solution file that only contains the assembly version information. So your build process...
1
Comments

WCF Contract Service Model Fault Exception. Formatter error by Rob Sondles

The Error Recently, I have been working on WCF Services and I have come across some strange issues with WCF Contract formatting issues. In particular, I sometimes see this error message " System.ServiceModel.FaultException `1[System.ServiceModel...
3
Comments

Visual Studio Web Setup Project- Changing the Virtual Directory Name (without Custom Actions) by Rob Sondles

Virtual Directory Default Text You can change the virtual directory default text when creating an MSI from a Visual Studio Web Setup Project without getting your hands dirty with Custom Actions. However, changing the virtual directory default text isn't...
0
Comments

Pull Resource Files (.resx) in Code by Rob Sondles

This code will work for pulling the values from the .resx resource files that developers can use to store string constants. You need to do three important things: 1. After adding you resource file, right-click on the file and go to properties. Set the...
0
Comments

WCF Service fails to create proxy code by Rob Sondles

Why a WCF Service Reference Fails to Create Proxy Code Have you ever added a service reference via Visual Studio 2005+ and when you went to instantiate the service found that your service method doesn't have a [serviceName]Client class in it? You...
8
Comments

Launch nUnit upon debug in Visual Studio by Rob Sondles

This is a quick post providing the simple steps to launch nUnit upon debugging a unit test project (class library). When you debug your test project nUnit will launch and load the tests from the dll name provided. Steps: Right click on your test project...
Filed under: ,
0
Comments

Reading a stream and writing it to a file using C# by Rob Sondles

This is a pretty simple method but can take a few hours to get working properly. Simply put, streams are data that is chunked into smaller pieces and sent over a medium, for this example HTTP. You need to make sure that the ASPNET user or identity the...
0
Comments

Mount a drive in WinXP using Microsoft Freeware (for Free) by Rob Sondles

download the zip file and simply follow the instructions in the Readme.txt file in order to mount a drive using an ISO file without purchasing ISOBuster, Dameon or Alcohol. This is a microsoft created windows app that is freely available but without support...
Filed under: ,
0
Comments

Nov 2008 Launch of my Website www.Family-Christmas.com by Rob Sondles

I have recently launched my new website on November 15th 2007. You can check it out at http://www.family-christmas.com/ . It is a FREE website that helps families and friends organize their gift exchange online. This year, you don't have to pass around...
0
Comments

Launch an OS Associated Application from C# by Rob Sondles

Launching a file in WPF is as easy as off loading the process to the operating system. The System.Diagnostics.Process namespace contains a Start method that notifies the OS to handle the file with the designated application for that mime type. string...
Filed under: , , ,
4
Comments

ClickOnce Deployment Via Command Line with Makecert by Rob Sondles

Basic steps for ClickOnce deployment via a network share (no .deploy files): 1. Create the file structure: trunk3.0\Deployment\1.0.1.25\bin 2. Copy all files from the build folder Debug\bin folder into the newly created trunk3.0\Deployment\1.0.1.25\bin...
5
Comments

Control Encapsilation in WPF - Image in a ListView by Rob Sondles

One really cool aspect of WPF is that controls can be encapsilated inside of other user controls. For example you could have an image inside of a ComboBox. I needed to place images inside of a ListView control. It was pretty easy to implement but very...
Filed under: , ,
1
Comments

Bug in WPF ListView (Single Selection Mode) by Rob Sondles

I have found that there are some strange happenings with the ListView in WPF (as of 8/2007). There seem to be some internal bugs dealing with internal selection properties. I have the ListView selection mode set to single (SelectionMode="Single"...
Filed under: , ,
Powered by Community Server (Non-Commercial Edition), by Telligent Systems