TFS 2010 Best Practices and TFS Structure

0 Comments

We used the TFS Best Practices Guide on CodePlex for deploying and using our TFS server: http://tfsguide.codeplex.com/     Based on this guide we used the following TFS Structure:   $MyTeamProject1 /Main                                                                                    à Can

More information on Branching

0 Comments

If you wan to read more about branching, read the following article: http://www.codinghorror.com/blog/2007/10/software-branching-and-parallel-universes.html

How to serialize and deserialize an object in C# to a XML file

0 Comments

The following code shows how to serialize and deserialize an object in C# to a XML file.   Code using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.IO; using System.Xml.Serialization; using System.Reflection; namespace MobileUI.BC

How to determine the datetime of the first day of the week

0 Comments

If you want to determine the datetime of the first day of the week, you can use the following code: // Get the first day of the week DayOfWeek firstDay = System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.FirstDayOfWeek; DateTime firstDayOfWeekDateTime =

How to create a JournalItem from a C# Outlook 2010 Add-in

0 Comments

If you want to create a JournalItem from C#, you van use the following code: Code // Get the default journal folder MAPIFolder jounalFolder = Globals.ThisAddIn.Application.Session.GetDefaultFolder(OlDefaultFolders.olFolderJournal); // Create a new journal item JournalItem journalItem =

How to call and test SOAP or WCF services with complex types

0 Comments

Microsoft Visual Studio 2008 contains a SOAP and WCF test application [WcfTestClient], located at: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\WcfTestClient.exe In the following screendumps I will test a SOAP service that uses latitude and longitude