<?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>Rajneesh Noonia</title>
	<atom:link href="http://www.rajneeshnoonia.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rajneeshnoonia.com/blog</link>
	<description>.net Blog</description>
	<lastBuildDate>Mon, 24 Oct 2011 21:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Page flip with deep zoom</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/06/page-flip-with-deep-zoom/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/06/page-flip-with-deep-zoom/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 00:38:15 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=946</guid>
		<description><![CDATA[Book control is another excellent page flip control which allows you to add any silverlight element as book page.It supports page down and page up as bidiretional navigation keys.Demo application &#38; source code is attached below. The objective of this article is to create photo album application which allows user to add pictures just by [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(946, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 31"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_946_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_946_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>Book control is another excellent page flip control which allows you to add any silverlight element as book page.It supports page down and page up as bidiretional navigation keys.Demo application &amp; source code is attached below.<br />
<div id="silverlightControlHost"><object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="850" height="650"><param name="source" value="http://www.rajneeshnoonia.com/blog/uploads/code/BookDemo.xap"/><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40723.0" /><param name="autoupgrade" value="true" /><param name="enableHtmlAccess" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156" style="text-decoration: none;"><img src="http://storage.timheuer.com/sl4wp-ph.png" alt="Install Microsoft Silverlight" style="border-style: none; width:400px; height:200px"/></a></object><iframe style="visibility:hidden;height:0;width:0;border:0px" id="_sl_historyFrame"></iframe></div><br /></p>
<p>The objective of this article is to create photo album application which allows user to add pictures just by drag and drop on album.The picture will be splitted into parts and uploaded on server where it is re-constructed and again processed into deep zoom meta file (on fly) and link to this picture will be then added into album.Photo album will have deep zoom enabled pages.</p>
<p>I couldn&#8217;t get much time to finish this project &amp; hence i would call this as beta source code which includes the full source code of Book control (page flip)</p>
<p>Beta Source code for book control is available <a href="http://rajneeshnoonia.com/blog/uploads/code/BookDemo.zip">here</a></p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=946">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F&amp;title=Page+flip+with+deep+zoom" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F&amp;title=Page+flip+with+deep+zoom" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F&amp;title=Page+flip+with+deep+zoom" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F&amp;headline=Page+flip+with+deep+zoom" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Page+flip+with+deep+zoom&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Page+flip+with+deep+zoom&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Page+flip+with+deep+zoom&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Page+flip+with+deep+zoom&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Page+flip+with+deep+zoom&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F&amp;title=Page+flip+with+deep+zoom&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fpage-flip-with-deep-zoom%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/06/page-flip-with-deep-zoom/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>@@servername</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/06/servername/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/06/servername/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 23:07:11 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=939</guid>
		<description><![CDATA[If @@servername returns null or return wrong host name, execute below mentioned sql Query. DECLARE @Current SysName Select @Current = Convert(varchar(128), SERVERPROPERTY(&#8216;ServerName&#8217;) ) IF(@Current &#60;&#62; @@SERVERNAME) BEGIN EXEC sp_dropserver @@SERVERNAME EXEC sp_addserver @server=@Current,@local = &#8216;local&#8217; EXEC master..xp_cmdshell &#8216;ECHO NET STOP MSSQLSERVER &#62; restartSQL.bat&#8217;, no_output EXEC master..xp_cmdshell &#8216;ECHO NET START MSSQLSERVER &#62;&#62; restartSQL.bat&#8217;, no_output EXEC master..xp_cmdshell [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(939, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 1"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_939_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_939_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p><span lang="SQL">If @@servername returns null or return wrong host name, execute below mentioned sql Query. </span></p>
<p><span lang="SQL"><br />
DECLARE @Current SysName<br />
Select @Current = Convert(varchar(128), SERVERPROPERTY(&#8216;ServerName&#8217;) )<br />
IF(@Current &lt;&gt; @@SERVERNAME)<br />
BEGIN<br />
EXEC sp_dropserver @@SERVERNAME<br />
EXEC sp_addserver @server=@Current,@local = &#8216;local&#8217;<br />
EXEC master..xp_cmdshell &#8216;ECHO NET STOP MSSQLSERVER &gt; restartSQL.bat&#8217;, no_output<br />
EXEC master..xp_cmdshell &#8216;ECHO NET START MSSQLSERVER &gt;&gt; restartSQL.bat&#8217;, no_output<br />
EXEC master..xp_cmdshell &#8216;restartSQL.bat&#8217;, no_output<br />
&#8211;Connection with sql break here<br />
END</span></p>
<p>&#8211; Check if every thing is correct<br />
SELECT @@Servername<br />
SELECT SERVERPROPERTY(&#8216;ServerName&#8217;)</p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=939">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F&amp;title=%40%40servername" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F&amp;title=%40%40servername" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F&amp;title=%40%40servername" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F&amp;headline=%40%40servername" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=%40%40servername&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=%40%40servername&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=%40%40servername&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=%40%40servername&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=%40%40servername&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F&amp;title=%40%40servername&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F06%2Fservername%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/06/servername/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export data from corrupted database</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/05/export-data-from-corrupted-database/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/05/export-data-from-corrupted-database/#comments</comments>
		<pubDate>Thu, 12 May 2011 09:10:25 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=936</guid>
		<description><![CDATA[Below is the sql script to import data from source database into target database, It is assumed that you have both the databases on single server.The source database is current database &#38; few tables are corrupted whereas the traget database is created from old backup for target database.since their is corruption ,it is not possible [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(936, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 2"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_936_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_936_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>Below is the sql script to import data from source database into target database, It is assumed that you have both the databases on single server.The source database is current database &amp; few tables are corrupted whereas the traget database is created from old backup for target database.since their is corruption ,it is not possible to take backup of current database. This script imports back data (only) from source to target database. You need to only replace 3 lines of the script (12th line from bottom).<br />
Download script from <a href="http://www.rajneeshnoonia.com/blog/uploads/code/Migrate.sql.txt">here</a></p>
<div class="dean_ch" style="white-space: wrap;"> </p>
<p><span class="co1">&#8212;&#8212;&#8212;&#8212;- Create helper functions &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p><span class="kw1">IF</span> <span class="kw1">EXISTS</span> <span class="br0">&#40;</span><span class="kw1">SELECT</span> * <span class="kw1">FROM</span> dbo.sysobjects <span class="kw1">WHERE</span> id = object_id<span class="br0">&#40;</span>N<span class="st0">&#8216;[dbo].[Mig_ImportTable]&#8216;</span><span class="br0">&#41;</span> <span class="kw1">AND</span> OBJECTPROPERTY<span class="br0">&#40;</span>id, N<span class="st0">&#8216;IsProcedure&#8217;</span><span class="br0">&#41;</span> = <span class="nu0">1</span><span class="br0">&#41;</span><br />
<span class="kw1">DROP</span> PROCEDURE <span class="br0">&#91;</span>dbo<span class="br0">&#93;</span>.<span class="br0">&#91;</span>Mig_ImportTable<span class="br0">&#93;</span><br />
GO</p>
<p><span class="kw1">CREATE</span> PROC dbo.Mig_ImportTable @<span class="kw1">DATABASE</span> SYSNAME, @<span class="kw1">TABLE</span> SYSNAME <span class="kw1">AS</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> NOCOUNT <span class="kw1">ON</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @<span class="kw1">COLUMN</span> SYSNAME<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @SQL NVARCHAR<span class="br0">&#40;</span><span class="nu0">4000</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @colSQL NVARCHAR<span class="br0">&#40;</span><span class="nu0">4000</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @IsIdentity BIT<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @IsTableIdentity BIT</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @colSQL = <span class="st0">&#8221;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL=<span class="st0">&#8221;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @IsTableIdentity = <span class="nu0">0</span> <span class="co1">&#8211;false</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @IsIdentity = <span class="nu0">0</span> <span class="co1">&#8211;false</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; PRINT <span class="st0">&#8216;Table Migration Started for :&#8217;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; in &#8216;</span> + @<span class="kw1">DATABASE</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; DECLARE curMoveDown CURSOR<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">LOCAL</span> FORWARD_ONLY<br />
&nbsp; &nbsp; &nbsp; &nbsp; OPTIMISTIC <span class="kw1">FOR</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SELECT</span> column_name,COLUMNPROPERTY<span class="br0">&#40;</span>object_id<span class="br0">&#40;</span>TABLE_NAME<span class="br0">&#41;</span>, COLUMN_NAME, <span class="st0">&#8216;IsIdentity&#8217;</span><span class="br0">&#41;</span><span class="kw1">AS</span> IsIdentity <span class="kw1">FROM</span> information_schema.<span class="kw1">COLUMNS</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">WHERE</span> UPPER<span class="br0">&#40;</span>table_name <span class="br0">&#41;</span> = UPPER<span class="br0">&#40;</span>@<span class="kw1">TABLE</span><span class="br0">&#41;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; OPEN curMoveDown FETCH NEXT <span class="kw1">FROM</span> curMoveDown <span class="kw1">INTO</span> @<span class="kw1">COLUMN</span>,@IsIdentity<br />
&nbsp; &nbsp; &nbsp; &nbsp; WHILE @@FETCH_STATUS = <span class="nu0">0</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; BEGIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @colSQL = @colSQL + <span class="st0">&#8216;['</span> + @<span class="kw1">COLUMN</span> + <span class="st0">'],&#8217;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @IsTableIdentity = @IsTableIdentity | @IsIdentity<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span> <span class="br0">&#40;</span>@IsTableIdentity = <span class="nu0">1</span><span class="br0">&#41;</span> BREAK<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FETCH NEXT <span class="kw1">FROM</span> curMoveDown <span class="kw1">INTO</span> @<span class="kw1">COLUMN</span>,@IsIdentity<br />
&nbsp; &nbsp; &nbsp; &nbsp; END<br />
&nbsp; &nbsp; &nbsp; &nbsp; CLOSE curMoveDown<br />
&nbsp; &nbsp; &nbsp; &nbsp; DEALLOCATE curMoveDown </p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span><span class="br0">&#40;</span>LEN<span class="br0">&#40;</span>@colSQL<span class="br0">&#41;</span>&gt;<span class="nu0">1</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; BEGIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @colSQL = <span class="kw1">LEFT</span><span class="br0">&#40;</span>@colSQL,LEN<span class="br0">&#40;</span>@colSQL<span class="br0">&#41;</span> &#8211; <span class="nu0">1</span><span class="br0">&#41;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span><span class="br0">&#40;</span>@IsTableIdentity = <span class="nu0">1</span><span class="br0">&#41;</span> <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;SET IDENTITY_INSERT &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; ON &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;ALTER TABLE &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; DISABLE TRIGGER ALL &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;ALTER TABLE &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; NOCHECK CONSTRAINT ALL &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;TRUNCATE TABLE &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; &nbsp;&#8217;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span><span class="br0">&#40;</span>@IsTableIdentity = <span class="nu0">1</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;INSERT INTO &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; (&#8216;</span> + &nbsp;@colSQL + <span class="st0">&#8216;) SELECT &#8216;</span>+ &nbsp;@colSQL + <span class="st0">&#8216; FROM &#8216;</span> + <span class="st0">&#8216;['</span> + @<span class="kw1">DATABASE</span> + <span class="st0">'].[dbo].['</span> + @<span class="kw1">TABLE</span> + <span class="st0">'] &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ELSE<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;INSERT INTO &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; SELECT * FROM &#8216;</span> + <span class="st0">&#8216;['</span> + @<span class="kw1">DATABASE</span> + <span class="st0">'].[dbo].['</span> + @<span class="kw1">TABLE</span> + <span class="st0">'] &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span><span class="br0">&#40;</span>@IsTableIdentity = <span class="nu0">1</span><span class="br0">&#41;</span> <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; SET IDENTITY_INSERT &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; OFF &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;ALTER TABLE &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; ENABLE TRIGGER ALL &#8216;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> @SQL = @SQL + <span class="st0">&#8216;&nbsp; &nbsp; &nbsp;ALTER TABLE &#8216;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; CHECK CONSTRAINT ALL &#8216;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC sp_executesql @SQL<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PRINT <span class="st0">&#8216;Table migrated :&#8217;</span> + @<span class="kw1">TABLE</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; END<br />
&nbsp; &nbsp; &nbsp; &nbsp; ELSE<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PRINT <span class="st0">&#8216;No Column found :&#8217;</span> + @<span class="kw1">TABLE</span> + <span class="st0">&#8216; (SQL = &#8216;</span> + @colSQL + <span class="st0">&#8216;)&#8217;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; PRINT <span class="st0">&#8216;Table Migration finished for :&#8217;</span> + @<span class="kw1">TABLE</span><br />
GO</p>
<p><span class="kw1">IF</span> <span class="kw1">EXISTS</span> <span class="br0">&#40;</span><span class="kw1">SELECT</span> * <span class="kw1">FROM</span> dbo.sysobjects <span class="kw1">WHERE</span> id = object_id<span class="br0">&#40;</span>N<span class="st0">&#8216;[dbo].[Mig_ImportDatabase]&#8216;</span><span class="br0">&#41;</span> <span class="kw1">AND</span> OBJECTPROPERTY<span class="br0">&#40;</span>id, N<span class="st0">&#8216;IsProcedure&#8217;</span><span class="br0">&#41;</span> = <span class="nu0">1</span><span class="br0">&#41;</span><br />
<span class="kw1">DROP</span> PROCEDURE <span class="br0">&#91;</span>dbo<span class="br0">&#93;</span>.<span class="br0">&#91;</span>Mig_ImportDatabase<span class="br0">&#93;</span><br />
GO</p>
<p><span class="kw1">CREATE</span> PROC dbo.Mig_ImportDatabase @Source SYSNAME <span class="kw1">AS</span>&nbsp; &nbsp;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @SERVER SYSNAME<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @INSTANCE SYSNAME<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @FULLNAME SYSNAME<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @DBNAME SYSNAME<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @cmd varchar<span class="br0">&#40;</span><span class="nu0">1000</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @SQL Nvarchar<span class="br0">&#40;</span><span class="nu0">1000</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @<span class="kw1">TABLE</span> Nvarchar<span class="br0">&#40;</span><span class="nu0">100</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE @Result INT</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SET</span> NOCOUNT <span class="kw1">ON</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">CREATE</span> <span class="kw1">TABLE</span> <span class="br0">&#91;</span><span class="co2">#Mig_FailedTables] ( [name] SYSNAME NOT NULL ) ON [PRIMARY]</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SELECT</span> @SERVER = CONVERT<span class="br0">&#40;</span>SYSNAME, SERVERPROPERTY<span class="br0">&#40;</span><span class="st0">&#8216;servername&#8217;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SELECT</span> @INSTANCE = IsNull<span class="br0">&#40;</span><span class="st0">&#8221;</span>,CONVERT<span class="br0">&#40;</span>SYSNAME, SERVERPROPERTY<span class="br0">&#40;</span><span class="st0">&#8216;InstanceName&#8217;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">SELECT</span> @DBNAME = DB_NAME<span class="br0">&#40;</span><span class="br0">&#41;</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">IF</span><span class="br0">&#40;</span>Len<span class="br0">&#40;</span>@INSTANCE<span class="br0">&#41;</span>&gt;<span class="nu0">0</span><span class="br0">&#41;</span> <span class="kw1">SET</span> @FULLNAME = @SERVER + <span class="st0">&#8216;<span class="es0">\&#8217;</span> + @INSTANCE<br />
&nbsp; &nbsp; &nbsp; &nbsp; ELSE SET @FULLNAME = @SERVER</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; Print &#8216;</span>Migration started <span class="kw1">FROM</span> <span class="kw1">DATABASE</span> <span class="br0">&#91;</span><span class="st0">&#8216; + @SOURCE + &#8216;</span><span class="br0">&#93;</span> <span class="kw1">TO</span> <span class="kw1">DATABASE</span> <span class="br0">&#91;</span><span class="st0">&#8216; + @DBNAME + &#8216;</span><span class="br0">&#93;</span> <span class="kw1">ON</span> server &nbsp;<span class="st0">&#8216; + @FULLNAME</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &#8211;Cursor to loop throw all tables of Target database (current database)<br />
&nbsp; &nbsp; &nbsp; &nbsp; DECLARE CurTables CURSOR LOCAL FORWARD_ONLY<br />
&nbsp; &nbsp; &nbsp; &nbsp; OPTIMISTIC FOR<br />
&nbsp; &nbsp; &nbsp; &nbsp; SELECT NAME from dbo.sysobjects where OBJECTPROPERTY(id, N&#8217;</span>IsUserTable<span class="st0">&#8216;) = 1 order by Name</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; OPEN CurTables FETCH NEXT FROM CurTables INTO @Table<br />
&nbsp; &nbsp; &nbsp; &nbsp; WHILE @@FETCH_STATUS = 0<br />
&nbsp; &nbsp; &nbsp; &nbsp; BEGIN<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Print &#8216;</span>Migrating <span class="kw1">TABLE</span> <span class="st0">&#8216; + @Table<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SET @cmd = &#8216;</span>ECHO Exec <span class="br0">&#91;</span>Mig_ImportTable<span class="br0">&#93;</span> <span class="st0">&#8221;</span><span class="st0">&#8216; + @Source + &#8216;</span><span class="st0">&#8221;</span>,<span class="st0">&#8221;</span><span class="st0">&#8216; + @Table + &#8216;</span><span class="st0">&#8221;</span> &nbsp;&gt; DbMig.sql<span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC @Result = master..xp_cmdshell @cmd, no_output</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SET @cmd = &#8216;</span>ECHO GO &nbsp;&gt;&gt; DbMig.sql<span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC @Result = &nbsp;master..xp_cmdshell @cmd, no_output</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SET @cmd = &#8216;</span>ECHO @ECHO OFF &nbsp;&gt; DbMig.cmd<span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC @Result = &nbsp;master..xp_cmdshell @cmd, no_output</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SET @cmd = &#8216;</span>ECHO osql -E -b -S <span class="st0">&quot;&#8217; + @FULLNAME +&#8217;&quot;</span> -d <span class="st0">&quot;&#8217; + @DBNAME +&#8217;&quot;</span> -i <span class="st0">&quot;DbMig.sql&quot;</span> &gt;&gt; DbMig.cmd<span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC @Result = &nbsp;master..xp_cmdshell @cmd, no_output</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SET @cmd = &#8216;</span>ECHO EXIT ERRORLEVEL &gt;&gt; DbMig.cmd<span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC @Result = &nbsp;master..xp_cmdshell @cmd, no_output</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SET @cmd = &#8216;</span>CMD /c <span class="st0">&quot;DbMig.cmd&gt;&gt;DbMig.Log&quot;</span><span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EXEC @Result = master..xp_cmdshell @cmd, no_output<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF (@Result &lt;&gt; 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Insert into #Mig_FailedTables (Name) values (@Table)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FETCH NEXT FROM CurTables INTO @Table</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; END<br />
&nbsp; &nbsp; &nbsp; &nbsp; CLOSE CurTables<br />
&nbsp; &nbsp; &nbsp; &nbsp; DEALLOCATE CurTables<br />
&nbsp; &nbsp; &nbsp; &nbsp; Print &#8216;</span>Migration Finished..<span class="st0">&#8216;<br />
&nbsp; &nbsp; &nbsp; &nbsp; SELECT Name as [Failed Tables] FROM #Mig_FailedTables<br />
&nbsp; &nbsp; &nbsp; &nbsp; DROP TABLE #Mig_FailedTables</p>
<p>GO</p>
<p>&#8212;&#8212;&#8212;&#8212;- Migration of data starts from here &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>USE TargetDatabase&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8212; Target Database &nbsp;&nbsp; &nbsp; ** Change This<br />
Exec Mig_ImportDatabase &#8216;</span>SourceDatabase<span class="st0">&#8216;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8212; Source Database &nbsp;&nbsp; &nbsp; ** Change This &#8211; Import Complete database<br />
EXEC Mig_ImportTable &#8216;</span>SourceDatabase<span class="st0">&#8216;,&#8217;</span>SpecificTableName<span class="st0">&#8216;&nbsp; &nbsp; &nbsp; &nbsp;&#8211; SpecificTableName &nbsp;&nbsp; ** Change This &#8211; Import Single Table<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></div>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=936">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F&amp;title=Export+data+from+corrupted+database" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F&amp;title=Export+data+from+corrupted+database" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F&amp;title=Export+data+from+corrupted+database" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F&amp;headline=Export+data+from+corrupted+database" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Export+data+from+corrupted+database&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Export+data+from+corrupted+database&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Export+data+from+corrupted+database&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Export+data+from+corrupted+database&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Export+data+from+corrupted+database&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F&amp;title=Export+data+from+corrupted+database&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F05%2Fexport-data-from-corrupted-database%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/05/export-data-from-corrupted-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compare DB &#8211; record counts</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/04/compare-db-record-counts/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/04/compare-db-record-counts/#comments</comments>
		<pubDate>Fri, 22 Apr 2011 09:09:20 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=929</guid>
		<description><![CDATA[Code snippet will loop through all tables of Database SOURCEDB and compare record counts with tables in TARGETDB database USE SOURCEDB EXEC SP_MSforeachtable &#8216;DECLARE @OriCount INT      DECLARE @Count INT      DECLARE @Name VARCHAR(400)      SET @Count = (SELECT COUNT(*) FROM TARGETDB.?)      SET @OriCount = (SELECT COUNT(*) FROM SOURCEDB.?)      SET @Name=&#8221;?&#8221; IF(@Count &#60;&#62; @OriCount) BEGIN          [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(929, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 1"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_929_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_929_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>Code snippet will loop through all tables of Database SOURCEDB and compare record counts with tables in TARGETDB database</p>
<p>USE SOURCEDB</p>
<p>EXEC SP_MSforeachtable &#8216;<span style="color: #ff0000;">DECLARE @OriCount INT<br />
     DECLARE @Count INT<br />
     DECLARE @Name VARCHAR(400)<br />
     SET @Count = (SELECT COUNT(*) FROM TARGETDB.?)<br />
     SET @OriCount = (SELECT COUNT(*) FROM SOURCEDB.?)<br />
     SET @Name=&#8221;?&#8221;</span></p>
<p><span style="color: #ff0000;">IF(@Count &lt;&gt; @OriCount)<br />
BEGIN<br />
         SELECT @Name,@Count as target,@OriCount as source</span></p>
<p><span style="color: #ff0000;">END</span>&#8216;</p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=929">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F&amp;title=Compare+DB+-+record+counts" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F&amp;title=Compare+DB+-+record+counts" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F&amp;title=Compare+DB+-+record+counts" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F&amp;headline=Compare+DB+-+record+counts" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Compare+DB+-+record+counts&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Compare+DB+-+record+counts&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Compare+DB+-+record+counts&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Compare+DB+-+record+counts&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Compare+DB+-+record+counts&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F&amp;title=Compare+DB+-+record+counts&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F04%2Fcompare-db-record-counts%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/04/compare-db-record-counts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xap Loader Splash Screen</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/01/xap-loader-splash-screen/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/01/xap-loader-splash-screen/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 21:53:17 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=917</guid>
		<description><![CDATA[  The objective of this article is to create custom xap loader screen without any background image and code behind (pure XAML).In the final application version, download progress of root xap file will be shown in the sample screen above.. Will write more on this article in next few days &#8230; Download post]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(917, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 10"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_917_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_917_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p> </p>
<p><div id="silverlightControlHost"><object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="550" height="550"><param name="source" value="http://www.rajneeshnoonia.com/blog/uploads/code/Splash.xap"/><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40723.0" /><param name="autoupgrade" value="true" /><param name="enableHtmlAccess" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156" style="text-decoration: none;"><img src="http://storage.timheuer.com/sl4wp-ph.png" alt="Install Microsoft Silverlight" style="border-style: none; width:400px; height:200px"/></a></object><iframe style="visibility:hidden;height:0;width:0;border:0px" id="_sl_historyFrame"></iframe></div><br /></p>
<p>The objective of this article is to create custom xap loader screen without any background image and code behind (pure XAML).In the final application version, download progress of root xap file will be shown in the sample screen above..</p>
<p>Will write more on this article in next few days &#8230;</p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=917">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F&amp;title=Xap+Loader+Splash+Screen" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F&amp;title=Xap+Loader+Splash+Screen" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F&amp;title=Xap+Loader+Splash+Screen" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F&amp;headline=Xap+Loader+Splash+Screen" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Xap+Loader+Splash+Screen&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Xap+Loader+Splash+Screen&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Xap+Loader+Splash+Screen&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Xap+Loader+Splash+Screen&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Xap+Loader+Splash+Screen&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F&amp;title=Xap+Loader+Splash+Screen&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fxap-loader-splash-screen%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/01/xap-loader-splash-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight for Symbian S60 devices</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-for-symbian-s60-devices/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-for-symbian-s60-devices/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 09:57:31 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=912</guid>
		<description><![CDATA[Microsoft has released Silverlight platform design to work with Symbian S60 devices at the on MIX10 conference at Las Vegas.The plateform is now available for Nokia SymbianOS (S60 5th Edition) devices i.e. Nokia 5235, 5800 XpressMusic, Nokia N97 and Nokia N97 Mini Mobiles. I did some basic test with nokia 5235 and it runs with charm. The [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(912, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 1"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_912_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_912_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>Microsoft has released Silverlight platform design to work with Symbian S60 devices at the on MIX10 conference at Las Vegas.The plateform is now available for Nokia SymbianOS (S60 5th Edition) devices i.e. Nokia 5235, 5800 XpressMusic, Nokia N97 and Nokia N97 Mini Mobiles. I did some basic test with nokia 5235 and it runs with charm.</p>
<p>The current Silverlight beta for Symbian comes in two forms – one as an installer for Symbian (S60 5th edition) devices and the second one in the form of a developer tools suite for developing Silverlight applications for Symbian devices including emulator etc.</p>
<p>Silverlight includes a Runtime that is optimized to display content on memory-constrained devices.</p>
<ul>
<li> The ability to view Silverlight applications in the mobile browser.</li>
<li> Tools to build Silverlight applications that target devices</li>
</ul>
<p>Microsoft has bought the Silverlight platform to a non-Microsoft mobile platform for the first time ever.</p>
<p>In order to get started with Silverlight for Symbian, you will want to familiarize yourself with the platform capabilities.</p>
<p>More resources are available on <a href="http://msdn.microsoft.com/en-us/library/ff770308(v=vs.95).aspx" target="_blank">microsoft website</a>.</p>
<p>Days are not far when you will see silverlight on rest of consumer devices ..</p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=912">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F&amp;title=Silverlight+for+Symbian+S60+devices+" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F&amp;title=Silverlight+for+Symbian+S60+devices+" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F&amp;title=Silverlight+for+Symbian+S60+devices+" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F&amp;headline=Silverlight+for+Symbian+S60+devices+" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Silverlight+for+Symbian+S60+devices+&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Silverlight+for+Symbian+S60+devices+&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Silverlight+for+Symbian+S60+devices+&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Silverlight+for+Symbian+S60+devices+&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Silverlight+for+Symbian+S60+devices+&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F&amp;title=Silverlight+for+Symbian+S60+devices+&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-for-symbian-s60-devices%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-for-symbian-s60-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight TextBox AutoComit Behaviour</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-textbox-autocomit-behaviour/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-textbox-autocomit-behaviour/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 00:49:11 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=905</guid>
		<description><![CDATA[Standard Silverlight TextBox control is very useful but has one strange behavior: if you use TwoWay data binding and bind some property to controls Text property, when users type text into the control, this change is not propagated to the bound property until the control loses its focus.   This can be very annoying if you [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(905, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 4"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_905_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_905_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>Standard Silverlight TextBox control is very useful but has one strange behavior: if you use TwoWay data binding and bind some property to controls Text property, when users type text into the control, this change is not propagated to the bound property until the control loses its focus.  </p>
<p>This can be very annoying if you have MVVM application and you have some kind of real-time filter that needs to update some data as-you-type.  </p>
<p>In TwoWay bindings, changes to the target automatically update the source, except when binding to the <strong>Text property of a TextBox</strong>. In this case, the update occurs when the TextBox loses focus (in case of element to element binding the text box behaviour is normal) .  </p>
<p>You can disable automatic source updates and update the source at times of your choosing. For example, you can do this to validate user input from multiple controls before you update the bound data sources.  </p>
<p>You must update the source for each binding individually, however. To update a binding, first call the FrameworkElement.GetBindingExpression method of a target element, passing in the target DependencyProperty. You can then use the return value to call the BindingExpression.UpdateSource method. The following example code demonstrates this process  </p>
<p> Problem is that TextBox control does not call BindingExpression.UpdateSource when its Text property is changed so we have to do that manually in order to fix this issue.The AutoComit Behavior for textbox control is now part of <a href="http://www.rajneeshnoonia.com/blog/2011/01/nano-viewmodel-support/" target="_self">NanoVMSupport Library (Lib for MVVM)</a>  </p>
<div class="dean_ch" style="white-space: wrap;">public class AutoCommit : Behavior&lt;TextBox&gt;<br />
<span class="br0">&#123;</span><br />
    protected override <span class="kw4">void</span> OnAttached<span class="br0">&#40;</span><span class="br0">&#41;</span><br />
    <span class="br0">&#123;</span><br />
        base.<span class="me1">OnAttached</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
        AssociatedObject.<span class="me1">TextChanged</span> += AssociatedObjectOnTextChanged;<br />
    <span class="br0">&#125;</span></p>
<p>    private <span class="kw4">void</span> AssociatedObjectOnTextChanged<span class="br0">&#40;</span>object sender, TextChangedEventArgs args<span class="br0">&#41;</span><br />
    <span class="br0">&#123;</span><br />
        var bindingExpr = AssociatedObject.<span class="me1">GetBindingExpression</span><span class="br0">&#40;</span>TextBox.<span class="me1">TextProperty</span><span class="br0">&#41;</span>;<br />
        <span class="kw1">if</span><span class="br0">&#40;</span>bindingExpr != <span class="kw2">null</span><span class="br0">&#41;</span> bindingExpr.<span class="me1">UpdateSource</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
    <span class="br0">&#125;</span></p>
<p>    protected override <span class="kw4">void</span> OnDetaching<span class="br0">&#40;</span><span class="br0">&#41;</span><br />
    <span class="br0">&#123;</span><br />
        AssociatedObject.<span class="me1">TextChanged</span> -= AssociatedObjectOnTextChanged;<br />
        base.<span class="me1">OnDetaching</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
    <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div>
<p>And the xaml is  </p>
<div><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&lt;<span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">TextBox</span></span></span><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"> Text</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">=&#8221;{</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">Binding</span></span></span><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"> SearchText</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">,</span></span></span><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;">Mode</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">=TwoWay}&#8221;&gt;</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"> </span></span></span></span></span></span></div>
<div><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"> </span></span></span></span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&lt;</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">i</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">:</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">Interaction.Behaviors</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&gt;</span></span></span> </span></span></span></span></span></span></div>
<div><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&lt;</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">NanoVM</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">:</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">AutoCommit</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">/&gt;</span></span></span> </span></span></span></span></span></span></span></span></span></div>
<div><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">&lt;/<span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">i</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">:</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">Interaction.Behaviors</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&gt;</span></span></span> </span></span></span></span></span></span></span></span></span></span></span></span></div>
<div><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">&lt;/TextBox</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&gt;</span></span></span> </span></span></span></span></span></span></span></span></span></span></span></span></div>
<p><strong>Another approach</strong> to solve this issue is to create TextBoxEx class drived from TextBox.With this approach the xaml size will be highly reduced as for each text box in your application it would save around <strong>90 chars in xaml</strong>.</p>
<div class="dean_ch" style="white-space: wrap;">public class TextBoxEx : TextBox<br />
<span class="br0">&#123;</span><br />
    public TextBoxEx<span class="br0">&#40;</span><span class="br0">&#41;</span><br />
    <span class="br0">&#123;</span><br />
        this.<span class="me1">Loaded</span> += new RoutedEventHandler<span class="br0">&#40;</span>TextBoxEx_Loaded<span class="br0">&#41;</span>;<br />
    <span class="br0">&#125;</span></p>
<p>    <span class="kw4">void</span> TextBoxEx_Loaded<span class="br0">&#40;</span>object sender, RoutedEventArgs e<span class="br0">&#41;</span><br />
    <span class="br0">&#123;</span><br />
        this.<span class="me1">TextChanged</span> += new TextChangedEventHandler<span class="br0">&#40;</span>TextBoxEx_TextChanged<span class="br0">&#41;</span>;<br />
    <span class="br0">&#125;</span></p>
<p>    <span class="kw4">void</span> TextBoxEx_TextChanged<span class="br0">&#40;</span>object sender, TextChangedEventArgs e<span class="br0">&#41;</span><br />
    <span class="br0">&#123;</span><br />
        var source = sender as TextBox;<br />
        <span class="kw1">if</span> <span class="br0">&#40;</span>source != <span class="kw2">null</span><span class="br0">&#41;</span><br />
        <span class="br0">&#123;</span><br />
            var bindingExpression = source.<span class="me1">GetBindingExpression</span><span class="br0">&#40;</span>TextBox.<span class="me1">TextProperty</span><span class="br0">&#41;</span>;<br />
            <span class="kw1">if</span> <span class="br0">&#40;</span>bindingExpression != <span class="kw2">null</span><span class="br0">&#41;</span><br />
            <span class="br0">&#123;</span><br />
                bindingExpression.<span class="me1">UpdateSource</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
            <span class="br0">&#125;</span><br />
        <span class="br0">&#125;</span><br />
    <span class="br0">&#125;</span></p>
<p><span class="br0">&#125;</span></div>
<p>and xaml in this case is </p>
<div><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">&lt;<span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">ctrls:TextBoxEx</span></span></span><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"> Text</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">=&#8221;{</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;">Binding</span></span></span><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"> SearchText</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">,</span></span></span><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;"><span style="font-family: Consolas; color: #ff0000; font-size: x-small;">Mode</span></span></span><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">=TwoWay}&#8221;/&gt;</span></span></span><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"><span style="font-family: Consolas; color: #a31515; font-size: x-small;"> </span></span></span></span></span></span></div>
<p>However the above behaviour give you more control of how text box behaves.</p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=905">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F&amp;title=Silverlight+TextBox+AutoComit+Behaviour" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F&amp;title=Silverlight+TextBox+AutoComit+Behaviour" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F&amp;title=Silverlight+TextBox+AutoComit+Behaviour" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F&amp;headline=Silverlight+TextBox+AutoComit+Behaviour" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Silverlight+TextBox+AutoComit+Behaviour&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Silverlight+TextBox+AutoComit+Behaviour&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Silverlight+TextBox+AutoComit+Behaviour&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Silverlight+TextBox+AutoComit+Behaviour&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Silverlight+TextBox+AutoComit+Behaviour&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F&amp;title=Silverlight+TextBox+AutoComit+Behaviour&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-textbox-autocomit-behaviour%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-textbox-autocomit-behaviour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nano ViewModel Support</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/01/nano-viewmodel-support/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/01/nano-viewmodel-support/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 17:18:33 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=888</guid>
		<description><![CDATA[Nano view model is very small library to build MVVM enabled Silverlight/WPF/WP7 based application.MVVM becomes more and more popular in fast few years and there are many implementations  like MVVM Light toolkit, Prism(Last Version), nRoute, or Caliburn however these libraries have too many features and keep on growing which could have adverse effect on you project [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(888, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 12"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_888_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_888_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p><strong>Nano view model</strong> is very small library to build MVVM enabled Silverlight/WPF/WP7 based application.MVVM becomes more and more popular in fast few years and there are many implementations  like MVVM Light toolkit, Prism(Last Version), nRoute, or Caliburn however these libraries have too many features and keep on growing which could have adverse effect on you project in terms of performance etc.For example communication between view in MVVM Light Toolkit is based on silverlight messaging which may not be best if you working ithin single silverlight application.It can be used when you page have more than one silverlight application (xap files) which requires communication and what about if you are not intead to use some of the feature from the toolkits i.e you want just the MVVM but you end up with adding complete set of library in your project.What if you need some features from MVVM Toolkit and you too want to use prism library.</p>
<p>There are a number of benefits this pattern brings to both WPF and Silverlight development. Before you go on, ask yourself:</p>
<ul>
<li>Do you need to share a project with a designer, and have the flexibility for design work and development work to happen near-simultaneously?</li>
<li>Do you require thorough unit testing for your solutions?</li>
<li>Is it important for you to have reusable components, both within and across projects in your organization?</li>
<li>Would you like more flexibility to change your user interface without having to refactor other logic in the code base?</li>
</ul>
<p>MVVM is not just about resuability,blendability &amp; testability however its very power and if used properly you could create low latency WPF based applications.If you want to know about the theory you may follow the post <a href="http://www.rajneeshnoonia.com/blog/2011/01/all-about-mvvm/" target="_blank">here</a> or google it and you will find many discussions and articles on MVVM.</p>
<p>Below are the features supported by<strong> NanoVmSupport</strong> library</p>
<ul>
<li>Minimum code in you view model.</li>
<li>No nead to have obvervable properties and extra code with each property.</li>
<li>Supports command implementation.</li>
<li>Command binding for all most all controls using EventToCommand implementation</li>
<li>Provision to set design time data for view model (supports blendability)</li>
<li><strong>NanoVmSupport.Events</strong> libaray supports communication between two view models in you application.It is extracted from Prism library so you if you are familiar with prism its very easy for your.Please note that you don&#8217;t have to use prism to use this.If few months later support you want prism, you may exclude NanoVmSupport.Events library and your code will start using eventing from prism with just chnaging single line of initilization.</li>
<li>You can easyly write unit tests against your view models.</li>
</ul>
<p>The sample silverlight application below (MVVM &amp; library MVVM.Events) is the implement of NanoVMSupport &amp; NanoVMsupport.Events.The source code for sample project and NanoVMSupport library can be downloaded from <a href="http://www.rajneeshnoonia.com/blog/uploads/code/NanoVM/NanoVMSource.zip" target="_blank"><strong>here</strong></a><strong> </strong>and if required binaries are <strong><a href="http://www.rajneeshnoonia.com/blog/uploads/code/NanoVM/NanoVMBinaries.zip" target="_blank">here</a></strong>.<br />
<div id="silverlightControlHost"><object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="650" height="550"><param name="source" value="http://www.rajneeshnoonia.com/blog/uploads/code/NanoVM/MVVM.xap"/><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40723.0" /><param name="autoupgrade" value="true" /><param name="enableHtmlAccess" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156" style="text-decoration: none;"><img src="http://storage.timheuer.com/sl4wp-ph.png" alt="Install Microsoft Silverlight" style="border-style: none; width:400px; height:200px"/></a></object><iframe style="visibility:hidden;height:0;width:0;border:0px" id="_sl_historyFrame"></iframe></div><br /></p>
<p>The sample folder in the source code also includes sample application code for silverlight and WPF.The WPF application is <a href="http://www.rajneeshnoonia.com/blog/2011/01/auction-sniper/" target="_blank">Auction Sniper</a> for madbid which places your bids automaticaly based on some figures/process.<br />
For communication between viewmodels check the documentation from prism or send me your queries in this post,for Microsoft Unity Application block click <a href="http://unity.codeplex.com/" target="_blank">here</a>.</p>
<p>MVVM common Issues &amp; fixes in NanoVMSupport :</p>
<ul>
<li><strong>Standard Silverlight TextBox</strong> control is very useful but has one strange behavior: if you use TwoWay data binding and bind some property to controls Text property, when users type text into the control, this <strong>change is not propagated to the bound property until the control loses its focus</strong>. The AutoComit Behavior for textbox control is now part of NanoVMSupport Library (Lib for MVVM) for detail check this article &#8220;<a href="http://www.rajneeshnoonia.com/blog/2011/01/silverlight-textbox-autocomit-behaviour/" target="_blank">Silverlight TextBox AutoComit Behaviour</a>&#8220;.</li>
<li><strong>How to invalidate the CanExecute value</strong> : Suppose you have textbox and command button ,Can execute returns false if the length of text is zero otherwise it returns true and you have also used the above mentioned Auto Comit behaviour on text box.CanExecute will be re-evaluated when something interesting within the application&#8217;s window happens in WPF however in silverlight or with NanoVMSupport library you have to explictly update the ICommand.The one way of doing this is to change &#8220;RaisePropertyChange&#8221; method in ViewModelBase.cs as mentioned below
<div class="dean_ch" style="white-space: wrap;">protected <span class="kw4">void</span> RaisePropertyChanged<span class="br0">&#40;</span><span class="kw4">string</span> name<span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
    PropertyChanged.<span class="me1">Raise</span><span class="br0">&#40;</span>this, name<span class="br0">&#41;</span>;<br />
    PropertyChanged.<span class="me1">Raise</span><span class="br0">&#40;</span>this, <span class="st0">&quot;&quot;</span><span class="br0">&#41;</span>;</p>
<p><span class="br0">&#125;</span></div>
<p>The code line PropertyChanged.Raise(this, &#8220;&#8221;); will refresh all the properties and icommands on view.But it may have performance issues if you have may properties and commands in viewmodal.The another recommended approach is to use following code in viewmodal</p>
<div class="dean_ch" style="white-space: wrap;">public <span class="kw4">string</span> SelectedText<br />
<span class="br0">&#123;</span><br />
    get <span class="br0">&#123;</span> <span class="kw1">return</span> Get<span class="br0">&#40;</span><span class="br0">&#40;</span><span class="br0">&#41;</span> =&gt; SelectedText<span class="br0">&#41;</span>; <span class="br0">&#125;</span><br />
    set<br />
    <span class="br0">&#123;</span><br />
        Set<span class="br0">&#40;</span><span class="br0">&#40;</span><span class="br0">&#41;</span> =&gt; SelectedText, value<span class="br0">&#41;</span>;<br />
        base.<span class="me1">RaisePropertyChanged</span><span class="br0">&#40;</span><span class="st0">&quot;SearchCommand&quot;</span><span class="br0">&#41;</span>;<br />
    <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div>
<p>The code base.RaisePropertyChanged(&#8220;SearchCommand&#8221;); will invalidate the SearchCommand.</li>
</ul>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=888">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F&amp;title=Nano+ViewModel+Support" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F&amp;title=Nano+ViewModel+Support" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F&amp;title=Nano+ViewModel+Support" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F&amp;headline=Nano+ViewModel+Support" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Nano+ViewModel+Support&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Nano+ViewModel+Support&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Nano+ViewModel+Support&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Nano+ViewModel+Support&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Nano+ViewModel+Support&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F&amp;title=Nano+ViewModel+Support&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fnano-viewmodel-support%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/01/nano-viewmodel-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silverlight Editors</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-editors/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-editors/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 05:46:34 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=872</guid>
		<description><![CDATA[An early days experiment to create silverlight based shape editor control and rich text editor control .. Shape editor : click on &#8220;Image&#8221; button, select image.you may drag,resize and change several properties of shapes.Some shapes like free hand drawing,text etc supports inline editing which will activate when you double click shape. download shape editor source code *Above control is [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(872, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 21"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_872_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_872_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>An early days experiment to create silverlight based shape editor control and rich text editor control ..</p>
<p><strong>Shape editor </strong>: click on &#8220;Image&#8221; button, select image.you may drag,resize and change several properties of shapes.Some shapes like free hand drawing,text etc supports inline editing which will activate when you double click shape.<br />
<div id="silverlightControlHost"><object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="850" height="650"><param name="source" value="http://www.rajneeshnoonia.com/blog/uploads/code/editor/clientbin/Editor.xap"/><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40723.0" /><param name="autoupgrade" value="true" /><param name="enableHtmlAccess" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156" style="text-decoration: none;"><img src="http://storage.timheuer.com/sl4wp-ph.png" alt="Install Microsoft Silverlight" style="border-style: none; width:400px; height:200px"/></a></object><iframe style="visibility:hidden;height:0;width:0;border:0px" id="_sl_historyFrame"></iframe></div><br /></p>
<p><a href="http://www.rajneeshnoonia.com/blog/uploads/code/Editor.zip">download shape editor source code</a></p>
<pre><span style="color: #888888;">*Above control is just an experiment and may have buggs etc..</span></pre>
<p><strong>Word editor :</strong> experiment to Create RichTextBox ( silverlight based word) which allows basic text operations inclusing copy/past text etc to-from word,excel alone with formating and lot more..<br />
<div id="silverlightControlHost"><object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="800" height="650"><param name="source" value="http://www.rajneeshnoonia.com/blog/uploads/code/RTF/clientbin/RichTextBox.xap"/><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40723.0" /><param name="autoupgrade" value="true" /><param name="enableHtmlAccess" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156" style="text-decoration: none;"><img src="http://storage.timheuer.com/sl4wp-ph.png" alt="Install Microsoft Silverlight" style="border-style: none; width:400px; height:200px"/></a></object><iframe style="visibility:hidden;height:0;width:0;border:0px" id="_sl_historyFrame"></iframe></div><br /></p>
<pre><span style="color: #888888;">*The code for this control was reflectored from </span><a href="http://www.vectorlight.net/silverlight/controls/rich_textbox.aspx" target="_blank"><span style="color: #888888;">Liquid RichTextBox</span></a><span style="color: #888888;"> and modified to incorporate other features. Liquid RichTextBox is free control to use in your application.</span></pre>
<p>All these controls were created with silverlight 3 some were around 2009 and code may not to usefull as other new features are introduced with silverlight 4 which could be utilized in more efficient way.</p>
<p><a href="http://rajneeshnoonia.com/blog/uploads/code/RichTextBox.zip">Download RichTextBox source code</a></p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=872">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F&amp;title=Silverlight+Editors" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F&amp;title=Silverlight+Editors" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F&amp;title=Silverlight+Editors" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F&amp;headline=Silverlight+Editors" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Silverlight+Editors&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Silverlight+Editors&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Silverlight+Editors&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Silverlight+Editors&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Silverlight+Editors&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F&amp;title=Silverlight+Editors&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fsilverlight-editors%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/01/silverlight-editors/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Auction Sniper</title>
		<link>http://www.rajneeshnoonia.com/blog/2011/01/auction-sniper/</link>
		<comments>http://www.rajneeshnoonia.com/blog/2011/01/auction-sniper/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 16:31:20 +0000</pubDate>
		<dc:creator>Rajneesh Noonia</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.rajneeshnoonia.com/blog/?p=853</guid>
		<description><![CDATA[Auction Sniper is an eBay/Madbid sniper that automates the process of placing your eBay/madbid bid in the closing seconds of any eBay/Madbid bidding auction, dramatically increasing your chance of winning with huge saving to your bids.The sample application is WPF based windows application out of which as developer you will learn following tasks NanoVMSupport Library [...]]]></description>
			<content:encoded><![CDATA[<div class="thanks_button_div" style="float: right;margin-right:-26px; margin-top:-60px;position:relative;"><div style="float: left; display: inline;"><input type="button" onclick="thankYouButtonClick(853, 'You left &ldquo;Thanks&rdquo; already for this post')" value="Thank You: 4"
                class="thanks_button thanks_compact thanks_grey1"
                style="background-image:url(http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/thanks_compact_grey1.png);  font-family: Verdana, Arial, Sans-Serif; font-size: 10px; font-weight: normal;; color:#0c004b;"
                id="thanksButton_853_2" title="Click to left &ldquo;Thanks&rdquo; for this post"/></div><div id="ajax_loader_853_2" style="display:inline;visibility: hidden;"><img alt="ajax loader" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/thanks-you-counter-button/images/ajax-loader.gif" /></div></div><p>Auction Sniper is an <span style="text-decoration: line-through;">eBay</span>/Madbid sniper that automates the process of placing your<span style="text-decoration: line-through;"> eBay/</span>madbid bid in the closing seconds of any <span style="text-decoration: line-through;">eBay/</span>Madbid bidding auction, dramatically increasing your chance of winning with huge saving to your bids.The sample application is WPF based windows application out of which as developer you will learn following tasks</p>
<ul>
<li><a href="http://www.rajneeshnoonia.com/blog/2011/01/nano-viewmodel-support/" target="_self">NanoVMSupport</a> Library for ViewModel (WPF &amp; Silverlight).</li>
<li>Implementing MVVM in WPF.</li>
<li>Hooking web browser control for HTML events.</li>
</ul>
<p>Source code of sample project is available within <a href="http://www.rajneeshnoonia.com/blog/2011/01/nano-viewmodel-support/" target="_self">NanoVMSupport</a> article. Launch the application and navigate to any open bids (single bid &#8211; detailed view) and click on start button.If you are not logged-in the application will ask you to log-in or press cancel if you just want to test this.</p>
<p>eBay implementation is not available in this project..</p>
<p>*Please note that this is just an proff of concept and is not intead to for end users.The code has been developed from developer prospective and fun.</p>

                            <div id="aspdf">
                                <a href="http://www.rajneeshnoonia.com/blog/wp-content/plugins/as-pdf/generate.php?post=853">
                                    <span>Download post</span>
                                </a>
                            </div>
                        <div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F&amp;title=Auction+Sniper" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F&amp;title=Auction+Sniper" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F&amp;title=Auction+Sniper" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F&amp;headline=Auction+Sniper" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Auction+Sniper&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Auction+Sniper&amp;u=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Auction+Sniper&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Auction+Sniper&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Auction+Sniper&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F&amp;title=Auction+Sniper&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fwww.rajneeshnoonia.com%2Fblog%2F2011%2F01%2Fauction-sniper%2F" ><img class="lightsocial_img" src="http://www.rajneeshnoonia.com/blog/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://www.rajneeshnoonia.com/blog/2011/01/auction-sniper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

