9 March 2010 0 Comments

Saving window size and location in WPF and WinForms

A common user interface tweak is to save the size and location of a window and restore that state when the program starts up again. That way, the users don’t need to re-do their work of resizing and moving the windows to where they want them. However I’ve found that there isn’t really a convenient way to do with in C#.

25 February 2010 0 Comments

TFS slow response when doing version control operations

Symptom: ================ I’ve meet some cases where TFS version control operations can be quite slow when the TFS deployment is based on a virtual machine like VMWare or Hyper-V.

11 December 2009 1 Comment

More on Playing With Fire

As a continuation from my last blog entry, here are some more thoughts I have about code coverage measurements. ·          Never roll up code coverage data without the interpretation of that data.   Without some text about what your numbers mean, people will draw different conclusions which sometimes will require you to then provide more detail than is truly necessary

16 November 2009 0 Comments

Coding the Excel Services Windows 7 Gadget – Part 5 – Next steps

There are a few things I want to change/fix and a few features I want to add to the gadget. Here they are, in no particular order: Changes: 1

24 October 2009 0 Comments

Modes of Thought

    People tend to argue from three perspectives, or ways of thinking. Some of the greatest disconnects occur when people are argue the same point from different perspectives.

17 September 2009 0 Comments

Encontro de Parceiros de Testes – Veja como foi

Tivemos aqui na Microsoft São Paulo, no último dia 13 de agosto, um encontro com empresas especializadas na execução de testes de aplicações. Durante esse encontro discutimos os recursos do Visual Studio Team System para testes, tanto na atual versão 2008 quanto na 2010. Tivemos uma excelente oportunidade de solidificar o conhecimento a respeito das funcionalidades disponíveis na versão 2008 – em especial a parte de testes web e de carga – mas, sem dúvida alguma, o que mais chamou a atenção de todos foram os novos recursos de teste do VSTS 2010: Gestão e Planejamento de Casos de Testes; Gestão de Laboratórios Virtuais; E o novo produto para testadores generalistas , o Microsoft Test And Lab Manager

15 September 2009 0 Comments

Bing…with Visual Search!

We annouced yesterday the availability of Visual Search…a first version which show a new way to search on the Web. What a great thing to search with images rather than text! Much easier for a lot of use cases.

12 September 2009 0 Comments

Transforming X++ code to managed code: Check the video…

The channel 9 video: http://channel9.msdn.com/posts/Charles/Peter-Villadsen-and-Gustavo-Plancarte-Inside-Ax-Translator-X-to-MSIL/ showcases some work that the X++ team has done to investigate the options for transforming X++ code into managed code.

4 September 2009 0 Comments

One way of executing the daily stand-up

I think the daily stand-up is one of the most important parts that makes a team work well together and avoid surprises. But just because you have these daily meetings it does not guarantee that they’re useful. A few anti-patterns I’ve seen in meetings are when people say things like ” I’m working on some stuff ” or ” I’m still working on item 42 “

3 September 2009 0 Comments

Published links to office client applications do not show up in file open or save dialogs

Ever run into a problem where your published links for office client applications do not show up in My SharePoint sites Link in Office applications? If so, read through… First, the basics. Ensure it is configured right

1 September 2009 0 Comments

pthread_cond_timedwait behaving differently on different platforms

pthread_cond_timedwait is a nice little function that can be used to “atomically” release a mutex, wait for a condition with a timeout and then acquire the mutex. The first pitfall of this method is that the “timeout” is an absolute time, not a relative time as with most timeouts.

1 September 2009 0 Comments

Why massive inserts using SubmitChanges lack in performance.

  Bulk inserting using LINQ to SQL, why is it so slow? Well, the short answer is that it is not designed to do bulk inserts.   But out of curiosity, why is it slow?