<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/528839_100x75.jpg</url>
		<title>Channel 9 - Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<link></link>
	</image>
	<description>A set of short screencasts providing a &amp;quot;tour&amp;quot; of the network capabilites in the Silverlight 4 beta. We&#39;ll look at raw HTTP access, socket access and WCF capabilities.In this video, we take a look at doing a simple HTTP GET for an XML file with the WebClient API and then reading that with LINQ to XML.The next video in this series is 
here. </description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 19:00:36 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 19:00:36 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>Mike,</p>
<p>&nbsp;</p>
<p>Thanks for the exmple on how to use WebClient and asynchronous operations from the client. I do however have a question re: this.&nbsp; The web client seems like a great tool by which to use to get media from a site and allow a user to download. however, with
 the save dialog box doesn't allow itself to be invoked from a non-user initiated event, which contradicts the async approach.&nbsp;
</p>
<p>&nbsp;</p>
<p>Any recomendations on how to work around this without having to prompt a user multiple times?</p>
<p>posted by BigDubb</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634022063810000000</link>
		<pubDate>Fri, 19 Feb 2010 19:59:41 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634022063810000000</guid>
		<dc:creator>BigDubb</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>Hi BigDubb,</p>
<p>&nbsp;</p>
<p>Are you saying that you can't;</p>
<p></p>
<ol>
<li>Prompt the user for a file to save to. </li><li>Capture the file stream they choose. </li><li>Begin async download via WebClient. </li><li>On download complete, write downloaded contents to FileStream from step (2) above.
</li><li>Dispose dialog. </li></ol>
<div>I seem to remember having problems trying to write to this kind of FileStream from a background thread but I'm not sure if I've seen a particular issue doing 1-5 above ( although I haven't gone off and explicitly written the code to test it yet ).</div>
<div></div>
<div>Mike.</div>
<p></p>
<p>posted by mtaulty</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634023094800000000</link>
		<pubDate>Sun, 21 Feb 2010 00:38:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634023094800000000</guid>
		<dc:creator>mtaulty</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>Mike's Videos are always very helpful for people like myself - self taught and still learning.</p>
<ul>
<li>He always starts at the beginning - assuming I know little. </li><li>He remembers what it is like to &quot;not know&quot; and answers the question I have before I ask them
</li><li>the pace is just right and the level of detail is right on </li><li>Best of all - he uses USABLE examples </li></ul>
<p>&nbsp;There are many good programmers but few good teachers</p>
<p>&nbsp;</p>
<p>Thank you&nbsp;Mr. Taulty</p>
<p>&nbsp;</p>
<p>Mike Greenway</p>
<p>posted by Mike Greenway</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634030683940000000</link>
		<pubDate>Mon, 01 Mar 2010 19:26:34 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634030683940000000</guid>
		<dc:creator>Mike Greenway</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>Thank you Mr. Greenway - very kind &amp; glad you found these useful <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>Mike.</p>
<p>posted by mtaulty</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634032396000000000</link>
		<pubDate>Wed, 03 Mar 2010 19:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634032396000000000</guid>
		<dc:creator>mtaulty</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>A quick note on these videos - they have become a little less relevant with the release of the Silverlight RC.</p>
<p>&nbsp;</p>
<p>Be wary of changes that happened between the beta and the RC. Not every video will be affected but some definitely are.</p>
<p>posted by mtaulty</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634046084590000000</link>
		<pubDate>Fri, 19 Mar 2010 15:14:19 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634046084590000000</guid>
		<dc:creator>mtaulty</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>Real shame webClient still has no support for credentials. Just tried RC and it's still not there. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-6.gif' alt='Sad' /></p>
<p>posted by Jon Bushby</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634048551220000000</link>
		<pubDate>Mon, 22 Mar 2010 11:45:22 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634048551220000000</guid>
		<dc:creator>Jon Bushby</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[
<p>Jon,</p>
<p>&nbsp;</p>
<p>Not sure what you mean - WebClient does have support for credentials. Off the top of my head - if you're on the Browser stack then it'll on use default credentials but if you're on the Client stack it can either use default/prompt or take supplied credentials
 based on the UseDefaultCredentials property.</p>
<p>&nbsp;</p>
<p>Is that not what you're seeing?</p>
<p>&nbsp;</p>
<p>Mike.</p>
<p>posted by mtaulty</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634052453710000000</link>
		<pubDate>Sat, 27 Mar 2010 00:09:31 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634052453710000000</guid>
		<dc:creator>mtaulty</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[Hi Jon,<br />Hope you are doing well.<br />I am developing a solution in WP7 with CRM.<br />As you know that to access any data in CRM you need to provide user credentials.<br />So I provide it in the following way.<br /><br />WebClient Download = new WebClient (); <br /><br />NetworkCredential creds = new NetworkCredential("username", "password", "domainname" ); &nbsp;<br /><br /><br />Download.Credentials = creds;<br /><br />&nbsp;<br /><br />&nbsp;<br /><br />Download.DownloadStringCompleted += new DownloadStringCompletedEventHandler&nbsp;<br /><br />(Download_DownloadStringCompleted); <br /><br />&nbsp;<br /><br /><br /><br /><br /><br />Download.DownloadStringAsync(new Uri http://servername:5555/organizationname/XRMServices/2011/OrganizationData.svc/LeadSet?$select=FirstName<br /><br />));&nbsp;<br />&nbsp;<br /><br /><br /><br />private void Download_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) <br /><br /><br /><br />{<br /><br /><br /><br />&nbsp;<br />string Any = e.Result.ToString();<br /><br />}<br />}<br /><br /><br /><br /><br />{<br /><br />&nbsp;if (e.Error == null <br />) <p>posted by sam_salt</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634269533980000000</link>
		<pubDate>Fri, 03 Dec 2010 06:09:58 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634269533980000000</guid>
		<dc:creator>sam_salt</dc:creator>
	</item>
	<item>
		<title>Re: Silverlight 4 Beta Networking. Part 1 - WebClient and XML</title>
		<description>
			<![CDATA[can we create silverlight 4.0 pie chart using XML data file?<p>posted by Sujeet</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634317555610000000</link>
		<pubDate>Thu, 27 Jan 2011 20:06:01 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/mtaulty/Silverlight-4-Beta-Networking-Part-1-WebClient-and-XML#c634317555610000000</guid>
		<dc:creator>Sujeet</dc:creator>
	</item>
</channel>
</rss>