Welcome to MSDN Blogs Sign in | Join | Help

September 2008 - Posts

Some of the new stuff in .Net 3.x simply/examplyfied.

Just thought I put together a small class that shows some of the new features in .Net 3.x I have no intention of trying to explain how it works in detail (there is good documentation out there), you should see this more as a reference. Also, this is not
Posted by maspeng | 1 Comments

“Deferred vs. Immediate Loading” or “Lazy vs. Eager Loading”, simplyfied, I hope....

Have you ever been thinking “When using LINQ to SQL, when does the data get loaded? Is it one huge query, or do I get a lot of database round tripping?”. If you have thought about it once or twice, fine. If you think about it all the time, you may have
Posted by maspeng | 0 Comments
Filed under:

Dude, where did my ODBC System DSN go?!

When creating ODBC DSN’s, sometimes it all seems to go well. You open the ODBC Data Source Administrator. You enter the connection details for a new User DSN, test the connection and all is well. BTW: instead of going: Control Panel -> Administrative
Posted by maspeng | 0 Comments
Filed under:

Nested RecordSet and the port/socket in TIME_WAIT problem by example.

This is basically a continuation of the post on ports ending up in TIME_WAIT, here In short, what happens is that when you are not using connection pooling, a connection that is closed indeed closed. However, the port that the connection used is put into
Posted by maspeng | 0 Comments
Filed under: ,

XmlDocument and the removal of the indentations. It is good.

Imagine that you have a program that creates XML documents using the XmlDocument class. See: ".NET Framework Class Library - XmlDocument Class" http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.aspx You do this by creating and adding Elements
Posted by maspeng | 0 Comments
Filed under:

System.Data.SqlClient.SqlException: The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect.

The problem: You getting are getting the following error (depending on what SQL Server Version you are running). If you are running against Sql Server 2000: System.Data.SqlClient.SqlException: A severe error occurred on the current command. The results,
Posted by maspeng | 0 Comments
Filed under:
 
Page view tracker