Archive for May, 2010

Sharepoint 2010: test if email are sent

May 28, 2010

Install Sharepoint 2010 … done.
Configure main site … done (with standard template).
But didn’t know if email configuration is valid and email are sent.
How to check it ?
Just add a very simple alert to some page.
In this post, Configuring outgoing email in SharePoint 2010 with Exchange 2010 – Step by Step Guide, you may find info about configuring outgoing email in Sharepoint 2010.

In my very very short experience, it wasn’t necessary to create a receive connector in Exchange 2010, because my outgoing email configuration in Sharepoint was filled with a valid email address defined in Exchange server. πŸ˜‰
One step shorter.

Read full post! πŸ˜‰
source: Configuring outgoing email in SharePoint 2010 with Exchange 2010 – Step by Step Guide

Technorati tags: Sharepoint

Scheduling & Delivery in XP: Slack

May 25, 2010

Delivery what scheduled and delivery in time is not a constant 😦 .
A way to reach this goal, and manage some exceptions, is scheduling minor tasks at the end of your “sprint” (opsss πŸ˜‰ ).
If something goes wrong, then you can cut those small tasks, because you most Β valuable features are at the sprint’s beginning, so you can deliver most of the value (aka features) without compromising (a lot!) the entire spring.

source: XP Practice: Slack

thanks to XP IT mailing list. πŸ˜‰

Technorati tags: XP,Slack

ContextSwitchDeadlock was detected when debugging in Visual Studio 2008

May 23, 2010

Working with MS Excel, I’ve got this message too often: 😦

The CLR has been unable to transition from COM context 0x….. to COM context 0x….. for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. […] To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

That’s because my pc was overloaded πŸ™‚ and every program was very slow. 😦

I disabled the message following these steps:
menΓΉ Debug \ Exceptions \ Managed Debug Assistants

source: ContextSwitchDeadlock was detected when debugging in Visual Studio 2005

Technorati tags: Visual Studio

SSMS 2008: change default SELECT/EDIT TOP (n) rows command

May 19, 2010

SQL Server Management Studio 2008 introduces 2 new ways of interact with data: SELECT and EDIT rows.
These 2 command have 2 different defaults values about number of rows to interact on: 200 rows for SELECT command, 100 rows for INSERT command.

These values can be changed, this way:
menu \ TOOLS \ OPTIONS \ SQL Server Object Explorer,
expand tree (COMMANDS and SCRIPTING sub nodes),
select COMMANDS,
then insert your new values for INSERT and SELECT command.

source: SQL 2008 – Change “Edit Top 200 Rows”

Good tips for OO developers

May 16, 2010

Here are some good suggestions from Stephan Schmidt for OO developers.
They are for java developers, but some of them are as good as for C# developers:
-#2: avoid setters
-#3: avoid for/foreach
-#7: use fluent interfaces
-…

Better have a read, and comments too. πŸ˜‰

ps: don’t forget Anti-IF Campaign !!! πŸ˜‰

source: Go Ahead: Next Generation Java Programming Style