<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>yysun&#039;s space</title>
	<atom:link href="http://yysun.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://yysun.wordpress.com</link>
	<description>Just another WordPress.com site</description>
	<lastBuildDate>Sun, 20 Nov 2011 15:57:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='yysun.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>yysun&#039;s space</title>
		<link>http://yysun.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://yysun.wordpress.com/osd.xml" title="yysun&#039;s space" />
	<atom:link rel='hub' href='http://yysun.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Nil eats messages</title>
		<link>http://yysun.wordpress.com/2011/11/03/nil-eats-messages/</link>
		<comments>http://yysun.wordpress.com/2011/11/03/nil-eats-messages/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 20:11:58 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/11/03/nil-eats-messages/</guid>
		<description><![CDATA[One feature I liked of iOS objective-c is nil-eats-messages. Basically it does a NO-OP if sending messages (invoking methods) on a nil (null) object. If had it in C#, we would have less crashes because of the NullReferenceException.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=347&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One feature I liked of iOS objective-c is nil-eats-messages. Basically it does a NO-OP if sending messages (invoking methods) on a nil (null) object. </p>
<p>If had it in C#, we would have less crashes because of the NullReferenceException.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=347&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/11/03/nil-eats-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>
	</item>
		<item>
		<title>Chinese in Git Comments and Branch Name</title>
		<link>http://yysun.wordpress.com/2011/09/25/chinese-in-git-comments-and-branch-name/</link>
		<comments>http://yysun.wordpress.com/2011/09/25/chinese-in-git-comments-and-branch-name/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 14:01:22 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitscc]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/09/25/chinese-in-git-comments-and-branch-name/</guid>
		<description><![CDATA[It was a totally surprise to myself that GitScc is able to use Chinese in comments and branch names. In the real world I would not use this feature, because none of git bash, git extensions or tortoise git could work like this. But it is cool! [UPDATE]:&#160; At the beginning gitscc uses ngit (a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=343&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It was a totally surprise to myself that <a href="http://gitscc.codeplex.com/">GitScc</a> is able to use Chinese in comments and branch names. </p>
<p><a href="http://yysun.files.wordpress.com/2011/09/image4.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/09/image_thumb4.png?w=480&#038;h=377" width="480" height="377" /></a></p>
<p>In the real world I would not use this feature, because none of git bash, git extensions or tortoise git could work like this. But it is cool!</p>
<p>[UPDATE]:&#160; At the beginning gitscc uses ngit (a jgit port) at the beginning, which works well with utf-8 file names. But it does handle autocrlf flag and not triggering hooks. Later on gitsscc uses msysgit instead. It then went into some issues related to non-ascii file names with msysgit.</p>
<p>Good news is that it looks like <a href="http://groups.google.com/group/msysgit/msg/583d3fba27b01c5f">msysgit will soon have utf-8 support</a>. </p>
<blockquote><p>This is only relevant if you used non-ASCII file names with previous Git      <br />for Windows versions (V1.7.6 and earlier). </p>
<p>Previous Git for Windows versions stored file names in the default      <br />encoding of the originating Windows system, making these repositories       <br />incompatible with other Windows language-versions and other Git versions (including Cygwin-git and JGit / EGit on Windows). </p>
<p>The Unicode-enabled Git for Windows stores file names UTF-8 encoded. </p>
</blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/343/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=343&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/09/25/chinese-in-git-comments-and-branch-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/09/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Announcing A New Graphic View of Git Repository</title>
		<link>http://yysun.wordpress.com/2011/09/09/announcing-a-new-graphic-view-of-git-repository/</link>
		<comments>http://yysun.wordpress.com/2011/09/09/announcing-a-new-graphic-view-of-git-repository/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 13:35:29 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitscc]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/09/09/announcing-a-new-graphic-view-of-git-repository/</guid>
		<description><![CDATA[I am glad to announce that I successfully created a new type of graphic view of Git repository in the gitscc project. It displays commits horizontally with heads, tags and remotes annotations. Other Git programs, such as Gitk, Git Extensions, TortoiseGit usually show git logs vertically. But Git documentations, books and tutorials usually use horizontal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=339&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am glad to announce that I successfully created a new type of graphic view of Git repository in the <a href="http://gitscc.codeplex.com/">gitscc</a> project.</p>
<p><a href="http://yysun.files.wordpress.com/2011/09/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/09/image_thumb.png?w=480&#038;h=102" width="480" height="102" /></a></p>
<p>It displays commits horizontally with heads, tags and remotes annotations.</p>
<p>Other Git programs, such as Gitk, Git Extensions, TortoiseGit usually show git logs vertically. But Git documentations, books and tutorials usually use horizontal view to illustrate the structure of the Git repository. E.g the one from git-merge help page.</p>
<p><a href="http://yysun.files.wordpress.com/2011/09/image1.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/09/image_thumb1.png?w=195&#038;h=50" width="195" height="50" /></a></p>
<p>And the one from&#160; <a href="http://progit.org/book/ch3-6.html">Pro Git Book</a>.</p>
<p><img style="margin:0 0 10px;" src="http://progit.org/figures/ch3/18333fig0329-tn.png" />&#160;</p>
<p>I believe horizontal view is easier to understand. A lot of documents that explain the concept of branching and merging use horizontal view. They even have traces back to SVN and CVS.</p>
<p>Anyway, What’s new in <a href="http://gitscc.codeplex.com/">gitscc</a>’s view besides being horizontal?</p>
<p>The view has simplified (or condensed) mode, which omits commits that are less important. It only shows commits that have refs (heads, tags and remotes) or have multiple parents/children. E.g. There are 5 commits in the following picture.</p>
<p><a href="http://yysun.files.wordpress.com/2011/09/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/09/image_thumb2.png?w=480&#038;h=105" width="480" height="105" /></a></p>
<p>Using the simplified (or condensed) mode, it becomes like below.</p>
<p><a href="http://yysun.files.wordpress.com/2011/09/image3.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/09/image_thumb3.png?w=480&#038;h=135" width="480" height="135" /></a></p>
<p>The simplified view has huge benefits. It highlights the structure of the git repository with less tiny details. The first picture of this post is a simplified view of gitscc repository. 10+ commits between 0.7.0 and V0.8.0 are omitted. </p>
<p>It solves a concern of the idea of commit often. The concern was too many smaller commit crowd the log view. With the simplified view this is no longer an issue. Smaller commits won’t show up.</p>
<p>I am planning add more interactive actions to this new Git History View. E.g, I can drag the ‘master’ head and drop it on the ‘develop’ head. It triggers a merge of these two branches ……</p>
<p>Stay tuned. It will come in <a href="http://gitscc.codeplex.com/">gitscc</a> V0.9.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/339/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=339&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/09/09/announcing-a-new-graphic-view-of-git-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/09/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/09/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://progit.org/figures/ch3/18333fig0329-tn.png" medium="image" />

		<media:content url="http://yysun.files.wordpress.com/2011/09/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/09/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Git Pending Changes in Visual Studio</title>
		<link>http://yysun.wordpress.com/2011/08/09/git-pending-changes-in-visual-studio/</link>
		<comments>http://yysun.wordpress.com/2011/08/09/git-pending-changes-in-visual-studio/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 13:34:54 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitscc]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/08/09/git-pending-changes-in-visual-studio/</guid>
		<description><![CDATA[After replaced GitSharp with ngit, the Pending Changes Tool Window in GitScc is moving forward, even with a diff view. A preview (version as 0.6.8) has been released. Final version (0.7.0) will be release ready soon I hope. But UI like this has many tedious details. Any help is welcome,&#160; please fork the source at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=328&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After replaced <a href="https://github.com/henon/GitSharp">GitSharp</a> with <a href="http://www.google.ca/url?sa=t&amp;source=web&amp;cd=1&amp;ved=0CBcQFjAA&amp;url=https%3A%2F%2Fgithub.com%2Fslluis%2Fngit&amp;ei=uzNBTrCUCK-DsAL7q4XkCQ&amp;usg=AFQjCNECDO2U2hBxGouPnEWtmz7ed6nzdw">ngit</a>, the Pending Changes Tool Window in <a href="http://gitscc.codeplex.com/">GitScc</a> is moving forward, even with a diff view.</p>
<p><a href="http://yysun.files.wordpress.com/2011/08/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/08/image_thumb.png?w=472&#038;h=337" width="472" height="337" /></a></p>
<p>A <a href="http://gitscc.codeplex.com/releases/view/71340">preview (version as 0.6.8)</a> has been released. Final version (0.7.0) will be release ready soon I hope. But UI like this has many tedious details. Any help is welcome,&#160; please fork the source at <a href="https://github.com/yysun/Git-Source-Control-Provider/tree/dev-V0.7.0">github</a>.</p>
<p>[UPDATE #1] The screenshot above shows that I use gitscc in developing gitscc. I noticed that with this new pending changes window, the recent commits I made are more organized, tidy and <a href="http://yysun.wordpress.com/2010/02/17/meaningful-commit-history/">meaningful</a>. This is truly a result of a convenient tool can provide. </p>
<p>[UPDATE #2] <a href="http://blogs.msdn.com/b/bharry/archive/2011/08/02/version-control-model-enhancements-in-tfs-11.aspx">TFS gets the concept of “local”</a>. Although it has only local workspace (working directory) and no local history yet, it is still a good news. It has not the instant diff view. But the its <a href="http://www.youtube.com/watch?v=g8Hf067fKUU">web page like pending changes display</a> is interesting …</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/328/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=328&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/08/09/git-pending-changes-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/08/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Use NuGet Console with Git</title>
		<link>http://yysun.wordpress.com/2011/07/30/use-nuget-console-with-git/</link>
		<comments>http://yysun.wordpress.com/2011/07/30/use-nuget-console-with-git/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 17:10:19 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/07/30/use-nuget-console-with-git/</guid>
		<description><![CDATA[The NuGet Manager Console is a PowerShell console. It works with posh-git. It has tab completion on commands and even on remotes and branch names. It does not show current branch name in prompt. That’s OK to me. But it cannot push to guthub through https. It hangs and does not show a prompt/dialogue to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=325&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The NuGet Manager Console is a PowerShell console. It works with <a href="https://github.com/dahlbyk/posh-git">posh-git</a>. </p>
<p><a href="http://yysun.files.wordpress.com/2011/07/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/07/image_thumb.png?w=467&#038;h=174" width="467" height="174" /></a></p>
<p>It has tab completion on commands and even on remotes and branch names. It does not show current branch name in prompt. That’s OK to me. But it cannot push to guthub through https. It hangs and does not show a prompt/dialogue to collect password. This seems to be a problem to me, because I only use https.</p>
<p><a href="http://yysun.files.wordpress.com/2011/07/image1.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/07/image_thumb1.png?w=473&#038;h=84" width="473" height="84" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/325/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=325&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/07/30/use-nuget-console-with-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Sync Data between C#, JavaScript and HTML</title>
		<link>http://yysun.wordpress.com/2011/07/27/sync-data-between-c-javascript-and-html/</link>
		<comments>http://yysun.wordpress.com/2011/07/27/sync-data-between-c-javascript-and-html/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 13:23:51 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[rabbit framework]]></category>
		<category><![CDATA[razor]]></category>
		<category><![CDATA[webmatrix]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/07/27/sync-data-between-c-javascript-and-html/</guid>
		<description><![CDATA[Recently I have made some improvements to the Rabbit Framework. I figured out how to inject a base class between WebPage and the Razor page, so that to create a Web Form or a MVC controller is just to inherit from the base classes. @inherits Rabbit.WebForm @functions { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; void button_click(string name) &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=318&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I have made some improvements to the <a href="http://rabbit.codeplex.com/">Rabbit Framework</a>. I figured out how to inject a base class between WebPage and the Razor page, so that to create a Web Form or a MVC controller is just to inherit from the base classes.</p>
<p>@inherits Rabbit.WebForm   <br />@functions {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; void button_click(string name)    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />}</p>
<p>Or</p>
<p>@inherits Rabbit.MvcController   <br />@functions {&#160;&#160; <br />&#160;&#160;&#160; [Get(&quot;/&quot;)]    <br />&#160;&#160;&#160; void Index() {    <br />}</p>
<p>Another interesting thing I did is to sync data between C#, JavaScript and HTML inputs. </p>
<p>1. C# fields (both public and non-public) are populated with HTML inputs.</p>
<p>&lt;input type=”text” name=”txtEmail” value=”@txtEmail”/&gt;</p>
<p>@functions {   <br />&#160;&#160;&#160; string Email = “”; // it will have the value user typed after post.    <br />}</p>
<p>This is similar to the model binding concept found in ASP.NET MVC. The difference is here we bind to fields, where ASP.NET MVC binds to action parameters (actually, we do that too).</p>
<p>2. C# public fields are synced with JavaScript through a JavaScript object, called webForm.</p>
<p>@functions {   <br />&#160;&#160;&#160;&#160;&#160; public int count = 20;    <br />}</p>
<p>&lt;script&gt;   <br />alert(webForm.count); // it shows 20    <br />&lt;script&gt;</p>
<p>And vice versa, if changed the value in JavaScript, the C# field has the new value after post.</p>
<p>The C# data are serialized into JSON. On the client side, it can be rendered into HTML using <a href="http://api.jquery.com/category/plugins/templates/">jQuery template</a> or <a href="https://github.com/BorisMoore/jsrender">jsrender</a>.</p>
<p>It also could be a solution to view state to some degree I think.</p>
<p>Download the <a href="http://rabbit.codeplex.com/releases/view/61935#DownloadId=213255">sample site</a> to see how it works. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=318&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/07/27/sync-data-between-c-javascript-and-html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>
	</item>
		<item>
		<title>Attempt to Replace git.exe Not Success</title>
		<link>http://yysun.wordpress.com/2011/05/16/attempt-to-replace-git-exe-not-success/</link>
		<comments>http://yysun.wordpress.com/2011/05/16/attempt-to-replace-git-exe-not-success/#comments</comments>
		<pubDate>Mon, 16 May 2011 13:11:41 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitwebaccess]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/05/16/attempt-to-replace-git-exe-not-success/</guid>
		<description><![CDATA[In the Git Web Access, git.exe is required on the server in order to handle clone/pull/push requests as well as to list commits for odata services. I have been thinking replace it with some git wrapper libraries. Tried a few, none of them works. libgit2sharp, a wrapper to the libgit2 linkable C Git library, supposed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=315&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://gitweb.codeplex.com/">Git Web Access</a>, git.exe is required on the server in order to handle clone/pull/push requests as well as to list commits for odata services. I have been thinking replace it with some git wrapper libraries. Tried a few, none of them works.</p>
<p><a href="https://github.com/libgit2/libgit2sharp">libgit2sharp</a>, a wrapper to the <a href="http://libgit2.github.com/">libgit2</a> linkable C Git library, supposed to provide native speed, freaked me way off after seeing a few time memory access violation exceptions.</p>
<p><a href="https://github.com/henon/GitSharp">GitSharp</a>,&#160; manual port of JGit to C#. The project is a bit old and seems stopped updating. I was able run it locally and on Azure, but have not figured how to walk the commits yet.</p>
<p><a href="https://github.com/slluis/ngit">ngit</a>, automated JGit port to C#, is newer than GitSharp. It has a strange behavior that every time you open a repository, it tries to read configure files which do not exist on the server that has no git installed.</p>
<p>Good news is that I was able to deploy Git.exe to Azure by following this <a href="http://cdn.blog.smarx.com/mixslides/index.html">post</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=315&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/05/16/attempt-to-replace-git-exe-not-success/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>
	</item>
		<item>
		<title>Three NuGet Packages I have Published</title>
		<link>http://yysun.wordpress.com/2011/04/24/three-nuget-packages-i-have-published/</link>
		<comments>http://yysun.wordpress.com/2011/04/24/three-nuget-packages-i-have-published/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 12:39:09 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[NuGet]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/04/24/three-nuget-packages-i-have-published/</guid>
		<description><![CDATA[I have been manually editing the .nuspec XML file and running the command line to create two packages. One of the MIX 11 section mentioned the NuGet Explorer. It is a great tool that can save a lot time and effort. I used it to create my third package. Enjoyed it. BTW, I haven’t touched [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=310&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://yysun.files.wordpress.com/2011/04/image9.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/04/image_thumb9.png?w=468&#038;h=344" width="468" height="344" /></a></p>
<p>I have been manually editing the .nuspec XML file and running the command line to create two packages. One of the MIX 11 section mentioned the <a href="http://nuget.codeplex.com/wikipage?title=New%20features%20in%20NuGet%20Package%20Explorer%201.0">NuGet Explorer</a>. It is a great tool that can save a lot time and effort. I used it to create my third package. Enjoyed it.</p>
<p>BTW, I haven’t touched Windows applications for a while. The source code of the <a href="http://nuget.codeplex.com/wikipage?title=New%20features%20in%20NuGet%20Package%20Explorer%201.0">NuGet Explorer</a> has many goodies to explore. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=310&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/04/24/three-nuget-packages-i-have-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/04/image_thumb9.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Rabbit Framework Architecture</title>
		<link>http://yysun.wordpress.com/2011/04/20/rabbit-framework-architecture/</link>
		<comments>http://yysun.wordpress.com/2011/04/20/rabbit-framework-architecture/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 13:39:14 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[rabbit framework]]></category>
		<category><![CDATA[razor]]></category>
		<category><![CDATA[webmatrix]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/04/20/rabbit-framework-architecture/</guid>
		<description><![CDATA[http://rabbit.codeplex.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=285&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://yysun.files.wordpress.com/2011/04/image.png"><img style="background-image:none;border-bottom:0;border-left:0;padding-left:0;padding-right:0;display:inline;border-top:0;border-right:0;padding-top:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/04/image_thumb.png?w=480&#038;h=252" width="480" height="252" /></a></p>
<p align="center"><a href="http://rabbit.codeplex.com">http://rabbit.codeplex.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=285&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/04/20/rabbit-framework-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/04/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Auto refresh utility</title>
		<link>http://yysun.wordpress.com/2011/03/30/auto-refresh-utility/</link>
		<comments>http://yysun.wordpress.com/2011/03/30/auto-refresh-utility/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 14:01:37 +0000</pubDate>
		<dc:creator>yysun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[rabbit framework]]></category>
		<category><![CDATA[webmatrix]]></category>

		<guid isPermaLink="false">https://yysun.wordpress.com/2011/03/30/auto-refresh-utility/</guid>
		<description><![CDATA[I found myself hitting F5 in IE like crazy. Every time after modified the web files, in order to preview the result, I need F5 to refresh IE. So, I created a small Windows Forms application that monitors the web site folder (using FileSystemWatcher). When web file changed, it searches all IE browsers that are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=272&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found myself hitting F5 in IE like crazy. Every time after modified the web files, in order to preview the result, I need F5 to refresh IE. </p>
<p>So, I created a small Windows Forms application that monitors the web site folder (using FileSystemWatcher). When web file changed, it searches all IE browsers that are from the web site. and send key F5 (actually post message via p-invoke). </p>
<p>It works very well especially on two monitors. Saving files on one monitor, browser refreshes on the other.</p>
<p><a href="http://yysun.files.wordpress.com/2011/03/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;margin:0 0 10px;" title="image" border="0" alt="image" src="http://yysun.files.wordpress.com/2011/03/image_thumb.png?w=424&#038;h=156" width="424" height="156" /></a></p>
<p>It is very convenient. After saved the files, I will see the result immediately. It is not only useful for developing UI. It is also great for unit testing. </p>
<p>After modified and saved the tests in <a href="http://rabbit.codeplex.com/"><font color="#6c8c37">the Rabbit Framework</font></a>, the test runner page refreshes automatically.</p>
<p>I didn’t make it a Visual Studio Plug-in, because I need it when using Visual Studio Express and WebMatrix.    </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yysun.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yysun.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yysun.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yysun.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yysun.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yysun.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yysun.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yysun.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yysun.wordpress.com&amp;blog=16626557&amp;post=272&amp;subd=yysun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yysun.wordpress.com/2011/03/30/auto-refresh-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8309aac8e76c52cb6fd2aeeb0a00e513?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">judysun</media:title>
		</media:content>

		<media:content url="http://yysun.files.wordpress.com/2011/03/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>
