c#

C# Unit Testing: Incrementally Improve Testability

Consider a seasoned brownfield (legacy or seasoned project; not new development) project with little to no unit tests. How and where do you start unit testing?  Should you stop all forward development and refactor the entire solution at once to be testable?  Probably not. Most brown field projects were not developed with testing in mind …

C# Unit Testing: Incrementally Improve TestabilityRead More »

Mango Quick Tips: Background Agents Debugging

Weird Error In attempting to add and test background agents for one of my applications I came across the following error: BNS Error: The action’s start time has passed when trying to create/update the request The error raised immediately after calling the ScheduledActionService.LaunchForTest method while debugging.  I’m not sure what that means but the error …

Mango Quick Tips: Background Agents DebuggingRead More »

WP7 – Sharing data between pages with MVVM

Since the start of my WP7 app, I have leveraged IOC (specifically Ninject) to fill dependencies on my ViewModels following the MVVM Light samples.  To briefly summarize, I have an app level resource called Locator which provides properties for each of my ViewModels.  These properties get the instance from the IOC container.  Locator:     public …

WP7 – Sharing data between pages with MVVMRead More »