<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WPF Presents</title><link>http://blogs.msdn.com/tedhu/default.aspx</link><description>Ted Hu's Blog-a-tron</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Tunnel-vision</title><link>http://blogs.msdn.com/tedhu/archive/2006/08/17/704613.aspx</link><pubDate>Thu, 17 Aug 2006 21:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:704613</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/704613.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=704613</wfw:commentRss><description>&lt;font face="Verdana" size="2"&gt;I recently talked to a customer who
thought he was a bit "tunnel-visioned" as a .NET developer and wanted a
few books that weren't so tunnelled as well. &lt;br&gt;&lt;br&gt;After all, developers naturally
focus on parts of .NET that help them get their job done everyday. In
the process, it's easy to lose sight of the overall architecture to
fully take advantage of the underlying platform; one can have no real
idea how everything works under the hood and, more importantly, if there
is a fundamentally better approach to the problem that's a lot more
productive, performant, and extensible/maintainable.
&lt;br&gt;&lt;br&gt;While developer books out today can be rather fluffy, I think a couple of .NET books
stand out tall from the rest. The top 2 would have to be Jeffrey Richter’s &lt;a href="http://www.amazon.com/gp/explorer/0735621632/1/ref=pd_sxp_more/002-4941884-9896837?ie=UTF8&amp;amp;o=18&amp;amp;po=9"&gt;CLR via
C#&lt;/a&gt; and Juval Lowy’s &lt;a href="http://www.amazon.com/gp/product/0596102070/sr=1-1/qid=1154653543/ref=pd_bbs_1/002-4941884-9896837?ie=UTF8&amp;amp;s=books"&gt;Building .NET Components&lt;/a&gt;. They are simply the best
of kind, bar none. If you're looking to take your .NET development to
the next level, give them a read. They just might be the vision
correction you were looking for.&lt;/font&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=704613" width="1" height="1"&gt;</description></item><item><title>Peek under the hood of .NET 2.0's new Hosting APIs for the CLR</title><link>http://blogs.msdn.com/tedhu/archive/2006/08/10/694735.aspx</link><pubDate>Fri, 11 Aug 2006 00:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:694735</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/694735.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=694735</wfw:commentRss><description>&lt;P&gt;I was reading my trusty August 2006 MSDN Magazine and came across a jewel. Common Language Runtime (CLR) program managers &lt;SPAN class=clsBio&gt;Alessandro Catorcini and &lt;SPAN class=clsBio&gt;Piotr Puszkiewicz have a great nutshell piece that covers many of the knobs that developers can now use to fine-tune their apps for the CLR, using the new hosting APIs. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=clsBio&gt;&lt;SPAN class=clsBio&gt;So if you're interested in unmanaged hosts able to control very fine-grained details of the internal workings of the CLR, you now can.&amp;nbsp;Using the new .NET Framework 2.0 hosting APIs, a host can, in fact, place itself between the CLR and the operating system and broker any request from the CLR.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=clsBio&gt;&lt;SPAN class=clsBio&gt;&lt;A href="http://msdn.microsoft.com/msdnmag/issues/06/08/CLRInsideOut/default.aspx"&gt;Read on!&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=694735" width="1" height="1"&gt;</description></item><item><title>Get the special TechEd 2006 book on Microsoft Office SharePoint 2007 and Windows SharePoint Services 3.0 for FREE</title><link>http://blogs.msdn.com/tedhu/archive/2006/06/14/631619.aspx</link><pubDate>Thu, 15 Jun 2006 03:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:631619</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/631619.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=631619</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #003300"&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: #003300"&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;At TechEd 2006, a 200-page book was passed out to attendees, &lt;EM&gt;&lt;I&gt;&lt;SPAN style="FONT-FAMILY: Calibri"&gt;7 Development Projects for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0&lt;/SPAN&gt;&lt;/I&gt;&lt;/EM&gt;. If you didn't make it to Beantown, you can &lt;/FONT&gt;&lt;A title="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf" href="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7%20Development%20Projects%20with%20the%202007%20Microsoft%20Office%20System%20and%20Windows%20SharePoint%20Services%202007.pdf" target=_blank&gt;&lt;FONT title="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf" face=Verdana color=#000000 size=2&gt;&lt;SPAN title="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf" style="COLOR: #003300"&gt;download the entire book in PDF format&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;FONT face=Verdana color=#000000 size=2&gt;.&lt;/FONT&gt;&lt;A title="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf" href="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7%20Development%20Projects%20with%20the%202007%20Microsoft%20Office%20System%20and%20Windows%20SharePoint%20Services%202007.pdf" target=_blank&gt;&lt;FONT title="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf" color=#003300&gt;&lt;SPAN title="http://download.microsoft.com/download/0/2/f/02f0f661-88e1-43c2-b523-88d2e9e6802f/7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf" style="COLOR: #003300"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=631619" width="1" height="1"&gt;</description></item><item><title>Preview of Visual Studio Tools for Office v3 - March CTP now available </title><link>http://blogs.msdn.com/tedhu/archive/2006/04/03/567745.aspx</link><pubDate>Tue, 04 Apr 2006 03:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:567745</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/567745.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=567745</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Last week at the Office Developer Conference in Redmond, Bill Gates announced the availability of the March Community Technology Preview of Visual Studio Tools for Office 'v3'.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Please do note upfront, this CTP only works the &lt;EM&gt;Beta 1 Technical Refresh of Microsoft Office 2007&lt;/EM&gt;.&amp;nbsp; If you don't have the Beta 1 Technical Refresh of Microsoft Office 2007, there's a note below with more info; bottom-line is you'll have another shot later this spring.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;If you want to get a hands-on tutorial that covers the VSTO 'v3' CTP, you can find it &lt;A href="http://download.microsoft.com/download/5/5/8/55826AC5-FF9A-461D-ABC3-477E9D1829A7/VSTOv3CTPTutorial.doc"&gt;here&lt;/A&gt;.&amp;nbsp; Kathleen McGrath's blog also has a video that &lt;A href="/vsto2/archive/2006/03/21/556795.aspx"&gt;shows the CTP in action&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;The CTP is available &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2e85132b-7370-4137-a19a-15752ea83952&amp;amp;displaylang=en"&gt;here&lt;/A&gt;&amp;nbsp;for download. &lt;/FONT&gt;&lt;FONT face=Verdana size=2&gt;It installs with an existing Visual Studio 2005 installation.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;And&amp;nbsp;some blurbs from the the official announcement:&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class=downloadInfo&gt;&lt;SPAN&gt;&lt;FONT face=Verdana size=2&gt;This is the March 2006 Community Technology Preview of Microsoft Visual Studio Tools for Office "v3", planned for the next version of Microsoft Visual Studio ("Orcas"). &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;I&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" color=#a52a2a&gt;NOTE: This CTP requires you to have the Beta 1 Technical Refresh of Microsoft Office 2007. Only customers currently registered with the Microsoft Office 2007 Beta 1 program (including the Office Developer Conference 2006 attendees) are able to install this CTP. If you are not one of them, there will be another release of this CTP coming later this spring that will be available for installation by the general public.&lt;/FONT&gt;&lt;/I&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=567745" width="1" height="1"&gt;</description></item><item><title>Tides turning</title><link>http://blogs.msdn.com/tedhu/archive/2006/03/28/563606.aspx</link><pubDate>Wed, 29 Mar 2006 05:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:563606</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/563606.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=563606</wfw:commentRss><description>&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt;
&lt;P class=post-body style="MARGIN-RIGHT: 0px"&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=2&gt;&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt;Recently I was immersed in my other passion, economics, and came across a blurb about a&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt; new book, Tides Turning, which predicts that climate change is likely to be abrupt and cataclysmic—and that these sudden shifts could cripple national economies.&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt;Newsweek has an interesting interview with the book's author &lt;A href="http://www.msnbc.msn.com/id/12001020/site/newsweek/"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt;&lt;/SPAN&gt;&lt;SPAN face="trebuchet ms&lt;span style="&gt;&lt;/SPAN&gt;
&lt;P class=post-body&gt;&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt;&lt;FONT face=Verdana size=2&gt;Implicit in this article, and mainstream economists are the first to &lt;/FONT&gt;&lt;A href="http://tedhu.blogspot.com/2005/09/why-clean-air-isnt-free.html"&gt;&lt;FONT face=Verdana color=#bb3300 size=2&gt;admit&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt;, is the idea that there’s tremendous uncertainty and an unknown territory when it comes to modeling and estimating the costs of pollution, climate change, and natural disasters.&lt;BR&gt;&lt;BR&gt;Yet sometimes in the assumed belief that free markets address most issues big and small, we fail to realize that in reality there are significant limitations and &lt;/FONT&gt;&lt;A href="http://coase.org/coaseremarks2002.htm"&gt;&lt;FONT face=Verdana color=#bb3300 size=2&gt;staleness&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; with the economics discipline and free markets, particularly when dealing with uncertainty in complex, open systems with unknown transaction costs.&lt;BR&gt;&lt;BR&gt;This is despite Nobel economist &lt;/FONT&gt;&lt;A href="http://www.econlib.org/library/Enc/bios/Coase.html"&gt;&lt;FONT face=Verdana color=#bb3300 size=2&gt;Ronald Coase’s work&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana size=2&gt; decades ago on transaction and social costs, that is, when property rights are fixed and defined, it was possible to “internalize externalities” like pollution. While it was a good starting point it was only for closed systems (two parties) with known transaction costs.&lt;BR&gt;&lt;BR&gt;Unfortunately, meanwhile many have come to assume that mother nature is a trash collector that works for free, when it’s that we just don’t know how to accurately measure such externalities so it’s as if such costs don’t exist, even when it does and is often quite visible for show like Katrina.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE class=post-body&gt;
&lt;P&gt;&lt;SPAN style="FONT-FAMILY: trebuchet ms"&gt;&lt;FONT face=Verdana size=2&gt;To get a good sense of the limitations with Coase’s theorem as it applies to externalities like pollution, see &lt;/FONT&gt;&lt;A href="http://www.aliveness.com/kangaroo/L-chicoase.htm"&gt;&lt;FONT face=Verdana size=2&gt;A Critique of the Chicago School of Economics: Ronald Coase and the Coase Theorem&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=563606" width="1" height="1"&gt;</description></item><item><title>Virtual Server 2005 R2 installation detour</title><link>http://blogs.msdn.com/tedhu/archive/2006/02/02/523784.aspx</link><pubDate>Fri, 03 Feb 2006 06:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:523784</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/523784.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=523784</wfw:commentRss><description>&lt;p&gt;A really fun part of my job as Developer Evangelist is coding and figuring out how things work. And of course sometimes that involves installing new pieces of software that doesn't perform as expected. Since a lot of my time is spent with a lot of virtual machines I've been thinking about trying the recently released &lt;a href="http://www.microsoft.com/windowsserversystem/virtualserver/default.mspx"&gt;Microsoft Virtual Server 2005 R2&lt;/a&gt;. It's suppose to be a faster virtual environment than Virtual PC 2004&amp;nbsp;and easier to manage multiple virtual images with. All-in-all I've heard good things about it, so today I decided to give it a whirl. &lt;/p&gt;
&lt;p&gt;Installation seemed like a breeze - at first. Towards the end of the install just when I thought I was home free, an ominous error popped up, "&lt;em&gt;Error 1402: Could not open key: HKEY_LOCAL_MACHINE\Software\Classes\Msxml2.DOMDocument.4.0\CLSID.&amp;nbsp; Verify that you have sufficient access to that key, or contact your support personnel.” &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;To say the least, it felt like&amp;nbsp;an interesting geek detour had surfaced for the day. :)&lt;/p&gt;
&lt;p&gt;I proceed to crack open good ol' Regedit and try to open that registry key. Access denied. Tried to delete it. Access denied. Tried to change permissions to Full Control. No luck. It sounded like there was a lock on this key so I reboot into safe mode and tried Regedit again to delete it. Dang it, same thing.&lt;/p&gt;
&lt;p&gt;Ended up downloading a command-line tool from the Windows Resource Kit, Subinacl.exe, and put together a .cmd batch file with two lines of script:&lt;/p&gt;
&lt;blockquote dir="ltr" style="margin-right: 0px;"&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;After running that batch (still as Administrator), I was able to delete the registry key references. Woohoo :)&amp;nbsp;I ended up ridding all entries containing&amp;nbsp; &lt;em&gt;Msxml2.xx.4.0.&amp;nbsp;&lt;/em&gt;Now, MSXML 4.0 needed to be downloaded and reinstalled, which I promptly did, without a hitch. &lt;/p&gt;
&lt;p&gt;Almost an hour later, everything started looking up, and I was ready to try my luck again with Virtual Server. Went and started the install package, and voila, it worked! Now I'm running my virtual machine image of Windows Workflow Foundation and the performance is noticeably a whole lot better, with 600MB of RAM allocated for this instance and less than 15% CPU utlization on average just&amp;nbsp;performing standard compile and debug tasks. I was impressed.&amp;nbsp;The web interface and remote control client took a little getting use to; just spent 10 minutes figuring out how to navigate &amp;amp; configure VMs and it really was a breeze to work with after that.&lt;/p&gt;
&lt;p&gt;While the first thing I did notice right off the bat was&amp;nbsp;how much faster it was at running VMs, it also solved a thorny problem I was having with my home PC running Virtual PC 2004 SP1: There was a blue screen inside the VM everytime it was shut down, and the&amp;nbsp;resulting memory dump faults the PC's AMD x64 chipset. &lt;/p&gt;
&lt;p&gt;Now, everything runs without a hitch on Virtual Server so far. Next&amp;nbsp;I'll probably try loading a couple VMs side-by-side on my laptop and see how things fare. Hopefully everything will run decently on a 2.13GHz Pentium M with 2GB of RAM running on a separate disk spindle. &lt;/p&gt;
&lt;p&gt;It was an interesting hour or so, and at the end of which&amp;nbsp;having become rather fond of Virtual Server, I've decided to use it with all my future dev work and customer demos. Maybe you will too.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=523784" width="1" height="1"&gt;</description></item><item><title>A beginning</title><link>http://blogs.msdn.com/tedhu/archive/2006/02/02/523813.aspx</link><pubDate>Fri, 03 Feb 2006 06:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:523813</guid><dc:creator>Ted Hu</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tedhu/comments/523813.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tedhu/commentrss.aspx?PostID=523813</wfw:commentRss><description>&lt;p&gt;This is going to be my first technical blog, and as a Microsoft Developer Evangelist dedicated to the Communications Sector, I spend quite a bit of time with developers in the telcos and media &amp;amp; entertainment space. What to focus on is always a challenging question. For now, I've decided to take a stab at all things data (primarily ADO.NET) and workflow (Windows Workflow Foundation). Of course, that doesn't mean I won't focus on other areas or the occassional basketball or football reference, just hopefully on the whole I'll be able to talk about these two technology areas that I'm most interested in. And go Seahawks! :)&lt;br/&gt; &lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=523813" width="1" height="1"&gt;</description></item></channel></rss>