Directory Freebies VS CheatSheet Forum

RSS

Email

Translate

Home About Archive Privacy Contact Advertise Write for Dev102

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...
Posted by Shahar A on Apr 25th, 2008 | Filed under .Net, C# | 14 Comments

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...
Posted by Shahar Y on Apr 24th, 2008 | Filed under .Net, C#, Utilities | 4 Comments

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 XPath [...]


Continue Reading...
Posted by Amit on Apr 17th, 2008 | Filed under Visual Studio | 53 Comments

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 to [...]


Continue Reading...
Posted by Amit on Mar 9th, 2008 | Filed under .Net | 5 Comments

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 LINQ editor [...]


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 for this [...]


Continue Reading...
Posted by Amit on Dec 12th, 2007 | Filed under C# | 3 Comments

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>
[...]


Continue Reading...
Posted by Amit on Dec 9th, 2007 | Filed under .Net, ASP.Net, C#, SQL | Leave a Comment

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#, VB, ASP.NET, [...]


Continue Reading...
Write Article for Dev102

Write for Dev102!

We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution

Learn More