asp.net 2.0

How does Secure Sockets Layer (SSL) technology work

The SSL technology encrypts communication over HTTP. SSL is supported by a wide range of browsers and ensures that a spy (“bad guy”) can’t simply decipher information exchanged between a client and a web server. SSL is important for hiding sensitive information such as:

– Credit card numbers

– Confidential …

Learn more

How to create secure web applications in ASP.NET

You should always keep the following guidelines in mind when writing code in terms of web applications:

Never trust user input – Assume that every user is evil, until you have confirmed the opposite. You should always strongly validate user input. Write your validation code in a way that it verifies input against …

Learn more

How to validate an XML document with XML Schemas in VB.NET

You can validate an XML document against a schema, by using built in XmlReader’s validation features. Note: You can find more details about XML schemas from the article How to use XML Schemas in XML document.  You can follow the next steps when performing validation:

1. You need to import the System.Xml.Schema …

Learn more

How to use XSL to transform XML content

Extensible Stylesheet Language (XSL) is an XML-based language for creating stylesheets. You can use stylesheets (also known as transforms), with the help of an XSLT processor, to convert your XML document into other documents. In other words you can use an XSLT stylesheet to transform one type of XML to a different XML structure. An even …

Learn more

How to validate an XML document with XML Schemas in C#

You can validate an XML document against a schema, by using built in XmlReader’s validation features. Note: You can find more details about XML schemas from the article How to use XML Schemas in XML document.  You can follow the next steps when performing validation:

1. You need to import the System.Xml.Schema namespace, …

Learn more

How to search XML content with XmlDocument in VB.NET

You can perform a search with the XmlDocument by using  XmlDocument.GetElementsByTagName() method, which  searches an entire document tree for elements that have a specific name and returns an XmlNodeList that contains all the matches as XmlNode objects.

For example, the following code retrieves the title of each Book in the document:

 

‘ Load the XML file.

Dim XmlFile As …

Learn more

How to search XML content with XmlDocument in C#

You can perform a search with the XmlDocument by using  XmlDocument.GetElementsByTagName() method, which  searches an entire document tree for elements that have a specific name and returns an XmlNodeList that contains all the matches as XmlNode objects.

For example, the following code retrieves the title of each Book in the document:

 

// Load the XML file.

string xmlFile = …

Learn more

How to use XML Schemas in XML document

You can create any markup language by using XML due to XML standard flexibility.  This flexibility also raises a few problems.  You will not be sure that developers around the world using your XML format are following the rules. The solution is to create a formal document that states the rules of your custom markup language, …

Learn more

How to use XML Namespaces with XNamespace class in VB.NET

You can use the XNamespace class to create XML content that uses a namespace. You can find more information about XML namespaces from the article How to use XML Namespaces in XML document. When you want to use XNamespace class you should define an XNamespace object first. Then you should add this XNamespace object to the …

Learn more