Geeks With Blogs
Cogito Ergo Code If I don't put it here - I will surely forget!
I really like TDD (Test Driven Design) and like to push messages through the system as soon as possible. I have really enjoyed using Powershell to drive the input of XML files into file receive locations. Here are two of the simplest recipes. Repeatedly dropping the same file This will copy a single file one hundred times, each with a different numeric ......

Unity is a great Dependency Injection/Inversion of Control Framework, but every now and then I forget the format for configuring it inside an app.confg file. Here is a typical example of Unity usage. I have defined a rather simplistic IDataManager interface and created a bunch of different implementations of it. FakeDataManager - this really just throws ......

It is useful to check for a number of conditions when installing an application. These are some of the ones I use all the time. <!-- you have to have admin priviledges to install this service --> <Condition Message="You need to be an administrator to install this product.">Privileged<... <!-- .NET Framework 2.0 must be installed ......

Anytime you go beyond a very simple Installer script, you will need to pass in variables into WIX (e.g. selecting assemblies from the \Release\ or \Debug\ folders, or retitling the MSI for a "Debug" build installer). Your WIX Script (WixVarDemo.wxs) might Include a few variables like this: <File Source='..\Solutions\bin\$(... ......

Copyright © Howard Ricketts | Powered by: GeeksWithBlogs.net