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");
[...]



kick it on DotNetKicks.com

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 [...]



kick it on DotNetKicks.com

Continue reading about error MSB3323 Unable to find manifest signing certificate in the certificate store and CC.NEt

alkampfer on June 25th, 2008

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, [...]



kick it on DotNetKicks.com

Continue reading about Share documents in a distributed team

alkampfer on June 25th, 2008

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; }
[...]



kick it on DotNetKicks.com

Continue reading about Cleaner Xml Serialization

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 [...]



kick it on DotNetKicks.com

Continue reading about Story of a stupid bug, difference between struct and class