George V. Reilly's Technical BLog

Browse by Tags

All Tags » .NET (RSS)
Sorry, but there are no more tags available to filter with.
Building a REST Web Service, day 1
My first project at Cozi is to build a simple REST -style Web Service. Nobody here has done that before. The first thing that I'm trying to get going is a simple URL rewriter , using an ASP.NET HttpModule. I'm running Vista as my development desktop for...
Posted: Aug 14 2007, 07:58 PM by george_v_reilly | with 2 comment(s)
Filed under:
Serializing a NameValueCollection
I had a NameValueCollection embedded inside a larger object. I needed to serialize the larger object into XML and back. Unfortunately, NameValueCollection is not XML serializable. Why I do not know. A blog comment from Tim Erwin got me started in the...
Posted: Jul 19 2007, 11:31 PM by george_v_reilly | with 3 comment(s)
Filed under:
NUnit calling CppUnit
Over the last few days, I've been adapting an existing native C++ library so that it can be called from managed code. I had written a large number of unit tests with CppUnit and I wanted to be able to call the tests from NUnit . I suppose that I could...
Posted: Mar 21 2007, 12:12 PM by george_v_reilly | with 1 comment(s)
Filed under:
NVelocity: loading templates from embedded resources
In last week's tip on using the NVelocity template formatting engine, I described what to set to load a template from an absolute path . Here's the magic necessary to get NVelocity to load a template from an embedded resource: VelocityEngine engine =...
Posted: Mar 14 2007, 10:50 AM by george_v_reilly | with no comments
Filed under:
NVelocity templates and absolute paths
We've started using the NVelocity template formatting engine. We were absolutely stymied for an hour, trying to figure out how to get it working with an absolute path to the template file, instead of the relative path shown in the documentation . The...
Posted: Mar 06 2007, 05:09 PM by george_v_reilly | with 2 comment(s)
Filed under:
Never Sleep(0) in an Infinite Loop
I ran into a problem installing some COM+ components today. The installer was using Regsvcs.exe to register each COM+ component. I noticed after a while that the installer wasn't making any progress and that my dual-proc system was stuck at 50% CPU...
Posted: Sep 13 2006, 11:53 PM by george_v_reilly | with no comments
Filed under:
Upgrade your installation of NAnt
My colleague, Greg, and I spent all day debugging a build break in some unit tests that exercise a webservice interface in legacy .NET 1.1 code. Last night, the tests stopped working on our CruiseControl.NET build server. We couldn't understand it. The...
Posted: Sep 01 2006, 08:17 PM by george_v_reilly | with no comments
Filed under:
Using Log4Net from a COM+ Application
I spent far too much time on Friday trying to make log4net work in a COM+ application. Someone else had done part of the work necessary, by creating an application.config for the COM+ application and setting a custom Application Root Directory. This was...
Posted: Aug 28 2006, 06:07 PM by george_v_reilly | with 1 comment(s)
Filed under:
ViEmu: a vi and Vim emulator for Visual Studio
/+1,/ /-1 y* --> Vim vs. Visual Studio I've been an obsessive vi user for more than 20 years. Vi keystrokes are indelibly burned into my muscle memory . When I have to use Notepad or Word or Visual Studio, I feel crippled. I have to work harder to do...
Posted: Apr 08 2006, 08:47 PM by george_v_reilly | with 7 comment(s)
Filed under:
More Posts