<?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"
	>

<channel>
	<title>Phil Hustead Blog</title>
	<atom:link href="http://www.philhustead.com/blog/index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.philhustead.com/blog</link>
	<description>Programming, Politics and Prose... Oh my!!!</description>
	<pubDate>Fri, 12 Feb 2010 21:12:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Site was down</title>
		<link>http://www.philhustead.com/blog/?p=53</link>
		<comments>http://www.philhustead.com/blog/?p=53#comments</comments>
		<pubDate>Fri, 15 Aug 2008 16:02:34 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=53</guid>
		<description><![CDATA[My site was down since yesterday due to some server configuration issues.  I&#8217;m back up and running now.
]]></description>
			<content:encoded><![CDATA[<p>My site was down since yesterday due to some server configuration issues.  I&#8217;m back up and running now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=53</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Visual Studio 2008 Service Pack 1</title>
		<link>http://www.philhustead.com/blog/?p=49</link>
		<comments>http://www.philhustead.com/blog/?p=49#comments</comments>
		<pubDate>Tue, 12 Aug 2008 20:13:41 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=49</guid>
		<description><![CDATA[Microsoft Visual Studio 2008 Service Pack 1 is also now available.  This is a very exciting release with support for:

Silverlight 2 SDK Beta 2 &#038; Silverlight Tools Beta 2
MVC Preview Release #3 
ASP.NET Extensions/Dynamic Data Preview 
VC 2008 Feature Pack 
VB PowerPack Controls (2.0 &#038; 3.0) 
Expression Studio 2 (RTM) 
SQL Server 2008 
.NET [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Visual Studio 2008 Service Pack 1 is also now available.  This is a very exciting release with support for:</p>
<ul>
<li>Silverlight 2 SDK Beta 2 &#038; Silverlight Tools Beta 2</li>
<li>MVC Preview Release #3 </li>
<li>ASP.NET Extensions/Dynamic Data Preview </li>
<li>VC 2008 Feature Pack </li>
<li>VB PowerPack Controls (2.0 &#038; 3.0) </li>
<li>Expression Studio 2 (RTM) </li>
<li>SQL Server 2008 </li>
<li>.NET Framework 3.5 SDK </li>
<li>XSLT Profiler </li>
<li>VSTA 2.0 SDK </li>
<li>Visual Studio 2008 SDK </li>
</ul>
<p>I can&#8217;t wait to dig into the new MVC Framework.  You can download the service pack here: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&#038;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&#038;displaylang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=49</wfw:commentRss>
		</item>
		<item>
		<title>Now Available: Microsoft .NET Framework 3.5 Service Pack 1</title>
		<link>http://www.philhustead.com/blog/?p=47</link>
		<comments>http://www.philhustead.com/blog/?p=47#comments</comments>
		<pubDate>Tue, 12 Aug 2008 20:08:23 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=47</guid>
		<description><![CDATA[Microsoft has released Microsoft .NET Framework 3.5 Service Pack 1.
Download Here: http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&#038;displaylang=en
]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released <strong>Microsoft .NET Framework 3.5 Service Pack 1</strong>.</p>
<p>Download Here: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&#038;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=AB99342F-5D1A-413D-8319-81DA479AB0D7&#038;displaylang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=47</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET MVC (Module View Controller) in 3.5 SP1</title>
		<link>http://www.philhustead.com/blog/?p=29</link>
		<comments>http://www.philhustead.com/blog/?p=29#comments</comments>
		<pubDate>Tue, 12 Aug 2008 15:45:38 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=29</guid>
		<description><![CDATA[So I&#8217;ve been looking a little into the new MVC framework that will be included in .NET 3.5 SP1 (Currently avalible in Preview version 4). Check out Scott Guthrie&#8217;s blog series starting at http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx 
I can&#8217;t wait to start playing with it.  Also check out the asp.net MVC home page at: http://www.asp.net/mvc/  Scott [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been looking a little into the new MVC framework that will be included in .NET 3.5 SP1 (Currently avalible in Preview version 4). Check out Scott Guthrie&#8217;s blog series starting at <a href="http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx ">http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx </a></p>
<p>I can&#8217;t wait to start playing with it.  Also check out the asp.net MVC home page at: <a href="http://www.asp.net/mvc/ ">http://www.asp.net/mvc/ </a> Scott Hanselman has some really good videos on MVC.  Especially check out the Storefront Starter Kit.  Not only does it go over MVC but also TDD (Test Driven Development).  I&#8217;ve never used TDD before and it looks very intresting.  I will be looking into that as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=29</wfw:commentRss>
		</item>
		<item>
		<title>Updated Blog Software</title>
		<link>http://www.philhustead.com/blog/?p=24</link>
		<comments>http://www.philhustead.com/blog/?p=24#comments</comments>
		<pubDate>Sun, 10 Aug 2008 19:29:58 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=24</guid>
		<description><![CDATA[I just updated WordPress to 2.6.  I did lose some stuff in the process but no big deal.  I also changed the look of the site some too.  Now I just need to work on getting more posts out.  I have a lot of ideas so look forword to reading those [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated WordPress to 2.6.  I did lose some stuff in the process but no big deal.  I also changed the look of the site some too.  Now I just need to work on getting more posts out.  I have a lot of ideas so look forword to reading those soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>Asynchronous Transfers (AJAX) made easy</title>
		<link>http://www.philhustead.com/blog/?p=20</link>
		<comments>http://www.philhustead.com/blog/?p=20#comments</comments>
		<pubDate>Fri, 02 Feb 2007 05:29:54 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=20</guid>
		<description><![CDATA[I have been doing a lot of research on AJAX and have recently purchased a WROX book called Professional AJAX (amazon).&#160; I haven&#8217;t gotten far in the book but it starts off with a little history on AJAX starting with Google suggest.&#160; As I read on they were talking about many different methods for pulling [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing a lot of research on AJAX and have recently purchased a WROX book called Professional AJAX (<a href="http://www.amazon.com/Professional-Ajax-Programmer-Nicholas-Zakas/dp/0471777781/sr=8-1/qid=1170460001/ref=pd_bbs_1/105-4356956-6905255?ie=UTF8&amp;s=books">amazon</a>).&nbsp; I haven&#8217;t gotten far in the book but it starts off with a little history on AJAX starting with Google suggest.&nbsp; As I read on they were talking about many different methods for pulling data asynchronously and one thing that came up was how Google Maps and&nbsp;Gmail&nbsp;uses frames.&nbsp; Well this got me to thinking and I wanted to see if I could find a good way to do this using an iframe.&nbsp; So this is what I came up with.&nbsp;</p>
<p>First off I created a simple .net webservice and enabled webservices to accept HTTP-GET requests.&nbsp; Then dynamiclly using javascript I created a &lt;IFRAME&gt; along with an event listener for its onload event&nbsp;to call the SomeWebserviceCall_Complete() function when the iframe is loaded.&nbsp; Then I set the iframe&#8217;s src property to the webservice address with the proper attributes for the service call&nbsp;and this sends the HTTP-GET request through the iframe.&nbsp; Because I setup the event listener on the &quot;onload&quot; event, once the iframe is loaded from the webservice call the SomeWebserviceCall_Complete() function is fired.</p>
<p>Here is the code simplified for IE:</p>
<div style="WIDTH: 400px; BACKGROUND-COLOR: silver">&nbsp;&nbsp;&nbsp; function SomeWebServiceCall(idParam)<br />&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var myframe = document.createElement(&quot;iframe&quot;);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.id = &#8216;frameCompany&#8217;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.style.width = &#8216;0px&#8217;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.style.height = &#8216;0px&#8217;;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Creates the asynchronous handler event<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.attachEvent(&#8217;onload&#8217;, SomeWebServiceCall_Complete);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Calls the webservice<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.src = &#8216;http://www.example.com/webservice?id=&#8217; + idParam;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; function SomeWebServiceCall_Complete()<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Parse out content from iframe<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // and use the data for whatever<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; }</p>
</div>
<p>This is really easy to setup for a simple AJAX request to a web service.&nbsp; </p>
<p>UPDATE &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Here I put it into action</p>
<div style="WIDTH: 400px; BACKGROUND-COLOR: silver">
<p>&nbsp;&lt;script&gt;</p>
<p>&nbsp;&nbsp;&nbsp; var myframe = document.createElement(&quot;iframe&quot;);<br />&nbsp;&nbsp;&nbsp; myframe.id = &#8216;frameCompany&#8217;;<br />&nbsp;&nbsp;&nbsp; myframe.style.width = &#8216;100px&#8217;;<br />&nbsp;&nbsp;&nbsp; myframe.style.height = &#8216;100px&#8217;; <br />&nbsp;&nbsp;&nbsp; document.getElementById(&#8217;mydiv&#8217;).appendChild(myframe);<br />&nbsp;<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; function SomeWebServiceCall(idParam)<br />&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Creates the asynchronous handler event<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.attachEvent(&#8217;onload&#8217;, SomeWebServiceCall_Complete);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Calls the webservice<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myframe.src = &#8216;http://localhost/<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appname/webservice.asmx/methodname&#8217; + idParam;<br />&nbsp;&nbsp;&nbsp; }<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; function SomeWebServiceCall_Complete()<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //alert(&quot;did it&quot;);</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.getElementById(&#8217;mydiv&#8217;).innerHTML += &quot;here it is:&lt;br /&gt;&quot; + myframe.contentWindow.document.documentElement.innerHTML;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; }<br />&lt;/script&gt;</p>
</div>
<p>&nbsp;</p>
<p>This implementation just places the contents of the iframe (webservice response) into a div element on your page with an id of &#8216;mydiv&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=20</wfw:commentRss>
		</item>
		<item>
		<title>JSON Documentation</title>
		<link>http://www.philhustead.com/blog/?p=14</link>
		<comments>http://www.philhustead.com/blog/?p=14#comments</comments>
		<pubDate>Thu, 25 Jan 2007 23:08:18 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=14</guid>
		<description><![CDATA[I have yet to find a good website on the JSON standard.&#160; Maybe this is because the concept is not that difficult and is grasped quickly.&#160; I have been spending a lot of time at http://www.json.org and at first found the site to be very hard to read.&#160;&#160; I get turn off pretty quick by [...]]]></description>
			<content:encoded><![CDATA[<p>I have yet to find a good website on the JSON standard.&nbsp; Maybe this is because the concept is not that difficult and is grasped quickly.&nbsp; I have been spending a lot of time at <a href="http://www.json.org">http://www.json.org</a> and at first found the site to be very hard to read.&nbsp;&nbsp; I get turn off pretty quick by websites that don&#8217;t look like any time was put into them.&nbsp; The more I access it though the more I am getting used to it.&nbsp; I will keep trying to find a better site, or at least a better looking easier to follow site.&nbsp; </p>
<p>Getting turned on to JSON only recently I really like working with it.&nbsp; I have been using it with ASP.NET AJAX and WebServices and it is real easy to create and use.&nbsp; So for those out there who are just finding out about JSON and are finding it difficult to find good documentation&#8230; don&#8217;t fret.&nbsp; It&#8217;s easier then the&nbsp;json.org site makes it seem at first.&nbsp; You can also get information on <a href="http://en.wikipedia.org/wiki/JSON">http://en.wikipedia.org/wiki/JSON</a>&nbsp;but still not as detailed as I would like.&nbsp; If anyone knows of any good json sites please let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=14</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET AJAX Officially Released!  Sweet!!!</title>
		<link>http://www.philhustead.com/blog/?p=13</link>
		<comments>http://www.philhustead.com/blog/?p=13#comments</comments>
		<pubDate>Thu, 25 Jan 2007 07:33:28 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=13</guid>
		<description><![CDATA[I just read the announcement from the www.asp.net website that ASP.NET AJAX 1.0 has been released.&#160; Read more from Scott Guthrie&#8217;s Blog for details:
http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx
These tools have been an enormous help to me in many of my projects.&#160; Thanks guy&#8217;s.
]]></description>
			<content:encoded><![CDATA[<p>I just read the announcement from the <a href="http://www.asp.net">www.asp.net</a> website that ASP.NET AJAX 1.0 has been released.&nbsp; Read more from Scott Guthrie&#8217;s Blog for details:</p>
<p><a href="http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx">http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx</a></p>
<p>These tools have been an enormous help to me in many of my projects.&nbsp; Thanks guy&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=13</wfw:commentRss>
		</item>
		<item>
		<title>XML to JSON Converstion</title>
		<link>http://www.philhustead.com/blog/?p=8</link>
		<comments>http://www.philhustead.com/blog/?p=8#comments</comments>
		<pubDate>Thu, 25 Jan 2007 00:00:26 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=8</guid>
		<description><![CDATA[Here is a good article on converting XML to JSON using a webservice: &#160;http://www.codeproject.com/soap/xml2json.asp
]]></description>
			<content:encoded><![CDATA[<p>Here is a good article on converting XML to JSON using a webservice: &nbsp;<a target="_blank" href="http://www.codeproject.com/soap/xml2json.asp">http://www.codeproject.com/soap/xml2json.asp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=8</wfw:commentRss>
		</item>
		<item>
		<title>AJAX Suggest / Intellisense / Auto-complete</title>
		<link>http://www.philhustead.com/blog/?p=7</link>
		<comments>http://www.philhustead.com/blog/?p=7#comments</comments>
		<pubDate>Wed, 24 Jan 2007 21:29:41 +0000</pubDate>
		<dc:creator>Philip Hustead</dc:creator>
		
		<category><![CDATA[Ajax]]></category>

		<category><![CDATA[All]]></category>

		<guid isPermaLink="false">http://www.philhustead.com/blog/?p=7</guid>
		<description><![CDATA[I am working on an&#160;ASP.NET&#160;project that uses a dropdown list with so many records that it is not practical to download them all on a page load.&#160; What I have done is created a Google Suggest like Ajax enabled dropdown that pulls records based on the first few characters entered and the number of records [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on an&nbsp;ASP.NET&nbsp;project that uses a dropdown list with so many records that it is not practical to download them all on a page load.&nbsp; What I have done is created a Google Suggest like Ajax enabled dropdown that pulls records based on the first few characters entered and the number of records returned.&nbsp; This makes for a much faster page load and better user experience.&nbsp; I plan on writing up an article and submitting it to <a href="http://www.codeproject.com/">www.codeproject.com</a>.&nbsp; After I right it up I will post a link to it here.&nbsp; Look for it in the next week&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.philhustead.com/blog/?feed=rss2&amp;p=7</wfw:commentRss>
		</item>
	</channel>
</rss>
