Friday 26 September 2008

Linked server double hop

This is the best article I've found regarding the proper setup of servers for double hop in MS SQL 2005: http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx

It is the best overview and most complete and yet simple explanation of the problem and the solution.

Wednesday 24 September 2008

How to make objects available as datasources for databound controls

This attribute goes to the class:


   1:  // makes objects of this class suitable for binding to controls
   2:  [System.ComponentModel.DataObject] 

And this goes to the method:


   1:  // this attribute is so that the method will show up in the 
   2:  // ObjectDataSource wizard
   3:  [System.ComponentModel.DataObjectMethodAttribute(
   4:  System.ComponentModel.DataObjectMethodType.Select, true)]

Tuesday 16 September 2008

Finally CodePlex supports svn!!!

Now I don't know yet how good this support is, but you can read all about it here:

http://blogs.msdn.com/codeplex/archive/2008/09/14/codeplex-launches-support-for-tortoisesvn.aspx

They used to support svn in the past but it required a local installation of SvnBridge. Now it is integrated into their repository.

Typical URL format is https://projectname.svn.codeplex.com/svn

Tuesday 2 September 2008

20 tech habits to improve your life

Very good read, with some useful tips: 20 tech habits to improve your life

The .NET source code

Official site for the .NET source code, including instructions (although out of date in VS 2008 last time I checked, they were for VS 2005...)
http://referencesource.microsoft.com/serversetup.aspx

For VS 2008 SP1 there is another option which is not included in the Microsoft website at this moment:

Wizard implementation in C#

Very nice article explaining the implementation of a wizard in C#. The article skips over some details of the implementation (i.e. it is unclear at some points) but this is not a problem because clarification can be obtained by looking at the source code which is provided. On the other hand, the article has a comprehensive coverage of various events and it is definitely a worthwhile read. No doubt Microsoft will come up with some wizard component in the future, but until they do, this is a good alternative, and it any case a very educational resource.

Part 1
Part 2