Blog Stats
  • Posts - 42
  • Articles - 0
  • Comments - 98
  • Trackbacks - 34

 

January 2006 Entries

The Hanselman List of .NET Debugging Dos and Don'ts

Don't - Say "Hey, I got a NullReferenceException," what's the problem?Do - Provide a Stack Trace/Dump with the line number it likely happened on. Don't - Get deep into your complicated program, find a bug and insist it's BillGs fault.Do - Reproduce the bug in some simple test program and tell the world. Remember, 9/10 times it's you. Don't - Decide there's a problem if you don't know the preferred behavior.Do - Always Assert your assumptions. If null can happen, check for it. BUT, if null must never...

Starting a business - a thought

“Don’t start a business if you can’t explain what pain it solves, for whom, and why your product will eliminate this pain, and how the customer will pay to solve this pain. The other day I went to a presentation of six high tech startups and not one of them had a clear idea for what pain they were proposing to solve.” (via Joel on software)

XML datatype in SQL server 2005 - just be sure

In my last post I mentioned that SQL Server 2005 provides with you with the flexibility of having an XML document stored into one single column of “Xml” datatype. Just like a int, datetime or a nvarchar() datatype, you can define “Xml” datatype to store the whole Xml document or a fragment as long as your XML is valid. But the catch here is if your XML file has a header something like “ “, and you are sending this document as a string to the database, you are in...

SQL Server 2005 express - connection problem

At work I got installed the new SQL server 2005 express edition, with VS.Net 2005. Through the Visual Studio's server explorer I was unable to connect to my SQL express. After trying different things, I downloaded the SQL Server Management Studio Express CTP. But it had so many runtime bugs, that I couldn't help stop using it. I even tried setting up the TCP/IP and NamedPipes protocol to 'enabled' in the Configuration management tool of SQL server 2005. This is done to enable remote connections....

 

 

Copyright © Vinayak