<?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>Michael Sync &#187; Smart Client</title>
	<atom:link href="http://michaelsync.net/category/smart-client/feed" rel="self" type="application/rss+xml" />
	<link>http://michaelsync.net</link>
	<description>Sharing our knowledge</description>
	<lastBuildDate>Tue, 10 Jan 2012 02:18:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Codeproject Highlight</title>
		<link>http://michaelsync.net/2007/12/09/codeproject-highlight</link>
		<comments>http://michaelsync.net/2007/12/09/codeproject-highlight#comments</comments>
		<pubDate>Sun, 09 Dec 2007 17:47:57 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Fav Links]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Smart Client]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2007/12/09/codeproject-highlight</guid>
		<description><![CDATA[Do you want to be informed the best stuffs of Codeproject every months? I have one good news for you. I&#8217;m gonna launch one new program called &#8220;Codeproject Highlight&#8221; started from this month in my blog. In this program, there &#8230; <a href="http://michaelsync.net/2007/12/09/codeproject-highlight">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do you want to be informed the best stuffs of Codeproject every months? I have one good news for you. I&#8217;m gonna launch one new program called &#8220;Codeproject Highlight&#8221; started from this month in my blog. In this program, there will be there parts such as news, the best articles and the best posts in CP forum (mostly are from ASP.NET, Web development and C#. ).</p>
<p>The main reason why I start this program is that it saves your time for reading all of latest articles from CP&#8217;s feed and tracking all questions and answers from Codeproject forum. </p>
<h2>News</h2>
<p><strong>Site Upgrading</strong></p>
<p>The whole Codeproject site has been upgraded from Classic ASP to ASP.NET version with a lot of improvements . This is really big changes which is done during <a href="http://michaelsync.net/2007/11/15/happy-birthday-codeproject" title="Happy Birthday CP!" target="_blank">8 years of running</a>. As this site has really huge amount of traffic, it&#8217;s very hard for them to upgrade this site with new version. However, the CP development team has done the great job to upgrade the whole site successfully. Congratulation! CP team</p>
<p>Chris shared a few interesting things <a href="http://www.codeproject.com/script/Forums/View.aspx?fid=1159&#038;msg=2345282">here</a> ~</p>
<blockquote><p>For those interested here are some whacky and amusing things we found:</p>
<ul>
<li>SQL Server, IIS and the ASP.NET framework are possessed.</li>
<li>Using development settings instead of production settings is a Bad Thing.</li>
<li>Storing session state in a SQL database can be a performance killer. Especially when the database is an old P4 test harness machine 40 km away from the webserver. That was an interesting experience in scream therapy.</li>
<li>Always check your indexes. Especially the ones that absolutely positively are not and cannot be fragmented. They will be the ones most in need of attention.</li>
<li>20,000 users hitting your application is wonderful load testing. We did load test but our testing machines did not generate the load you guys can generate</li>
<li>no matter how many ways you check code there&#8217;s always an angle that you haven&#8217;t looked at. We&#8217;re finding errors in 10 mins of being on that we couldn&#8217;t find from 3 months of beta testing. This is just nature.</li>
</ul>
</blockquote>
<h2> The Best Articles</h2>
<ul>
<li> <strong>Silverlight 1.1 Fun and Games</strong> by Sacha Barber
<p><img src="http://michaelsync.net/wp-content/uploads/2007/12/silverlight-fun.png" alt="Silverlight Game and Fun" /></p>
<p>Sourcecode : <a href="http://www.codeproject.com/kb/silverlight/SLFun.aspx">Download Source</a></p>
<p>Note: This is an award-winning article of <a href="http://www.codeproject.com/Feature/VS2008/">Visual Studio 2008 Competition</a>. </p>
</li>
<li> <strong>Silverlight Alien Sokoban</strong> by Daniel Vaughan
<p>A fun Silverlight implementation of the game Sokoban. Contrasting Silverlight 1.1 and WPF, while showcasing some new features of C# 3.0, Expression Design, Expression Blend, and Visual Studio 2008.</p>
<p><img src='http://michaelsync.net/wp-content/uploads/2007/12/alien.jpg' alt='Silverlight Alien Sokoban' /></p>
<p>Sourcecode : <a href="http://www.codeproject.com/KB/silverlight/SilverlightGame.aspx">Download Source</a></p>
</li>
<li> <strong>Build Google IG-like Ajax Start Page</strong> by Omar Al Zabir
<p>Build a start page similar to Google IG in 7 nights using ASP.Net Ajax, .NET 3.0, Linq, DLinq and XLinq.</p>
<p><img src='http://michaelsync.net/wp-content/uploads/2007/12/ig-ajax.png' alt='Google IG' /></p>
<p>Sourcecode : <a href="http://www.codeproject.com/KB/ajax/MakingGoogleIG.aspx">Download Source</a></p>
<p>Demo : <a href="http://www.dropthings.com/">Ajax Web Portal</a></p>
</li>
<li> <strong>WCF / WPF Chat Application</strong> by Sacha Barber
<p>How to create a peer-to-peer chat application using Windows Communication Foundation</p>
<p><img src='http://michaelsync.net/wp-content/uploads/2007/12/wpt-chat.png' alt='Free Chatting Client in .NET' /></p>
<p>Sourcecode : <a href="http://www.codeproject.com/KB/WCF/WCFWPFChat.aspx">Download Source</a></p>
</li>
<li> <strong>ASP.NET Popup Control</strong> by Tomas Petricek
<p>Highly customizable JavaScript popup control for web page wrapped in ASP.NET custom control.</p>
<p><img src='http://michaelsync.net/wp-content/uploads/2007/12/aspnet-popup-custcols.png' alt='ASP.NET Popup Control' /></p>
<p>Sourcecode : <a href="http://www.codeproject.com/KB/custom-controls/asppopup.aspx">Download Source</a></p>
</li>
</ul>
<p>Links</p>
<ul>
<li><a href="http://www.codeproject.com/KB/aspnet/Google_Pagerank.aspx">Request Google´s Pagerank programmatically</a></li>
<li><a href="http://www.codeproject.com/KB/aspnet/10_SEO_Tips.aspx">10 SEO tips for your ASP.NET website</a></li>
<li><a href="http://www.codeproject.com/KB/aspnet/AntiBot__quot_CAPTCHA_quo.aspx">Building ASP.NET Bot protection (CAPTCHA-like)</a></li>
<li><a href="http://www.codeproject.com/KB/aspnet/Protect_files_to_downloas.aspx">Protect files for download</a></li>
</ul>
<h2>The best posts in Codeproject forum</h2>
<ul>
<li><strong>How to store the password in Database? Encrypting Vs Hashing, Salt </strong>
<p>This is a discussion about storing the password in database. As the user authentication used to be a part of almost every software system, the developers should have good understanding about how to store the password in database. We have discussed about encrypting vs hashing, adding salt or adding the user name after the password and etc. </p>
<p>Summary</p>
<ul>
<li>Don&#8217;t use encryption/decryption for password.</li>
<li>Don&#8217;t need to append the user name to the password.</li>
<li>Hashing the password with random salt (SHA2 might be the best for hashing.)</li>
</ul>
<p>You can read about it in the link below. </p>
<p>Read More ~ <a href="http://www.codeproject.com/script/Forums/View.aspx?fid=1159&#038;msg=2333796">guidelines on password encryption</a></p>
</li>
<li><strong>Does the System.Deployment namespace cover a great deal of scenarios?</strong>
<p>I have been asked <a href="http://www.codeproject.com/script/Forums/View.aspx?fid=369270&#038;msg=2312608">this question</a> regarding ClickOnce deployment in CP forum.  As I&#8217;m using ClickOnce APIs on SCSF (Smart Client Software Factory) project, I found a few missing things in System.Deployment namespace. The following are the things that ClickOnce can&#8217;t handle. </p>
<p>Summary </p>
<ul>
<li>No way to get the list of latest modules</li>
<li>The version of the whole application need to be updated if we wanna update just one module</li>
<li>ClickOnce doesn&#8217;t care about the version of assemblies.</li>
<li>DownloadFileGroup (&#8220;&#8221;) works only if &#8220;optional&#8221; is checked. There is no way to download the group of file by force</li>
</ul>
<p>Read More ~  <a href="http://www.codeproject.com/script/Forums/View.aspx?fid=369270&#038;msg=2312648">An application that will get the updates from server automatically</a>
</li>
<li><strong>ADODB.DataTypeEnum.adBigInt problem &#8220;Bad variable type!&#8221; in Windows 2000</strong>
<p>One people who are using ADODB in .NET asked the question below in our CP forum. </p>
<blockquote><p>The identity field of one of my SQL DB tables is a bigint, using ADODB to query the DB based on this bigint works fine in my XP machine, but gives me a &#8220;Bad variable type&#8221; error when I use my app in a W2000 machine.</p>
<p>The W2000 machine has every service pack issued by MS, what could be the problem?
</p></blockquote>
<p>Something works fine on XP doesn&#8217;t work on Windows 200 is very strange issue. As I never use ADODB (something that we used for VB6 projects in old days ) in .NET, I don&#8217;t have that experiences. <a href="http://www.codeproject.com/script/Forums/View.aspx?fid=12076&#038;msg=2313407">The possibilities</a> that I think of at that time did solve his problem. </p>
<p>The trick is that casting the original datatype (long datatype in his case) to double datatype. :) Honestly, I&#8217;m not so sure why we need to do this but it did solve the problem. </p>
<pre class="brush: vb; title: ; notranslate">
Cmd.Parameters.Append(Cmd.CreateParameter(&quot;TransId&quot;, ADODB.DataTypeEnum.adBigInt, 1, , CType(iTransId, Double)))
</pre>
<p>Read More ~ <a href="http://www.codeproject.com/script/Forums/View.aspx?fid=12076&#038;msg=2312850">In XP works fine, W2000: Bad variable type!</a>
        </li>
</ul>
<p>Okay. That&#8217;s all for now. This is just a taste of new thing in my blog. What do you think? Is it interesting? As this program is just started, your feedback is highly appreciated. I think that there are a few area that I can&#8217;t add in this post. Based on the feedback from all of you, I will make this program better and interesting.. If you like it, don&#8217;t forget to subscribe my feed ( <a href="http://michaelsync.net/feed">http://michaelsync.net/feed</a> ). </p>
<p>Thanks.
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2007/12/09/codeproject-highlight&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2007/12/09/codeproject-highlight/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>CAB Problem &#8211; &#8220;Smart Client Development May 2007&#8243; template doesn&#8217;t show in Guidance Packages</title>
		<link>http://michaelsync.net/2007/07/07/cab-problem-smart-client-development-may-2007-template-doesnt-show-in-guidance-packages</link>
		<comments>http://michaelsync.net/2007/07/07/cab-problem-smart-client-development-may-2007-template-doesnt-show-in-guidance-packages#comments</comments>
		<pubDate>Sat, 07 Jul 2007 04:34:32 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Smart Client]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2007/07/07/cab-problem-smart-client-development-may-2007-template-doesnt-show-in-guidance-packages</guid>
		<description><![CDATA[One of my friend asked me that she was not able to find &#8220;Smart Client Development May 2007&#8243; template in Visual Studio 2005 &#8211; New Project Dialog. Then, I was looking for the solution and I got the solution as &#8230; <a href="http://michaelsync.net/2007/07/07/cab-problem-smart-client-development-may-2007-template-doesnt-show-in-guidance-packages">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of my friend asked me that she was not able to find &#8220;Smart Client Development May 2007&#8243; template  in  Visual Studio 2005  &#8211; New Project Dialog.  Then, I was looking for the solution and I got the solution as below. I hope it would be useful for those who are new to Smart Client Development.</p>
<p>Normally, the SCSF template should be shown as the following screenshot in Project Template dialog.</p>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/project-template.jpg" alt="Project Template" /></p>
<p>But that template doesn&#8217;t show in template dialog then you have to follow the steps mentioning below to figure out the problem.</p>
<ul>
<li>You have to check whether you have installed the corrected version of required software for <a href="http://www.codeplex.com/smartclient" target="_blank">SCSF (Smart Client Software Factory)</a>. In order to check what the required software are, click &#8220;Smart Client Software Factory &#8211; May 2007.msi&#8221;</li>
<li>Click &#8220;Check dependencis&#8221; button when the installer is loaded.</li>
<li>Checklist should be shown as picture below.</li>
</ul>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/smart-client-software-factory-installatin-checklist.jpg" alt="Smart Client Software Factory Installatin Checklist" /></p>
<ul>
<li>All icons should be green icon. If not, you have to download the latest version of each setup files. and Install them in your machine before installing SCSF.</li>
<li>If you have installed the earlier version of those installers, I would recommend you to uninstall first. Note that you have to uninstall &#8220;Enterprise Library&#8221; before uninstalling Guidances Toolkit and Extension.</li>
<li>After uninstalling the old version, you can start installing the new version. Then check &#8220;check dependencies&#8221; which I mentioned in Step 1.</li>
<li>If it&#8217;s done, you should go to &#8220;Custom Setup&#8221;. Ensure that all checked boxes are checked as below.</li>
</ul>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/custom-setup.jpg" alt="Custom Setup" /></p>
<ul>
<li>Then, Click &#8220;Next&#8221; to install.</li>
<li>After then, open Visual Studio 2005. Check the SCSF template in &#8220;New Project&#8221; dialog. (I hope you will get the template that you want. :) )</li>
</ul>
<p>That&#8217;s all.. Hope it would help. Don&#8217;t hesitate to contact me if you have any problem. Thanks.
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2007/07/07/cab-problem-smart-client-development-may-2007-template-doesnt-show-in-guidance-packages&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2007/07/07/cab-problem-smart-client-development-may-2007-template-doesnt-show-in-guidance-packages/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CompositeUI Application Block (CAB) Installation Problem on Windows Vista</title>
		<link>http://michaelsync.net/2007/07/06/compositeui-application-block-cab-installation-problem-on-windows-vista</link>
		<comments>http://michaelsync.net/2007/07/06/compositeui-application-block-cab-installation-problem-on-windows-vista#comments</comments>
		<pubDate>Fri, 06 Jul 2007 15:16:40 +0000</pubDate>
		<dc:creator>Michael Sync</dc:creator>
				<category><![CDATA[Smart Client]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://michaelsync.net/2007/07/06/compositeui-application-block-cab-installation-problem-on-windows-vista</guid>
		<description><![CDATA[Question : Are you getting the following errors while you are installing CAB (CompositeUI Application Block) on your Vista box? Here is the Solution for you. The shortest answer is &#8220;turn off UAC before installing CAB&#8221;. Please read the following &#8230; <a href="http://michaelsync.net/2007/07/06/compositeui-application-block-cab-installation-problem-on-windows-vista">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em><strong>Question :   Are you getting the following errors while you are installing <a href="http://msdn2.microsoft.com/en-us/library/aa546409.aspx" title="Overview of the Composite UI Application Block" target="_blank">CAB (CompositeUI Application Block) </a>on your Vista box?</strong></em></p>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/installer-info.jpg" alt="CAB Installation Fucking Problem on Windows Vista Home Premier" /></p>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/unexpected-error-in-cab.jpg" alt="CAB Installation Problem on Windows Vista Home Premier" /></p>
<p><strong>Here is the Solution for you.</strong></p>
<p>The shortest answer is &#8220;turn off UAC before installing CAB&#8221;.</p>
<p>Please read the following if you dont know how to do it.</p>
<ul>
<li> Go to &#8220;Control Panel&#8221;</li>
</ul>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/control-panel-window-vista.png" alt="control-panel-window-vista.png" /></p>
<ul>
<li>Go to &#8220;User Accounts and Family Safely&#8221;</li>
</ul>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/user-accounts-and-family.jpg" alt="User Accounts and Family Safely" /></p>
<ul>
<li>Click &#8220;User Accounts&#8221; as picture below</li>
</ul>
<p><a href="http://michaelsync.net/wp-content/uploads/2007/07/user-account.jpg" title="user-account.jpg"><img src="http://michaelsync.net/wp-content/uploads/2007/07/user-account.jpg" alt="user-account.jpg" /></a></p>
<ul>
<li>Click &#8220;Turn User Account Control (UAC) on or off&#8221;</li>
</ul>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/turn-user-account-control-on-or-off.jpg" alt="turn-user-account-control-on-or-off.jpg" /></p>
<ul>
<li>Uncheck &#8220;Use User Account Control (UAC) to help protect your computer&#8221; and Click &#8220;OK&#8221; button</li>
</ul>
<p><img src="http://michaelsync.net/wp-content/uploads/2007/07/turn-off-uac.jpg" alt="turn-off-uac.jpg" /><br />
Then you may start to install CAB framework in your Windows Vista. I hope it would help. Feel free to let me know if you have any problem. I have tested this instructions on my Windows Vista Premier Edition. It works great.. Dont forget to turn on UAC once done.
<div class='kouguu_fb_like_button'><iframe src="http://www.facebook.com/plugins/like.php?href=http://michaelsync.net/2007/07/06/compositeui-application-block-cab-installation-problem-on-windows-vista&#038;layout=standard&#038;show_faces=false&#038;width=450&#038;height=25&#038;action=like&#038;colorscheme=light&#038;" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px;"></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://michaelsync.net/2007/07/06/compositeui-application-block-cab-installation-problem-on-windows-vista/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

