<feed xmlns:dc="http://purl.org/dc/elements/1.1/" 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="http://www.w3.org/2005/Atom" xml:lang="en-US">
    <title>ZarkBlog</title>
    <link rel="self" type="application/xml" href="http://geekswithblogs.net/ZarkBlog/Atom.aspx" />
    <subtitle type="html">You had me at "Hello World"</subtitle>
    <id>http://geekswithblogs.net/ZarkBlog/Default.aspx</id>
    <author>
        <name>Greg Zarkis</name>
        <uri>http://geekswithblogs.net/ZarkBlog/Default.aspx</uri>
    </author>
    <generator uri="http://subtextproject.com" version="Subtext Version 0.0.0.0">Subtext</generator>
    <updated>2009-02-12T08:55:54Z</updated>
    <entry>
        <title>From the Dept. of Redundancy Dept.</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx" />
        <id>http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx</id>
        <published>2009-02-05T16:55:00-05:00:00</published>
        <updated>2009-02-05T16:57:29Z</updated>
        <content type="html">&lt;p&gt;Please stop coding like this. It hurts my eyes.&lt;/p&gt;
&lt;div style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; BACKGROUND: black; COLOR: white; FONT-FAMILY: Consolas"&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   62&lt;/span&gt; &lt;span style="COLOR: gray"&gt;///&lt;/span&gt;&lt;span style="COLOR: green"&gt; &lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&lt;span style="COLOR: green"&gt;Check whether any Foobar is available&lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   63&lt;/span&gt; &lt;span style="COLOR: gray"&gt;///&lt;/span&gt;&lt;span style="COLOR: green"&gt; &lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;returns&amp;gt;&lt;/span&gt;&lt;span style="COLOR: green"&gt;True / False based on if Foobar is there or not&lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   64&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;private&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;bool&lt;/span&gt; CheckForFoobar()&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   65&lt;/span&gt; {&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   66&lt;/span&gt;    &lt;span style="COLOR: #cc7832"&gt;if&lt;/span&gt; (FoobarHelper.CheckForFoobar() == &lt;span style="COLOR: #cc7832"&gt;true&lt;/span&gt;)&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   67&lt;/span&gt;    {&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   68&lt;/span&gt;        &lt;span style="COLOR: #cc7832"&gt;return&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;true&lt;/span&gt;;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   69&lt;/span&gt;    }&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   70&lt;/span&gt;    &lt;span style="COLOR: #cc7832"&gt;else&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   71&lt;/span&gt;    {&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   72&lt;/span&gt;        &lt;span style="COLOR: #cc7832"&gt;return&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;false&lt;/span&gt;;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   73&lt;/span&gt;    }&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   74&lt;/span&gt; }&lt;/p&gt;
&lt;/div&gt;&lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/129230.aspx" width="1" height="1" /&gt;</content>
    </entry>
    <entry>
        <title>Text Template Transformation Toolkit (T4)</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx" />
        <id>http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx</id>
        <published>2008-04-15T22:30:56-04:00:00</published>
        <updated>2008-10-07T09:12:48Z</updated>
        <content type="html">&lt;p&gt;On a recent episode of .NET Rocks, I heard a quote along the lines of "Is it easier to write the code that writes the code or to write the code yourself?" If you want to generate some code with a tool, then this post is for you.&lt;/p&gt;
&lt;p&gt;The T4 has to be the most popular tool that I hear so little about. Like CodeSmith, T4 is a template based code generation engine using ASP-like syntax. The best thing about T4 is that if you have Visual Studio 2008 installed, you already have it. I originally intended to write a brief overview here, but &lt;a target="_blank" href="http://www.olegsych.com/"&gt;Oleg Sych&lt;/a&gt; has already written an *excellent* overview &lt;a target="_blank" href="http://www.olegsych.com/2007/12/text-template-transformation-toolkit/"&gt;here&lt;/a&gt;. I could hardly top that.&lt;/p&gt;
&lt;p&gt;Madhavrao has also complied a list of links to MSDN articles related to T4 &lt;a target="_blank" href="http://madhavrao.com/2008/03/15/t4-how-to/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/121276.aspx" width="1" height="1" /&gt;</content>
    </entry>
    <entry>
        <title>VPC to VMWare Mouse Problems</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx" />
        <id>http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx</id>
        <published>2008-01-14T10:39:24-05:00:00</published>
        <updated>2008-10-07T09:12:23Z</updated>
        <content type="html">&lt;p&gt;Thanks to Virtual PC's inability to utilize USB (insert the 'Old Bit' siren sound) and my need for USB support in my virtual machines, I'm in the process of moving some VPC images to &lt;em&gt;VMWare Workstation 6&lt;/em&gt;. Recently, I've converted an existing Virtual PC based XP image to VMWare using the the VMWare 3.0.2 converter with no issues. No issues that is until it was time to install the VMWare tools on my recently converted XP machine. The install went fine, but after the required virtual machine reboot, I found that my mouse pointer was more or less stuck in the bottom right corner of the guest's screen. The mouse pointer itself moved around freely, but any clicks hit a target off screen. Not a very useful "enhancement". &lt;/p&gt;
&lt;p&gt;Well, it turns out that this may be an issue between the &lt;em&gt;Virtual PC Additions&lt;/em&gt; that were already installed on the VPC based image and the &lt;em&gt;VMWare Tools&lt;/em&gt;. Specifically, the mouse driver. After some trial and error, I've found two workarounds to this:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Remove Virtual PC Additions from the virtual &lt;strong&gt;before&lt;/strong&gt; conversion to VMWare. &lt;/li&gt;
    &lt;li&gt;Install &lt;em&gt;VMWare Tools&lt;/em&gt; on the converted virtual &lt;strong&gt;without&lt;/strong&gt; the VMWare Mouse driver. This means that you should install the VMWare Tools while logged into the existing virtual rather than silently via the VMWare menu. &lt;br /&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;p align="center"&gt;&lt;a href="http://gwb.blob.core.windows.net/zarkblog/WindowsLiveWriter/VPCtoVMWareMouseProblems_957D/CustomInstall_2.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border="0" alt="CustomInstall" width="391" height="302" src="http://gwb.blob.core.windows.net/zarkblog/WindowsLiveWriter/VPCtoVMWareMouseProblems_957D/CustomInstall_thumb.jpg" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/118526.aspx" width="1" height="1" /&gt;</content>
    </entry>
    <entry>
        <title>More MVC Framework for ASP.NET</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx" />
        <id>http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx</id>
        <published>2007-12-06T13:31:22-05:00:00</published>
        <updated>2008-10-07T09:12:15Z</updated>
        <content type="html">&lt;p&gt;If you haven't been living under a mushroom, you're most likely aware of Scott Guthrie's posts on Microsoft's new ASP.NET MVC Framework. If you are indeed living under a mushroom, then you can check out &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/12/06/asp-net-mvc-framework-part-3-passing-viewdata-from-controllers-to-views.aspx"&gt;Part 3 right here&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/117437.aspx" width="1" height="1" /&gt;</content>
    </entry>
    <entry>
        <title>MVC Framework for ASP.NET bits</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx" />
        <id>http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx</id>
        <published>2007-11-12T22:57:03-05:00:00</published>
        <updated>2008-10-07T09:12:08Z</updated>
        <content type="html">You may have heard about it, now take a peek at it. &lt;a href="http://www.hanselman.com/blog/"&gt;Scott Hanselman&lt;/a&gt; has posted some MVC bits from DevConnections. You can read about it &lt;a href="http://www.hanselman.com/blog/DevConnectionsAndPNPSummitMVCDemosSourceCode.aspx"&gt;here&lt;/a&gt;. There's not a lot yet, but word is that a CTP is around the corner.&lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/116816.aspx" width="1" height="1" /&gt;</content>
    </entry>
    <entry>
        <title>Composite UI Resources</title>
        <link rel="self" type="text/html" href="http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx" />
        <id>http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx</id>
        <published>2007-08-03T00:07:34-04:00:00</published>
        <updated>2008-10-07T09:11:46Z</updated>
        <content type="html">&lt;p&gt;I've been struggling to get a post out here, so let me begin with a quick list of some of my favorite CAB resources; &lt;/p&gt;
&lt;p&gt;Szymon Kobalczyk's Blog:&lt;br /&gt;
&lt;a href="http://geekswithblogs.net/kobush/archive/2006/01/06/65033.aspx"&gt;Understanding Composite UI Application Block &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CabPedia&lt;br /&gt;
&lt;a href="http://www.cabpedia.com/index.php?title=Composite_UI_Application_Block"&gt;Getting started with CAB&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.cabpedia.com/index.php?title=Where_to_start%3F"&gt;Getting started with SCSF&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codeplex.com/smartclient/"&gt;CodePlex&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://codebetter.com/blogs/jeremy.miller/archive/2007/07/25/the-build-your-own-cab-series-table-of-contents.aspx"&gt;Jeremy Miller's awesome "Build your own CAB" series&lt;/a&gt;, which &lt;a href="http://weblogs.asp.net/bsimser/default.aspx"&gt;Bil Simser&lt;/a&gt; points out to &lt;a href="http://weblogs.asp.net/bsimser/archive/2007/05/29/efficiency-vs-effectiveness-the-cab-debate-continues.aspx"&gt;'not look at it as "how to replace CAB" but rather "how to learn what it takes to build CAB"'&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;That's the short list off the top of my head for now. Hopefully between iterations and beta releases, I'll find more time to share my experiences with developing a Smart Client app using &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/cab.asp"&gt;CAB&lt;/a&gt;, &lt;a href="http://www.codeplex.com/smartclient"&gt;SCSF&lt;/a&gt;, &lt;a href="http://cruisecontrol.net/"&gt;CruiseControl.NET&lt;/a&gt;, &lt;a href="http://svnbook.red-bean.com/"&gt;Subversion&lt;/a&gt;, and all the other little things that make this stuff fun. &lt;/p&gt;&lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/114366.aspx" width="1" height="1" /&gt;</content>
    </entry>
</feed>