Linq to xml provides an easy query interface for XML files. In the following example I will demonstrate how to use it for reading and writing data from/to xml file, using the file for persistency maintaining a list of objects. This can be used for storing application settings, storing persistent objects or any other data [...]
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 XPath [...]
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 to [...]
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 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...
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...
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...