TechyMedia

A .NET Technology blog | .NET,C# Progamming,C# tutorials,WPF WCF|Software Engineer

NAVIGATION - SEARCH

How To Select An XML Node Element Values According To A Specific Attribute Value - C#,VB.NET

By this article I presents sample code to select individual XML element value from an XML file according to a specific attribute value provided.This sample uses Xpath expression to select the elements.
By this article I presents sample code to select individual XML element value from an XML file according to a specific attribute value provided.This sample uses Xpath expression to select the elements. [More]

How to Select Xml Element Nodes From An Xml File using Xpath - C#,VB.NET

Sample code in C# and VB.NET to Select Xml Element Nodes From An Xml File using Xpath expression.
Sample code in C# and VB.NET to Select Xml Element Nodes From An Xml File using Xpath expression. [More]

C# .NET- How To Read CDATA Section

Article explains how to Extract cdata from xml. CDATA (Character Data) is used to store information in XML file as unparsable data so that no parser will parse it and will be treated as pure char string. In this article I am explaining how to read the data stored as CDATA section in an XML file using XmlDocument in C# .NET.
Article explains how to Extract cdata from xml. CDATA (Character Data) is used to store information in XML file as unparsable data so that no parser will parse it and will be treated as pure char string. In this article I am explaining how to read the data stored as CDATA section in an XML file using XmlDocument in C# .NET. [More]

How To Store Java Scripts In XML

CDATA can be used to store text data in XML file so that it should not be parsed by any XML parser. Any data stored under CDATA are recognized as non markup.For more details on CDATA read the article CDATA(Character Data In XML).
CDATA can be used to store text data in XML file so that it should not be parsed by any XML parser. Any data stored under CDATA are recognized as non markup.For more details on CDATA read the article CDATA(Character Data In XML). [More]

What Is CDATA In XML ? (What Is Character Data/ Unparsed Data in XML?)

CDATA is used to store text data in XML file so that it should not be parsed by any XML parser.DATA are used to escape blocks of text containing characters which would otherwise be treated as markup.
CDATA is used to store text data in XML file so that it should not be parsed by any XML parser.DATA are used to escape blocks of text containing characters which would otherwise be treated as markup. [More]

What Is PCDATA In XML (Parsed Character Data in XML) ?

XML parsers are used to parse XML files. All parser normally parse the data inside the XML element tags also when the entire XML file is parsed.This parsing is needed since any XML element tag can contain other element tags also.PCDATA,the Parsed Character Data is nothing special.It is the normal data stored in any XML file that will be parsed by any XML parser. Simply put,PCDATA are data which are always recognized as markup [More]

C#.NET - Code Commenting Best Practices

Code commenting has given lesser priority most of time during programming. In actual, it needs similar or even more attention than code lines to give readability and maintainability in the long run. It is quite common that code written by one programmer will be maintained or upgraded by various other developers during the product life span and hence code commenting is not an optional topic at all. In this article I am explaining some of the key points to be taken in to account while code commenting. My explanation is in the context of .NET programming and is somewhat similar for other languages also [More]

XML document parsing in .NET - Best and efiicient options

.Net framework has got various mechanisms for reading and querying XML documents.But what are the pros and cons of each of these methods? which is the best efficient mechanism out of all these? Which is most efficient in terms of performance? Which is simpler and faster to code?
.Net framework has got various mechanisms for reading and querying XML documents.But what are the pros and cons of each of these methods? which is the best efficient mechanism out of all these? Which is most efficient in terms of performance? Which is simpler and faster to code? [More]

C# Static methods vs Instantce methods

Programmers most of the time create a class instance to invoke a method even when there is nothing to do with the instance.Means, the execution of the method has nothing to do with the state of the class object.Static method execution is faster ,it reduces the required lines of code and hence more cleanliness in code.
Programmers most of the time create a class instance to invoke a method even when there is nothing to do with the instance.Means, the execution of the method has nothing to do with the state of the class object.Static method execution is faster ,it reduces the required lines of code and hence more cleanliness in code. [More]

nUnit - Simple Tutorial

Unit tests are essential since code refactoring and optimizations are inevitable part of software system life cycle. nUnit is a unit testing framework for all Microsoft .Net compatible languages. In nUnit Attributes are used to get information about a .NET test assembly. Test Fixture, Test , SetUp and TearDown are major attributes used in nUnit.
Unit tests are essential since code refactoring and optimizations are inevitable part of software system life cycle. nUnit is a unit testing framework for all Microsoft .Net compatible languages. In nUnit Attributes are used to get information about a .NET test assembly. Test Fixture, Test , SetUp and TearDown are major attributes used in nUnit. [More]