Sometimes you need to check that the content of various fields in a database row match some constraints, in this situation a little helper could make it possible to write more elegant assertion
[Test]
public void TestInsertACustomerDataFluent()
{
NorthwindCustomerDao sut = new NorthwindCustomerDao();
sut.CreateACustomer("RICCI", "DotNetMarche", "contact", "Loc piano frassineta 31");
[...]
Continue reading about A better nUnit assertion to verify content of a database Row
This morning I did some modification to a project that is deployed with click once, I checked in and the build was broken. I go to CC.NET dashboard and I see that the error is
error MSB3323 Unable to find manifest signing certificate in the certificate store
I tried to do various experiments, but after half hour [...]
Some days ago I received a mail with an analysis document for a Project I’m working to. Since we are a distributed team of programmers, someone still uses mail to share document with members of the team.
This is simply WRONG!!!
The reason are
1) It lacks tracking. Some people uses to append a version such as Document_Ver32.doc, [...]
Continue reading about Share documents in a distributed team
Suppose you have a simple class
[Serializable, XmlRoot("LogEntry")]
public class LogFeeder
{
private Guid sourceId;
private String _Data;
private String _Log;
[XmlAttribute("DetailSourceId")]
public Guid SourceId {
get { return sourceId; }
[...]
I’ve incurred in a very stupid bug this afternoon, I run test on a new version of a component and I see that a lot of exceptions are raised about violating unique constraint of a simple strongly typed dataset I use to log information in database.
After a brief look at the code I found that [...]
Continue reading about Story of a stupid bug, difference between struct and class




