<?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>Aaron Lerch &#187; microsoft</title>
	<atom:link href="http://www.aaronlerch.com/blog/category/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronlerch.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 04 Apr 2010 03:04:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Off to TechEd 2008</title>
		<link>http://www.aaronlerch.com/blog/2008/06/01/off-to-teched-2008/</link>
		<comments>http://www.aaronlerch.com/blog/2008/06/01/off-to-teched-2008/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 17:27:05 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[community]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/06/01/off-to-teched-2008/</guid>
		<description><![CDATA[I&#8217;m leaving tomorrow for TechEd 2008 in Orlando, FL. I&#8217;m excited about it since it&#8217;s my first developer conference that isn&#8217;t targeted at a very specific purpose (like Interact 2008 was). I&#8217;m looking forward to attending some good sessions, meeting some people I&#8217;ve only ever e-listened to, and spending some relaxing evenings with my wife [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m leaving tomorrow for TechEd 2008 in Orlando, FL. I&#8217;m excited about it since it&#8217;s my first developer conference that isn&#8217;t targeted at a very specific purpose (like <a href="http://www.interact08.com/">Interact 2008</a> was). I&#8217;m looking forward to attending some good sessions, meeting some people I&#8217;ve only ever e-listened to, and spending some relaxing evenings with my wife who&#8217;s coming with to enjoy a little R&amp;R away from the <a href="http://picasaweb.google.com/aaronlerch/Kiddos">kids</a>.</p>
<p>Unfortunately, we&#8217;ve been <a href="http://www.indystar.com/apps/pbcs.dll/article?AID=/20080601/LOCAL18/806010402">without power</a> at our home since 10PM last Friday night due to storms and tornados. Not only is the power out in our area of the city, but a big tree fell on our specific power lines, ripping everything away from the house. So the weekend has been spent calling utility companies, contractors, waiting, and <a href="http://www.goodreads.com/review/list/92438">reading</a>. Our family lives far away, so we&#8217;ve really appreciated our friends who have welcomed us into their homes, shared their meals with us, and let us type blog posts from their laptops. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  (Thanks Shawn!)</p>
<p>If you&#8217;re going to TechEd and want to meet up, drop me an email at aaronlerch at gmail or <a href="http://twitter.com/aaronlerch">tweet me on twitter</a>. I&#8217;ll be at <a href="http://teched2008.partywithpalermo.com/">Party with Palermo</a> on Monday night.</p>
<p>See you in Orlando!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2008/06/01/off-to-teched-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft 2008 launch event in Indianapolis</title>
		<link>http://www.aaronlerch.com/blog/2008/01/19/microsoft-2008-launch-event-in-indianapolis/</link>
		<comments>http://www.aaronlerch.com/blog/2008/01/19/microsoft-2008-launch-event-in-indianapolis/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 20:25:41 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2008/01/19/microsoft-2008-launch-event-in-indianapolis/</guid>
		<description><![CDATA[I just saw that the registration site for the Windows Server 2008, SQL Server 2008, and Visual Studio 2008 launch event is up and accepting registrations. (via DotNetKicks) And I was really happy to see that Indianapolis is going to be hosting one on April 3rd! The last I heard it was up in the [...]]]></description>
			<content:encoded><![CDATA[<p>I just saw that the <a href="http://www.microsoft.com/heroeshappenhere/register/default.mspx">registration site</a> for the Windows Server 2008, SQL Server 2008, and Visual Studio 2008 launch event is up and accepting registrations. (via <a href="http://www.dotnetkicks.com/visualstudio/Free_Copy_of_VS_2008_SQL_2008_and_Windows_Server_2008">DotNetKicks</a>) And I was really happy to see that Indianapolis is going to be hosting one on April 3rd! The last I heard it was up in the air whether we&#8217;d get one or not, and I&#8217;m glad to see I won&#8217;t have to drive somewhere further away to get about $2000 worth of free software.</p>
<p><a href="http://www.microsoft.com/heroeshappenhere/register/default.mspx">Head on over and register!</a> And leave a comment here if you&#8217;re going &#8211; we could all have lunch together.</p>
<p><img src="http://aaronlerch.com.s3.amazonaws.com/images/IndyLaunchEvent.png"> </p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:831f52be-7d3f-49c7-96cf-c9ee356ef629" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Visual%20Studio" rel="tag">Visual Studio</a>, <a href="http://technorati.com/tags/SQL%20Server" rel="tag">SQL Server</a>, <a href="http://technorati.com/tags/Windows%20Server" rel="tag">Windows Server</a>, <a href="http://technorati.com/tags/Launch%20Event" rel="tag">Launch Event</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2008/01/19/microsoft-2008-launch-event-in-indianapolis/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>More Windows Vista backgrounds</title>
		<link>http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/</link>
		<comments>http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 22:18:26 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/</guid>
		<description><![CDATA[I&#8217;ve really enjoyed the default background images that have shipped with Vista. I think they&#8217;re beautiful, even if some don&#8217;t make great backgrounds behind a lot of desktop icons &#8211; if that&#8217;s the case, shame on you &#8211; clean that up! If you didn&#8217;t know, Microsoft commissioned some amateur photographers to capture live-image backgrounds. I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve really enjoyed the default background images that have shipped with Vista. I think they&#8217;re beautiful, even if some don&#8217;t make great backgrounds behind a lot of desktop icons &#8211; if that&#8217;s the case, shame on you &#8211; clean that up!</p>
<p><a href="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="image" src="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image_thumb.png" width="504" border="0"></a> </p>
<p>If you didn&#8217;t know, Microsoft commissioned some amateur photographers to capture live-image backgrounds. I think that&#8217;s a fantastic idea, as there&#8217;s some real talent out there (in many disciplines, not just photography) that hasn&#8217;t made the decision or had the opportunity to go professional. Long Zheng of <a href="http://www.istartedsomething.com/">istartedsomething.com</a> has <a href="http://www.istartedsomething.com/20070126/finding-vista-wallpapers/">more details</a> on the process and the results.</p>
<p>If you enjoy the shipped Vista backgrounds, you&#8217;ll be glad to know that <a href="http://www.flickr.com/people/darwishh/">Hamad Darwish</a>, one of the amateur photographers has released an additional pack of Vista backgrounds that didn&#8217;t make the Microsoft cut -and they&#8217;re fantastic. You can get the <a href="http://www.hamaddarwish.com/vista.html">download links from his website</a>.</p>
<p>The easiest way to view all the possible images without selecting each one individually via the &#8220;Browse&#8230;&#8221; button is to unzip the images to the public pictures folder, typically located here: C:\Users\Public\Pictures</p>
<p>They should show up under the &#8220;Public Pictures&#8221; option in the Location drop-list.</p>
<p><a href="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image_3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="364" alt="image" src="http://www.aaronlerch.com/files/blog/MoreWindowsVistabackgrounds_F339/image_thumb_3.png" width="504" border="0"></a> </p>
<p>Enjoy! Unless you <a href="http://www.codinghorror.com/blog/archives/000963.html">agree with Jeff Atwood</a>, then you should never see your background image anyway. <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And thanks, Hamad!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/11/27/more-windows-vista-backgrounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More fun with documentation</title>
		<link>http://www.aaronlerch.com/blog/2007/11/13/more-fun-with-documentation/</link>
		<comments>http://www.aaronlerch.com/blog/2007/11/13/more-fun-with-documentation/#comments</comments>
		<pubDate>Tue, 13 Nov 2007 18:36:10 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/11/13/more-fun-with-documentation/</guid>
		<description><![CDATA[Over a year ago I posted about some incomplete MSDN documentation. In continuing my &#8220;annual&#8221; series on interesting documentation tidbits, I got a kick out of the code example for the Environment.UserDomainName property: // Sample for the Environment.UserDomainName property using System; class Sample { public static void Main() { Console.WriteLine(); // &#60;-- Keep this information [...]]]></description>
			<content:encoded><![CDATA[<p>Over a year ago I <a href="http://www.aaronlerch.com/blog/2006/08/23/msdn-documentation-can-be-incomplete/">posted</a> about some incomplete MSDN documentation. In continuing my &#8220;annual&#8221; series on interesting documentation tidbits, I got a kick out of the code example for the <a href="http://msdn2.microsoft.com/en-us/library/system.environment.userdomainname.aspx">Environment.UserDomainName</a> property:</p>
<pre>// Sample for the Environment.UserDomainName property
using System;

class Sample
{
    public static void Main()
    {
    Console.WriteLine();
//  &lt;-- Keep this information secure! --&gt;
    Console.WriteLine("UserDomainName: {0}", Environment.UserDomainName);
    }
}
/*
This example produces the following results:
(Any result that is lengthy, specific to the machine on which this sample was tested, or reveals information that should remain secure, has been omitted and marked "!---OMITTED---!".)

UserDomainName: !---OMITTED---!
*/
</pre>
<p><strike>You heard it here first, folks! When you use the Environment.UserDomainName property, you&#8217;ll get !&#8212;OMITTED&#8212;! as the result. Why couldn&#8217;t they just put in an example domain for us?</strike></p>
<p>The real problem here is that I didn&#8217;t <em>fully</em> read the documentation. Further down the page, under &#8220;.NET Framework Security&#8221; it specifically says that it reads the value from the USERDOMAIN environment variable. I wasn&#8217;t sure whether the return results would be &#8220;aaronlerch&#8221; or &#8220;aaronlerch.com&#8221;, for example. If I would&#8217;ve read it all, I would&#8217;ve seen that I could verify by looking at $env:USERDOMAIN.</p>
<p><strike>P.S. I&#8217;m not slamming the doc folks, I think doc is so important and gets very overlooked at many companies &#8211; I&#8217;m glad Microsoft does pay a lot of attention to it, overall.</strike></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/11/13/more-fun-with-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joel on Packaging</title>
		<link>http://www.aaronlerch.com/blog/2007/08/20/joel-on-packaging/</link>
		<comments>http://www.aaronlerch.com/blog/2007/08/20/joel-on-packaging/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 12:37:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/08/20/joel-on-packaging/</guid>
		<description><![CDATA[See, I&#8217;m not crazy &#8211; Joel thinks the new Microsoft product packaging sucks too. (And we all know Joel isn&#8217;t one to criticize easily! )]]></description>
			<content:encoded><![CDATA[<p>See, <a href="http://www.aaronlerch.com/blog/2007/07/first-impressions-of-new-microsoft.html">I&#8217;m not crazy</a> &#8211; Joel <a href="http://www.joelonsoftware.com/items/2007/08/18.html">thinks the new Microsoft product packaging sucks too</a>. (And we all know Joel isn&#8217;t one to criticize easily! <img src='http://www.aaronlerch.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/08/20/joel-on-packaging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building on the Visual Studio 2008 Shell</title>
		<link>http://www.aaronlerch.com/blog/2007/08/01/building-on-the-visual-studio-2008-shell/</link>
		<comments>http://www.aaronlerch.com/blog/2007/08/01/building-on-the-visual-studio-2008-shell/#comments</comments>
		<pubDate>Wed, 01 Aug 2007 01:37:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/08/01/building-on-the-visual-studio-2008-shell/</guid>
		<description><![CDATA[I ran across this link today (by accident, actually): http://msdn2.microsoft.com/en-us/vstudio/bb510103.aspx Microsoft is opening up to VSIP partners the Visual Studio 2008 Shell, something the SQL Server 2005 Management Studio has taken advantage of for a while (with Visual Studio 2005&#8242;s shell). The part I found most interesting is this: Q: How much will the Visual [...]]]></description>
			<content:encoded><![CDATA[<p>I ran across this link today (by accident, actually):<br />
<a href="http://msdn2.microsoft.com/en-us/vstudio/bb510103.aspx" title="Visual Studio 2008 Shell">http://msdn2.microsoft.com/en-us/vstudio/bb510103.aspx</a></p>
<p>Microsoft is opening up to VSIP partners the Visual Studio 2008 Shell, something the <a href="http://msdn2.microsoft.com/en-us/library/ms174173.aspx" title="SQL Server 2005 Management Studio">SQL Server 2005 Management Studio</a> has taken advantage of for a while (with Visual Studio 2005&#8242;s shell).  The part I found most interesting is this:</p>
<blockquote><p><strong>Q: How much will the Visual Studio Shell cost?<br />
</strong>The Visual Studio Shell will be freely available as part of the Visual Studio SDK starting with the release of Visual Studio 2008. Building and deploying applications based on the Visual Studio Shell will be royalty-free.</p></blockquote>
<p><a href="http://www.aaronlerch.com/files/blog/BuildingontheVisualStudio2008Shell_179B/bb510103.isolatedMode_large.jpg" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/BuildingontheVisualStudio2008Shell_179B/bb510103.isolatedMode_large_thumb.jpg" style="border-width: 0px" alt="bb510103.isolatedMode_large" align="right" border="0" height="186" width="240" /></a>A completely free, proven application shell. That&#8217;s nothing but good. Any company offering any sort of &#8220;designer&#8221; (such as the example in the image) could leverage this shell for a relatively quick time-to-market application that &#8220;grandfathers in&#8221; all of the usability features the Visual Studio team has gathered and implemented over the years.</p>
<p>Microsoft is also offering an &#8220;integrated&#8221; mode (what I just mentioned would fall in the &#8220;isolated&#8221; mode).  Integrated mode means that your shell components will integrate into Visual Studio 2008 itself.</p>
<p>Here are the key benefits as Microsoft sees them (from the linked page):</p>
<ul>
<li><em>Faster Development.</em> The Visual Studio Shell accelerates development by providing a base integrated development environment that can host custom tools and programming languages.</li>
<li><em>A Familiar Environment. </em>Developers can build on the Visual Studio platform and provide end users a familiar user interface, speeding the learning curve for both.</li>
<li><em>Optimized for Languages &amp; Tools.</em> Created in response to requests from our partners, the Visual Studio Shell gives you the option of integrating your tools with Visual Studio or creating an isolated, custom-branded application.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/08/01/building-on-the-visual-studio-2008-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First impressions of the new Microsoft product packaging</title>
		<link>http://www.aaronlerch.com/blog/2007/07/06/first-impressions-of-the-new-microsoft-product-packaging/</link>
		<comments>http://www.aaronlerch.com/blog/2007/07/06/first-impressions-of-the-new-microsoft-product-packaging/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 15:53:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2007/07/06/first-impressions-of-the-new-microsoft-product-packaging/</guid>
		<description><![CDATA[Windows Vista and Microsoft Office 2007 have been released for a while now, but I finally got around to purchasing a retail version so I can use them at home (in addition to my MSDN/volume license versions at work). The packaging looks very sleek and &#8220;mac-like&#8221;. Nevermind that trying to stack them results in a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aaronlerch.com/files/blog/FirstimpressionsofthenewMicrosoftproduct_DF57/image.png" atomicselection="true"><img src="http://www.aaronlerch.com/files/blog/FirstimpressionsofthenewMicrosoftproduct_DF57/image_thumb.png" style="border-width: 0px" alt="image" align="right" border="0" height="240" width="217" /></a> Windows Vista and Microsoft Office 2007 have been released for a while now, but I finally got around to purchasing a retail version so I can use them at home (in addition to my MSDN/volume license versions at work).  The packaging looks very sleek and &#8220;mac-like&#8221;.  Nevermind that trying to stack them results in a big pile of plastic boxes.  It&#8217;s trendy and shiny and cool. Nevermind that trying to open the package results in the use of a screwdriver, hammer and a few &#8220;choice&#8221; words.  <a href="http://windowsvistablog.com/blogs/windowsvista/archive/2006/10/30/announcing-new-packaging-for-windows-vista-and-2007-office-system.aspx">It&#8217;s a complete redesign foreshadowing &#8220;the great experience that awaits you once you open it&#8221;.</a>  Nevermind that it took me and 3 intelligent co-workers at least 2-5 minutes each to figure it out.  (To our credit, and Microsoft&#8217;s debit, it was exacerbated due to additional stickers holding it shut.)  It&#8217;s the wave of the future!  Nevermind that mom and dad and grandma and grandpa will never get it open, ever.</p>
<p>Other people have noticed this also, and responded by <a href="http://www.hive.net/Member/blogs/the_wow/archive/2007/02/28/How-to-open-your-Windows-Vista-Box.aspx">posting &#8220;how-to&#8221; explanations</a>.  <a href="http://www.youtube.com/watch?v=TDcjN2Cqo8s">There&#8217;s even one on YouTube.</a>  I&#8217;ve been using Vista and Office 2007 for a while now, and I can attest that the experience with opening the packaging is worse than the experience with the OS, but c&#8217;mon&#8211;sometimes packaging innovation is more harmful than helpful. If your package prevents people from getting at your product, you&#8217;ve got a serious problem.  I may not be a typical user, but when I open software, the packaging gets chucked and the media gets put into a 150 CD holder.</p>
<p>If you need &#8220;how-to&#8221; instructions just to open the box, you&#8217;ve lost the game already.  I just got a MacBook Pro (and iPod and Printer&#8211;hooray for student discounts!) yesterday, and couldn&#8217;t be more impressed with the difference in packaging between Microsoft&#8217;s products and Apple&#8217;s.  This classic video says it all.  Apple rules the packaging space.</p>
<p><embed src="http://www.youtube.com/v/0pXL5_RvGrs" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2007/07/06/first-impressions-of-the-new-microsoft-product-packaging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSDN Wiki</title>
		<link>http://www.aaronlerch.com/blog/2006/08/25/msdn-wiki/</link>
		<comments>http://www.aaronlerch.com/blog/2006/08/25/msdn-wiki/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 16:03:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2006/08/25/msdn-wiki/</guid>
		<description><![CDATA[No sooner did I post saying that MSDN docs are incomplete than I remembered that there&#8217;s an effort at Microsoft to allow the community to add comments. Check out the wiki at http://msdnwiki.microsoft.com/ I already went through and added the comments I felt were appropriate for HttpListenerResponse.SendChunked and HttpListenerResponse.ContentLength64. Good for you, MSDN!]]></description>
			<content:encoded><![CDATA[<p>No sooner did I post saying that MSDN docs are incomplete than I remembered that there&#8217;s an effort at Microsoft to allow the community to add comments.</p>
<p>Check out the wiki at <a href="http://msdnwiki.microsoft.com/">http://msdnwiki.microsoft.com/</a></p>
<p>I already went through and added the comments I felt were appropriate for <a href="http://msdnwiki.microsoft.com/en-us/mtpswiki/system.net.httplistenerresponse.sendchunked%28VS.80%29.aspx">HttpListenerResponse.SendChunked</a> and <a href="http://msdnwiki.microsoft.com/en-us/mtpswiki/system.net.httplistenerresponse.contentlength64%28VS.80%29.aspx">HttpListenerResponse.ContentLength64</a>.</p>
<p>Good for you, MSDN!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2006/08/25/msdn-wiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSDN documentation can be incomplete.</title>
		<link>http://www.aaronlerch.com/blog/2006/08/23/msdn-documentation-can-be-incomplete/</link>
		<comments>http://www.aaronlerch.com/blog/2006/08/23/msdn-documentation-can-be-incomplete/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 00:14:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2006/08/23/msdn-documentation-can-be-incomplete/</guid>
		<description><![CDATA[Well, incomplete in my opinion anyway. A co-worker was having a problem with his in-process HTTP server written using the very cool HttpListener class available in .NET 2.0 (on Win2k3 and WinXP SP2 only). In his code he was attempting to enable chunking of the response by setting the HttpListenerResponse.SendChunked property to true. Great! But [...]]]></description>
			<content:encoded><![CDATA[<p>Well, incomplete in my opinion anyway.</p>
<p>A co-worker was having a problem with his in-process HTTP server written using the very cool <a href="http://msdn2.microsoft.com/en-us/library/system.net.httplistener.aspx">HttpListener</a> class available in .NET 2.0 (on Win2k3 and WinXP SP2 only).  In his code he was attempting to enable chunking of the response by setting the <a href="http://msdn2.microsoft.com/en-us/library/system.net.httplistenerresponse.sendchunked.aspx">HttpListenerResponse.SendChunked</a> property to true.  Great!  But it didn’t chunk.  Why? Because his code looked like this:</p>
<p><font face="Courier New">HttpListener listener;  <font color="#009f00">// Created elsewhere</font><br />
HttpListenerContext context = listener.GetContext();<br />
<font color="#009f00">// Open a file/stream/whatever, etc.</font><br />
System.IO.Stream stream; <font color="#009f00">// = …</font><br />
context.Response.SendChunked = <font color="#0000ff">true</font>;<br />
context.Response.ContentLength64 = stream.Length;<br />
<font color="#009f00">// etc.</font></font></p>
<p>According to the documentation, there’s nothing wrong with that.  What they don’t tell you, however, is that SendChunked and ContentLength64 are mutually exclusive.  Setting one negates the effect of the other.  After a couple of minutes of reflection (both mentally, theoretically, and most importantly <a href="http://www.aisto.com/roeder/dotnet/">programmatically</a>) on the subject, this fact started rising to the surface.</p>
<p>To me, that’s worth putting in at least a comment in the documentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2006/08/23/msdn-documentation-can-be-incomplete/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>This just in:  I&#8217;m a moron.</title>
		<link>http://www.aaronlerch.com/blog/2005/12/15/this-just-in-im-a-moron/</link>
		<comments>http://www.aaronlerch.com/blog/2005/12/15/this-just-in-im-a-moron/#comments</comments>
		<pubDate>Thu, 15 Dec 2005 18:46:00 +0000</pubDate>
		<dc:creator>aaron</dc:creator>
				<category><![CDATA[microsoft]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://www.aaronlerch.com/blog/2005/12/15/this-just-in-im-a-moron/</guid>
		<description><![CDATA[A while back, I posted about VS.NET not accepting non-standard ports for web services when adding them via &#8220;Add Web Reference&#8230;&#8221;. I would like to update that post and say that boy, am I a moron. Of COURSE it can accept non-standard ports (and I wondered how they could leave that simple &#8220;feature&#8221; out of [...]]]></description>
			<content:encoded><![CDATA[<p>A while back, I <a href="http://aaronlerch.blogspot.com/2005/02/referencing-web-service-using-non.html">posted</a> about VS.NET not accepting non-standard ports for web services when adding them via &#8220;Add Web Reference&#8230;&#8221;.  I would like to update that post and say that boy, am I a moron.  Of COURSE it can accept non-standard ports (and I wondered how they could leave that simple &#8220;feature&#8221; out of VS.NET!)</p>
<p>I attended the VS 2005 launch event  in my hometown today (Indianapolis), and at the &#8220;Meet the Experts&#8221; session afterwards, I presented a similar problem to the one I mentioned previously to the VS.NET 2005 expert.  Well, long story short, <a href="http://blogs.msdn.com/wsteele/">Bill Steele</a> found the solution to my problem (thank you!).  It was that the disco generated by the web service on the server (a 3rd-party web service) was incorrect, it was redirecting the WS consumer to an invalid URL (hence VS.NET wasn&#8217;t able to auto-generate the reference to it).  Well, about 10 minutes later, on my way home, it hit me like a smack in the face that the issue I previously had was with the same WS provider, and that I never did test my &#8220;issue&#8221; in my own controlled environment.  Geez.  I feel like a moron!  I would bet extremely large sums of money that it was the same issue then that I am seeing now.  (the old URL is now defunct, so I can&#8217;t test it against their server, and I don&#8217;t feel like taking the time to prove it since I&#8217;m so sure of what the problem was)  I will keep my old blog post around just to remind me to always hunt down ALL avenues&#8211;I had left one unexplored last time (and this time) and it happened to be the one place the error existed.</p>
<p>So thanks to Bill! You really are the expert!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronlerch.com/blog/2005/12/15/this-just-in-im-a-moron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
