-
A few months ago I posted about my thoughts on Object Construction (found here ). In the post I talk about constructing object with ALL the required values to make the object valid. This post is just a quick follow up to that. The other day I was refactoring some code and needed to add a new property...
-
I just thought I would share a little trick I used today to back in Async web service calls into existing code using anonymous delegates. Here was my problem: I have a library that makes use of an existing web service that I do not control (so I cannot change/up the timeout on this). I have been using...
-
Recently I was asked about backing in unit tests into an existing project. In particular I was asked A) was possible and B) is it worth it. In short my answers to both these are Yes and Yes. However, backing in unit tests is not without its challenges. I thought today I would go express my experiences...
-
Reginald Braithwaite says he'd love to hear stories about how programmers learned concepts from one language that made them better in another . This pretty neatly coincides with a post I've been meaning to make for months, so I might as well just get on with it and write something (because as...
-
In my last post I think I struck a cord with some people in my post 'Unit tests taking too much time'. My intent was NOT to sound like an elitist Agilist or any else of that nature. My intent was simply to put a post out there about the misperception (in my opinion) about how writing unit tests...
-
I thought I would post a quick 'Getting-Started' guide for MOSS development. This post comes from my experience learning how to develop for MOSS. This post is a quick listing of what is needed to get your environment up and running. As you may or may not already know, MOSS will only run on Windows...
-
In my continued learning on SharePoint and how to manipulate the data stored in SharePoint I thought I would post on how to perform updates on existing data inside a document library. When performing an update on data inside of SharePoint there are a few steps that need to happen to make your journey...
-
Have you ever wanted to or needed to view the actual contents of the GAC? Not just what is in the GAC, but actually grab the assemblies that are there? I know I have. You may be asking WHY did you want to grab an assembly that is in the GAC. 2 reasons: I wanted to move a copy of the assmebly from one...
-
In my last post ( here ) I spoke about different do’s and don’ts when it comes to logging bugs. What I really did not hit on was the different types of questions I feel should be asked when logging bugs. Here are my questions, in no particular order. Platform Application Version # Environment Title Short...
-
All software that is being developed WILL have bugs, sorry, but this IS a fact. Now I know some people and companies don't like to call them glitches in software bugs. They would rather call them issues or defects. For all I care we can call them 'WizBangs', just call them something and LOG...
-
If you have ever worked with XML, you know that XPath is your friend. Today I working with an XML document that was generated via MSWord and the generated document was well formed and included namespaces. Now, I have worked with namespaces in XML in the past, but it has been a LONG time. I thought I...
-
What do you do when you are writing a test for a piece of code that calls out to an ‘out of your control’ service such as a web service or email server? If you are like most of us, you simply allow your test to make the call and ‘hope’ that the service is up. However, this is really bad. Having your...
-
Have ever wanted to use a concrete class as both the the PluginFamily and Plugable (information on StructureMap's attributes here ) type in StructureMap ? I know I have, just today in fact (not the first time, but thought I would post about it this time) I needed to do just this. Why would I want to...
-
For the latest thing I am doing at work I need to be able to grab some data from Sharepoint. I have chosen to do this by consuming SPServices.asmx server that is available. Because I was not able to find a decent post on the net on how to use/consume this service, I thought I would create my own. For...
-
Today, I was working on one of my first ever (actually, it is my 2nd) WCF services. This service was meant to be pretty simple, 1 method with 4 param's. It should not take that long, or will it. To get the service started, I began by writing the library that the service would actually consume, the business...