I’ve often thought that NMock is under-documented. The way I’ve started to learn how to use this extremely useful library is through the well-formatted examples that Ian has left around. Practical examples often show you far more than a glossary of terms or a list of available methods. This week Andy and Drew were wanting… Continue reading NMock Out Parameters
Category: devices
NaNT .build file Intellisense
If you want to get some limited Intellisense when you’re editing or creating NaNT .build files then you can try the following: Copy the nant.xsd file from inside your NaNt schema directory. Paste it into your Visual Studio XML Schemas directory (e.g. C:Program FilesMicrosoft Visual Studio 8XmlSchemas Restart Visual Studio When you next load up… Continue reading NaNT .build file Intellisense
The Next Release
Now that the development team at Esendex Towers is growing, so is the pace. Nicholas has just posted the next set of tasks on the board for our next release in a few weeks. As you can probably see, there’s not much cork left in view! Saying that, I’ve just seen the inch-thick pile of… Continue reading The Next Release
TryParseExact and UTC DateTime
I’m in the midst of SIP-land at the moment and looking at the expiry time of requests. After discovering a subtle difference in the parsing of DateTime strings between my development machine and the production servers, we’re now using the DateTime.TryParseExact() method to specify exactly what the service should expect to see. One of the… Continue reading TryParseExact and UTC DateTime
New iPhones ahoy?
The recent news that the 8Gb version of the iPhone was discounted wasn’t a huge shock with rumours of a pending 3G / Business flavoured iPhone in the distance. However, today sees MacRumours reporting that O2 have stopped selling ANY iPhones, 8Gb or 16Gb. Sales might have been lighter than they anticipated, due to the… Continue reading New iPhones ahoy?
SourceSafe: “Only one database connection at a time is supported.”
I’ve been having intermittent problems with Visual Studio 2005 and SourceSafe 2005 occasionally complaining that “Only one database connection at a time is supported” when I load up solutions with multiple projects in them. A Microsoft Knowledge-base article pointed me to the potential problem. Looking in the mssccprj.scc files for both .csproj files loaded in… Continue reading SourceSafe: “Only one database connection at a time is supported.”
Log4View
I just wanted to personally recommend a log view utility I’ve had the luck of finding recently, actually thanks to Ian again. Around October time, Ian contacted the logging.apache.org group asking : “Does anyone know of an application that is capable of loading a log file that has been written to using the RollingFileAppender?” He… Continue reading Log4View
When clothing and gadgets shouldn’t mix
It’s long been said that soon we’ll all have interconnected clothing, maybe even internet-enabled clothing, so that we become able to charge, plug in and head towards becoming bionic? Well Gizmodo has posted details of a jeans and keyboard combination which I have to agree with them, looks wrong in so many ways. Have a… Continue reading When clothing and gadgets shouldn’t mix
New look
As I’m finding myself actually using this blog a lot more than I have done in the past, I decided an updated look was needed. A bit of spring cleaning, so to speak. For any of you using WordPress (and 2.5 represents a nice milestone release, job well done to everyone involved), there’s a great… Continue reading New look
Making a Mockery
Thanks to some example code by Ian I’ve completed my first Mockery. NMock allows you to instantiate mock objects based on interface declarations alone. It’s already saved me a potential chicken and egg scenario where to get an instance of the normal object that’s inputting into the method I was testing I’d have had to… Continue reading Making a Mockery