For the last month, I was working on an imagery infrastructure library. Some of my effort was to well document each class, method and property so that the users of this library will have the privilege of knowing how to properly use it. During the development phase, I created a test project so I will be able to test my code at runtime. By the end of this month, I decided to separate the test project from the main solution and create a test solution. Surprisingly, when browsing the test code and hovering my library classes and methods, no comments appeared in the Visual Studio tooltip:

image

Those comments did appear when the test and the imagery infrastructure projects belonged to the same solution. On In this article, I am going to explain why it is so important to generate XML documentation file for each one of your .Net projects.


Continue Reading...

Linq to xml provides an easy query interface for XML files. In the following example I will demonstrate how to use linq to xml to read and write data from/to xml file, using the file for persistency maintaining a list of objects. linq to xml can be used for storing application settings, storing persistent objects […]


Continue Reading...

XPath is a language for addressing parts of an XML document, for those who are not familiar with this language – here are the W3C specifications and here is the W3schools tutorial. Now that we know XPath, lets get to the point of that post which is – Visual XPath. This is a free graphical […]


Continue Reading...

This is a list of 10 great shortcuts me and my co workers use frequently, we thought you all should know too. Here they are: CTRL + ".": This is actually a shortcut for a shortcut. it is the same as CTRL + SHIFT + F10 which opens the smart tag window and allows you […]


Continue Reading...

This one is for all you guys who are just starting to use LINQ and have no idea how to make those queries work. I have tried it and i am glad to say that it is very friendly and usable especially if you have no experience with Linq Linqpad is a very user friendly […]


Continue Reading...

Hi. Ever had the following error in Visual Studio:error CS0103: The name ‘InitializeComponent’ does not exist in the current context.I sure did… There’s a very specific reason for this and it’s in the project settingsThis usually happens whenever you try to add a WPF control/window to a .NET 2.0 Class library or project. The reason […]


Continue Reading...

Need to open an XML file and add a node? It is actually very simple Here’s how: Sample XML file: <?xml version=”1.0″?> <HelpData xmlns:xsi= “http://www.w3.org /2001/XMLSchema-instance” xmlns:xsd= http://www.w3.org /2001/XMLSchema> <helpButtonUrls> <HelpButtonUrl> <buttonName> BugReport</buttonName> <url>C:BugRep.exe</url> </HelpButtonUrl> <HelpButtonUrl> </HelpData> We want to add another HelpButtonNode: private void AddNodeToXMLFile(string XmlFilePath, string NodeNameToAddTo) { //create new instance of XmlDocument […]


Continue Reading...

Hi Everyone!!! This is my new blog in which i will Share all I know/hear about/find interesting about Application Development. For starters i would like to introduce you to http://www.learnvisualstudio.net/ which is a web site that has over 500 Video tutorials about almost anything you can think of that is related to application development, C#, […]


Continue Reading...