Assert.IsTrue(ThrowsException(() => object.Method()));

While reading this post, I came across an interesting line of code: 1: Assert.IsTrue(ThrowsException<UpdateException>(() => rb.Update(b2))); 2:  3: ThrowsException<E> is: 4:  5: private static bool ThrowsException<E>(Action f) where E : Exception 6: { 7: try 8: { 9: f(); 10: } 11: catch (E) 12: { 13: return true; 14: } 15: catch 16: {…

1

Microsoft SQL Server Data Services (SSDS): First Contact

I have been reading about cloud computing quite a bit.  I found that Microsoft is doing something really interesting under the code name "Sitka" (there is now a public beta, so the code word is no longer internal). Sitka, or SSDS, is cloud entity storage that offers SLA features to include massive scale, availability, performance,…

2

PSI Calls Result in 401.2 2148074254 Entries in IIS Log

I implemented an integration service using the PSI for lifting data from a customer’s system into Project Server.  The service ran like a champ in my development environment but upon deploying it at the customer site, I was flummoxed for a while by 401 Unauthorized errors when attempting to make PSI calls. I checked IE…

1

About

I am a developer working in Microsoft Consulting Services’ Enteprise Project Management Global Practice. I have been working in the project management field since 1995, first as a developer followed by stints as a development manager, product manager, software architect, CIO, CTO, and president of a small company. Now I am back doing what I…