<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C# 411 &#187; Web</title>
	<atom:link href="http://www.csharp411.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:56:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How &#239;&#187;&#191; and 65279 and Other Byte Order Marks (BOM) Can Mess Up Your XML</title>
		<link>http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/</link>
		<comments>http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 01:06:18 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/</guid>
		<description><![CDATA[When you download XML text from the Web, you may find “garbage characters” in the start of your XML string.&#160; For example, I encountered this result when I downloaded an XML string using WebClient.DownloadString method:
ï»¿&#60;Root&#62;&#60;Item&#62;Hello, World&#60;/Item&#62;&#60;/Root&#62;

What you are likely seeing is a Byte Order Mark (BOM), which is a Unicode character that indicates the endian-ness [...]


Related posts:<ol><li><a href='http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/' rel='bookmark' title='Permanent Link: C# Convert String to Stream, and Stream to String'>C# Convert String to Stream, and Stream to String</a></li><li><a href='http://www.csharp411.com/c-convert-byte-array-to-string/' rel='bookmark' title='Permanent Link: C# Convert Byte Array to String'>C# Convert Byte Array to String</a></li><li><a href='http://www.csharp411.com/read-file-into-byte-array/' rel='bookmark' title='Permanent Link: Read File into Byte Array'>Read File into Byte Array</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/how-and-65279-and-other-byte-order-marks-bom-can-mess-up-your-xml/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blogs from Microsoft C# Development Team</title>
		<link>http://www.csharp411.com/blogs-from-microsoft-c-development-team/</link>
		<comments>http://www.csharp411.com/blogs-from-microsoft-c-development-team/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 15:41:49 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/blogs-from-microsoft-c-development-team/</guid>
		<description><![CDATA[Want insight into the design and development of C#?&#160; Then check out these blogs by key members of the Microsoft C# development team:
 
C# Compiler Team

Matt Warren      Matt Warren is a member of the Visual C# compiler team, recently acquired from the SQL Server team.&#160; Matt’s blog entries are a [...]


Related posts:<ol><li><a href='http://www.csharp411.com/best-c-blogs/' rel='bookmark' title='Permanent Link: Best C# Blogs'>Best C# Blogs</a></li><li><a href='http://www.csharp411.com/microsoft-unveils-visual-studio-2010-and-net-40/' rel='bookmark' title='Permanent Link: Microsoft Unveils Visual Studio 2010 and .NET 4.0'>Microsoft Unveils Visual Studio 2010 and .NET 4.0</a></li><li><a href='http://www.csharp411.com/microsoft-community-promise-for-c-and-cli/' rel='bookmark' title='Permanent Link: Microsoft Community Promise for C# and CLI'>Microsoft Community Promise for C# and CLI</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/blogs-from-microsoft-c-development-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Format String for XML Value</title>
		<link>http://www.csharp411.com/format-string-for-xml-value/</link>
		<comments>http://www.csharp411.com/format-string-for-xml-value/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 14:49:02 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.csharp411.com/format-string-for-xml-value/</guid>
		<description><![CDATA[
Of course you know that XML denotes element names with greater-than and less-than symbols, such as:
&#60;name&#62;value&#60;/name&#62;

Therefore, to avoid confusing the XML parser, the greater/less symbols (and the ampersand, an HTML special character) must be encoded.


For example, given the following string:
string text = "Here is a &#60;Test String&#62; &#38; more";

To encode the string to an XML [...]


Related posts:<ol><li><a href='http://www.csharp411.com/c-convert-string-to-stream-and-stream-to-string/' rel='bookmark' title='Permanent Link: C# Convert String to Stream, and Stream to String'>C# Convert String to Stream, and Stream to String</a></li><li><a href='http://www.csharp411.com/convert-binary-to-base64-string/' rel='bookmark' title='Permanent Link: Convert Binary to Base64 String'>Convert Binary to Base64 String</a></li><li><a href='http://www.csharp411.com/c-read-string-line-by-line/' rel='bookmark' title='Permanent Link: C# Read String Line by Line'>C# Read String Line by Line</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/format-string-for-xml-value/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Executing Code in Partial Trust Environments</title>
		<link>http://www.csharp411.com/executing-code-in-partial-trust-environments/</link>
		<comments>http://www.csharp411.com/executing-code-in-partial-trust-environments/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 14:42:23 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Code Access Security]]></category>
		<category><![CDATA[Full Trust]]></category>
		<category><![CDATA[Partial Trust]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/executing-code-in-partial-trust-environments/</guid>
		<description><![CDATA[When building your first .NET web service, you may be in for a rude awakening when you discover the concept of "partial trust."  Your previously bullet-proof code will suddenly fail in a flurry of exceptions thrown by seemingly innocuous commands such as reading files or accessing the Registry.  This article provides a brief [...]


Related posts:<ol><li><a href='http://www.csharp411.com/web-service-ambiguous-type-question/' rel='bookmark' title='Permanent Link: Web Service Stumper: "Ambiguous Type"'>Web Service Stumper: "Ambiguous Type"</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-1/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 1'>.NET Assembly FAQ &#8211; Part 1</a></li><li><a href='http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/' rel='bookmark' title='Permanent Link: Determine if a Loaded .NET Assembly is Signed'>Determine if a Loaded .NET Assembly is Signed</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/executing-code-in-partial-trust-environments/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Best C# Web Sites</title>
		<link>http://www.csharp411.com/best-c-web-sites/</link>
		<comments>http://www.csharp411.com/best-c-web-sites/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 19:11:03 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[C# Web Sites]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/best-c-web-sites/</guid>
		<description><![CDATA[Recently I posted a list of the Best C# Blogs.  Today we recognize the best C# Web sites.
Following (in alphabetical order) are the best C# sites active on the Web today.  Also included is the "About" section of the site (edited for space and clarity).  Please comment if you can recommend other [...]


Related posts:<ol><li><a href='http://www.csharp411.com/microsoft-to-share-net-framework-code/' rel='bookmark' title='Permanent Link: Microsoft to Share .NET Framework Code'>Microsoft to Share .NET Framework Code</a></li><li><a href='http://www.csharp411.com/microsoft-community-promise-for-c-and-cli/' rel='bookmark' title='Permanent Link: Microsoft Community Promise for C# and CLI'>Microsoft Community Promise for C# and CLI</a></li><li><a href='http://www.csharp411.com/net-news/' rel='bookmark' title='Permanent Link: .NET News'>.NET News</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/best-c-web-sites/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Read a Web Page in C#</title>
		<link>http://www.csharp411.com/read-a-web-page-in-c/</link>
		<comments>http://www.csharp411.com/read-a-web-page-in-c/#comments</comments>
		<pubDate>Thu, 27 Dec 2007 14:28:29 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[HttpWebRequest]]></category>
		<category><![CDATA[WebClient]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/read-a-web-page-in-c/</guid>
		<description><![CDATA[Reading the contents of a web page is easy in C# with the System.Net.WebClient class:

using System.Net;
using System.Windows.Forms;

string url = "http://www.devtopics.com";
string result = null;

try
{
    WebClient client = new WebClient();
    result = client.DownloadString( url );
}
catch (Exception ex)
{
    // handle error
    MessageBox.Show( ex.Message );
}
The web page [...]


Related posts:<ol><li><a href='http://www.csharp411.com/c-read-string-line-by-line/' rel='bookmark' title='Permanent Link: C# Read String Line by Line'>C# Read String Line by Line</a></li><li><a href='http://www.csharp411.com/determine-net-version-from-web-page/' rel='bookmark' title='Permanent Link: Determine Installed .NET Versions from a Web Page'>Determine Installed .NET Versions from a Web Page</a></li><li><a href='http://www.csharp411.com/read-file-into-byte-array/' rel='bookmark' title='Permanent Link: Read File into Byte Array'>Read File into Byte Array</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/read-a-web-page-in-c/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Determine Installed .NET Versions from a Web Page</title>
		<link>http://www.csharp411.com/determine-net-version-from-web-page/</link>
		<comments>http://www.csharp411.com/determine-net-version-from-web-page/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 16:59:34 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[.NET-Version]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/determine-net-version-from-web-page/</guid>
		<description><![CDATA[You can use the following JavaScript code in a web page to determine which versions of .NET are installed on a client PC:

&#60;script language="JavaScript" type="text/javascript"&#62;
var a = navigator.userAgent.match(/\.NET CLR [0-9.]+/g);
if (a == null)
document.write( "Microsoft .NET is not installed on your PC" )
else
{
document.write( "The following versions of Microsoft .NET are installed on your PC:&#60;br/&#62;" )
for (i [...]


Related posts:<ol><li><a href='http://www.csharp411.com/determine-the-net-versions-on-which-an-application-is-compiled-and-running/' rel='bookmark' title='Permanent Link: Determine the .NET Versions on which an Application is Compiled and Running'>Determine the .NET Versions on which an Application is Compiled and Running</a></li><li><a href='http://www.csharp411.com/net-installed-on-almost-80-of-windows-pcs/' rel='bookmark' title='Permanent Link: .NET Installed on Almost 80% of Windows PCs'>.NET Installed on Almost 80% of Windows PCs</a></li><li><a href='http://www.csharp411.com/read-a-web-page-in-c/' rel='bookmark' title='Permanent Link: Read a Web Page in C#'>Read a Web Page in C#</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/determine-net-version-from-web-page/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
