<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Earn while you Learn</title>
	<atom:link href="http://shahnidhin.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shahnidhin.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 06 Aug 2010 15:35:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shahnidhin.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Earn while you Learn</title>
		<link>http://shahnidhin.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shahnidhin.wordpress.com/osd.xml" title="Earn while you Learn" />
	<atom:link rel='hub' href='http://shahnidhin.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Hosing Provider</title>
		<link>http://shahnidhin.wordpress.com/2010/06/12/hosing-provider/</link>
		<comments>http://shahnidhin.wordpress.com/2010/06/12/hosing-provider/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 14:32:51 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[Hosting Providers]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=197</guid>
		<description><![CDATA[HostGator has been a world-leading provider of web hosting service. They offer Shared, Reseller, VPS, and Dedicated server packages for both beginners and professionals alike. Each of our Web Hosting plans includes 24/7/365 support, a 99.9% uptime guarantee, and a 45-day, money-back guarantee. If you would like to learn more, please visit our company page.They are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=197&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td><a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=Nidhig-"><img src="http://tracking.hostgator.com/img/WordPress_Hosting/125x125-animated.gif" border="0" alt="" /></a></td>
<td>HostGator has been a world-leading provider of web hosting service. They offer Shared, Reseller, VPS, and Dedicated server packages for both beginners and professionals alike. Each of our Web Hosting plans includes 24/7/365 support, a 99.9% uptime guarantee, and a 45-day, money-back guarantee. If you would like to learn more, please visit our company page.They are really good Hosing Provider.</td>
</tr>
</tbody>
</table>
<br />Filed under: <a href='http://shahnidhin.wordpress.com/category/hosting-providers/'>Hosting Providers</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=197&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2010/06/12/hosing-provider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>

		<media:content url="http://tracking.hostgator.com/img/WordPress_Hosting/125x125-animated.gif" medium="image" />
	</item>
		<item>
		<title>Get your Own Branding —The Key To Eliminating Your Problems</title>
		<link>http://shahnidhin.wordpress.com/2010/06/12/tools-%e2%80%b9-earn-while-you-learn-%e2%80%94-wordpress/</link>
		<comments>http://shahnidhin.wordpress.com/2010/06/12/tools-%e2%80%b9-earn-while-you-learn-%e2%80%94-wordpress/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 11:12:43 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[Affiliate]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=170</guid>
		<description><![CDATA[Earn while you Learn — WordPress The  key to eliminating problems is  putting place in System. &#8211; Anthony Fernado I found very good tool for developing my Own blog. I am learning at the same time developing the business as well. Since last 2 years i was trying to build my Blog using the Word [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=170&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Earn while you Learn — WordPress</p>
<table>
<tbody>
<tr>
<td colspan="2">The  key to eliminating problems is  putting place in System. &#8211; Anthony Fernado</p>
<p>I found very good tool for developing my Own blog.</td>
</tr>
<tr>
<td><a href="http://mlmmvp.com?affid=115" target="_blank"><img src="http://affiliates.profitguru.info/images/affbanner/you-inc-blog.jpg" border="0" alt="You Inc Blog" width="295" height="333" /></a></td>
<td>I am learning at the same time developing the business as well.<br />
Since last 2 years i was  trying to build my Blog using the Word Press.<br />
Even i spent money on various Software as well.It didn&#8217;t turn out.For this i had just started few days back and its working.<br />
If you also want to Learn and Earn Other then whatever job or Business you are doing you can do it easily without affecting your job.</td>
</tr>
</tbody>
</table>
<br />Filed under: <a href='http://shahnidhin.wordpress.com/category/affiliate/'>Affiliate</a> Tagged: <a href='http://shahnidhin.wordpress.com/tag/uncategorized/'>Uncategorized</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=170&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2010/06/12/tools-%e2%80%b9-earn-while-you-learn-%e2%80%94-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>

		<media:content url="http://affiliates.profitguru.info/images/affbanner/you-inc-blog.jpg" medium="image">
			<media:title type="html">You Inc Blog</media:title>
		</media:content>
	</item>
		<item>
		<title>Earn By Joining Network</title>
		<link>http://shahnidhin.wordpress.com/2010/05/06/online-marketing/</link>
		<comments>http://shahnidhin.wordpress.com/2010/05/06/online-marketing/#comments</comments>
		<pubDate>Thu, 06 May 2010 05:13:30 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[Affiliate]]></category>
		<category><![CDATA[Earn On Tweeter]]></category>
		<category><![CDATA[Good Hositng Provider]]></category>
		<category><![CDATA[Join Network and Earn]]></category>
		<category><![CDATA[Online Marketing]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=133</guid>
		<description><![CDATA[  The Mission: MyLeadSystemPRO™ is the leading, cutting-edge educational platform engineered by the most successful entrepreneurs in the home based business arena with one goal in mind: Provide network marketers and business owners all the necessary tools, resources, websites, and ongoing training required to build a wildly successful and profitable home based business. Join the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=133&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td><a href="http://www.sevenfiguremastermindteam.com/iglobalpartner/47372/" target="_blank"><img src="http://mlmleadsystempro.com/images/banners/MLM.Banner-3-125x125.gif" border="0" alt="Attraction Marketing System" /></a> </td>
<td>The Mission: MyLeadSystemPRO™ is the leading, cutting-edge educational platform engineered by the most successful entrepreneurs in the home based business arena with one goal in mind: Provide network marketers and business owners all the necessary tools, resources, websites, and ongoing training required to build a wildly successful and profitable home based business.</td>
</tr>
<tr>
<td>
<div><a title="Magpie is Twitter Advertising" href="http://be-a-magpie.com/e6z7d5" target="_blank"><img src="http://be-a-magpie.com/images/goodies/magpie_button_125x125_2.gif" alt="Launch viral advertising campaigns on Twitter with Magpie!" /></a></div>
</td>
<td>Join the Conversation!<br />
Magpie, the original Twitter advertising network, assists brands to harness the power of conversation.Our platform enables advertisers to create relevant, controlled and individualized sponsored conversations in a mutually beneficial partnership between advertisers and twitterers.</td>
</tr>
<tr>
<td><a href="http://www.clickjobs.com/invite/Shahnidhi/B/" target="_blank"><img src="http://imgs.clickjobs.com/jbs/images/invite-banners/ClickJobs120x90-B.gif" border="0" alt="" /></a></td>
<td> Here is a great opportunity for you to make money by simply advertising these banners on your blogs/websites. When users click on the banners they would be added to your network after they register on ClickJobs and together you can start making money.</td>
</tr>
</tbody>
</table>
<br />Filed under: <a href='http://shahnidhin.wordpress.com/category/affiliate/'>Affiliate</a> Tagged: <a href='http://shahnidhin.wordpress.com/tag/earn-on-tweeter/'>Earn On Tweeter</a>, <a href='http://shahnidhin.wordpress.com/tag/good-hositng-provider/'>Good Hositng Provider</a>, <a href='http://shahnidhin.wordpress.com/tag/join-network-and-earn/'>Join Network and Earn</a>, <a href='http://shahnidhin.wordpress.com/tag/online-marketing/'>Online Marketing</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/133/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/133/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/133/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=133&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2010/05/06/online-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>

		<media:content url="http://mlmleadsystempro.com/images/banners/MLM.Banner-3-125x125.gif" medium="image">
			<media:title type="html">Attraction Marketing System</media:title>
		</media:content>

		<media:content url="http://be-a-magpie.com/images/goodies/magpie_button_125x125_2.gif" medium="image">
			<media:title type="html">Launch viral advertising campaigns on Twitter with Magpie!</media:title>
		</media:content>

		<media:content url="http://imgs.clickjobs.com/jbs/images/invite-banners/ClickJobs120x90-B.gif" medium="image" />
	</item>
		<item>
		<title>Rupee Mail Network</title>
		<link>http://shahnidhin.wordpress.com/2010/04/20/rupee-mail-network/</link>
		<comments>http://shahnidhin.wordpress.com/2010/04/20/rupee-mail-network/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 08:53:22 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[Affiliate]]></category>
		<category><![CDATA[Discount Coupons & Offers]]></category>
		<category><![CDATA[Earn by reading Mail]]></category>
		<category><![CDATA[Online Marketing]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/2010/04/20/rupee-mail-network/</guid>
		<description><![CDATA[Why RupeeMail? Get paid to open your mail You receive the face value amount of the stamp instantly when you open RupeeMail RupeeMail is easily distinguishable from spam A suffix of &#8220;RupeeMail &#8211; Rs.&#8221; in subject line of RupeeMail sets it apart from all other mails. RupeeMail is safe because it is sent by verified [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=131&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Why RupeeMail? </p>
<p>Get paid to open your mail<br />
You receive the face value amount of the stamp instantly when you open RupeeMail </p>
<p>RupeeMail is easily distinguishable from spam<br />
A suffix of &#8220;RupeeMail &#8211; Rs.&#8221; in subject line of RupeeMail sets it apart from all other mails.  </p>
<p>RupeeMail is safe because it is sent by verified senders<br />
Only verified and authenticated senders are allowed to send RupeeMail. </p>
<p>Redeem your earnings by Cheque any time<br />
Simple one step process to redeem your earnings by cheque.  </p>
<p>Option to donate your earnings to charity of your choice<br />
Simply select the charity of your choice to donate your earnings.  </p>
<p>You decide what to receive &amp; what not to receive<br />
You will receive RupeeMails only in your prefered email categories of products and services .  </p>
<p>You will receive discount coupons and other offers of your choice<br />
You will often save a lot more coupons and other offers in RupeeMail for quality products and services.  </p>
<p>Campaign Showcase<br />
Artha Health: Get Cashless Hospitalization From ArthaHealth Insurance.iforex: Let your money work for you.<br />
 Launch Offer !!<br />
Refer your friends and earn Rs. 2 for<br />
each registration.  </p>
<p><a href="http://www.rupeemail.in/rupeemail/invite.do?in=NDQ2MzMxJSMlejQ4eWZTSkxoVktxWVRCdWprUldiczFVeA=="><br />
<img src="http://www.rupeemail.in/rupeemail/pages/rupeemail/images/joinImage.gif" width="114" height="48" border="0"></p>
<br />Filed under: <a href='http://shahnidhin.wordpress.com/category/affiliate/'>Affiliate</a> Tagged: <a href='http://shahnidhin.wordpress.com/tag/discount-coupons-offers/'>Discount Coupons &amp; Offers</a>, <a href='http://shahnidhin.wordpress.com/tag/earn-by-reading-mail/'>Earn by reading Mail</a>, <a href='http://shahnidhin.wordpress.com/tag/online-marketing/'>Online Marketing</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=131&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2010/04/20/rupee-mail-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>

		<media:content url="http://www.rupeemail.in/rupeemail/pages/rupeemail/images/joinImage.gif" medium="image" />
	</item>
		<item>
		<title>My MGinger Network</title>
		<link>http://shahnidhin.wordpress.com/2010/04/20/my-mginger-network/</link>
		<comments>http://shahnidhin.wordpress.com/2010/04/20/my-mginger-network/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 08:40:24 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[Affiliate]]></category>
		<category><![CDATA[Discount Coupons & Offers]]></category>
		<category><![CDATA[Join Network and get discount copons available to your city.Earn Money ethically.]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=127</guid>
		<description><![CDATA[Just join to take advantage.. What do you get ? » Get Paid For incoming SMS on your mobile. Accumulate Rs. 300 and receive a cheque. » Free SMS Send free SMS to your friends and save on your mobile bill. » mCoupons Download coupons on your mobile and avail assured discounts in stores. » [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=127&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just join to take advantage..</p>
<p>What do you get ?<br />
»  Get Paid<br />
For incoming SMS on your mobile. Accumulate Rs. 300 and receive a cheque.<br />
»  Free SMS<br />
Send free SMS to your friends and save on your mobile bill.<br />
»  mCoupons<br />
Download coupons on your mobile and avail assured discounts in stores.<br />
»  Mobile Games<br />
Download free mobile games. Play and have fun with your friends.<br />
»  Get Great Offers<br />
In your locality on variety of brands and save tons of money.<br />
»  Be informed<br />
On various events, deals and discounts in your city and locality. </p>
<div>
<a href="http://mGinger.com/signup.html?inviteId=842106"><br />
 <img src="http://img.mginger.com/img/banner/mg468x60_red.png" /><br />
</a><br />
</DIv></p>
<br />Filed under: <a href='http://shahnidhin.wordpress.com/category/affiliate/'>Affiliate</a> Tagged: <a href='http://shahnidhin.wordpress.com/tag/discount-coupons-offers/'>Discount Coupons &amp; Offers</a>, <a href='http://shahnidhin.wordpress.com/tag/join-network-and-get-discount-copons-available-to-your-city-earn-money-ethically/'>Join Network and get discount copons available to your city.Earn Money ethically.</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=127&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2010/04/20/my-mginger-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>

		<media:content url="http://img.mginger.com/img/banner/mg468x60_red.png" medium="image" />
	</item>
		<item>
		<title>Market Samurai</title>
		<link>http://shahnidhin.wordpress.com/2009/12/30/market-samurai/</link>
		<comments>http://shahnidhin.wordpress.com/2009/12/30/market-samurai/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 08:56:19 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[Affiliate]]></category>
		<category><![CDATA[SEO Tools]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=108</guid>
		<description><![CDATA[Every web-site needs traffic if it&#8217;s going to succeed &#8211; and the most reliable, consistent, profitable, high-volume source of traffic comes from search engines.All it takes is getting 3 SIMPLE things right! &#8211; the 3 Golden Rules&#8230; But 99% of sites get these 3 things wrong (without even realizing it at the time) &#8211; and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=108&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><TABLE></p>
<p><TBODY></p>
<p><TR></p>
<p><TD><A href="http://www.marketsamurai.com/c/iglobalpartner"><IMG title="Try Market Samurai now for free!" border="0" alt="Try Market Samurai now for free!" src="http://www.marketsamurai.com/affiliate/120x600-v1-3.png"></A></TD></p>
<p><TD vAlign="top">Every web-site needs traffic if it&#8217;s going to succeed &#8211; and the most reliable, consistent, profitable, high-volume source of traffic comes from search engines.All it takes is getting 3 SIMPLE things right! &#8211; the 3 Golden Rules&#8230;<br />
But 99% of sites get these 3 things wrong (without even realizing it at the time) &#8211; and as a result, the odds of success are stacked against them, making good profits (not even big profits) becomes a massive struggle&#8230;<br />
&#8230;And, as a result, 99% of sites fail!<br />
Making big traffic-generation mistakes that will cost you time, energy and money.Find out how to uncover “gold-nugget” keywords – each of these keywords can send hundreds, even thousands of free visitors to your site each day.<br />
Stop attracting time-wasting tire-kickers to your web-site, and target the keywords in your market that real buyers are using right now.<br />
Discover exactly how to beat the competition, and get front-page rankings in Google for high-traffic keywords in weeks or days – not months or years.</TD><br />
</TR><br />
</TBODY><br />
</TABLE></p>
<br />Posted in Affiliate, SEO Tools Tagged: SEO Tools <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=108&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2009/12/30/market-samurai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF</title>
		<link>http://shahnidhin.wordpress.com/2009/12/30/wpf/</link>
		<comments>http://shahnidhin.wordpress.com/2009/12/30/wpf/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 06:30:35 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[.NET Interview Questions & Answers]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[.NET 3.0 Interview Questions]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/2009/12/30/wpf/</guid>
		<description><![CDATA[1. What is WPF? Windows Presentation Framework (Avalon was the code name for WPF) is the new presentation API in WinFX. WPF is a two and three dimensional graphics engine. It has the following capabilities:- √ Has all equivalent common user controls like buttons, check boxes sliders etc. √ Fixed and flow format documents √ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=105&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. What is WPF?<br />
Windows Presentation Framework (Avalon was the code name for WPF) is the new presentation API in WinFX. WPF is a two and three dimensional graphics engine. It has the following capabilities:-<br />
√ Has all equivalent common user controls like buttons, check boxes sliders etc.<br />
√ Fixed and flow format documents<br />
√ Has all of the capabilities of HTML and Flash<br />
√ 2D and 3D vector graphics<br />
 √ Animation<br />
√ Multimedia<br />
 √ Data binding<br />
2. What is XAML?<br />
XAML (pronounced as Zammel) is a declarative XML-based language by which you can define object and properties in XML. XAML document is loaded by a XAML parser. XAML parser instantiates objects and set there properties. XAML describes objects, properties and there relation in between them. Using XAML you can create any kind of objects that means graphical or non-graphical. WPF parses the XAML document and instantiates the objects and creates the relation as defined by XAML. So XAML is a XML document which defines objects and properties and WPF loads this document in actual memory.<br />
 3. what are dependency properties? These are dependency properties that belong to one class but can be used in another. Consider the below code snippet:- 480 Height and Width are regular properties of the Rectangle. But Canvas.Top and Canvas. Left is dependency property as it belongs the canvas class. It’s used by the Rectangle to specify its position within Canvas.<br />
4 .Are XAML file compiled or built on runtime?<br />
XAML files are usually compiled rather than parsing on runtime. But it also supports parsing during runtime. When we build a XAML based project you will see it creates g.cs extension in obj\Debug folder. So for every XAMl file you will find a g.cs file. For instance a Nidhi.XAML will have Nidhi.g.cs file in obj\Debug folder. In short in runtime you actually do not see the XAML file. But if you want to do runtime parsing of XAML file it also allows that to be done.<br />
 5. Can you explain how we can separate code and XAML?<br />
This is one of the most important features of WPF, separating the XAML from the code to be handled. So designers can independently work on the presentation of the application and developers can actually write the code logic independent of how the presentation is. In order to associate a class with XAML file you need to specify the x:Class attribute. Any event specified on the XAML object can be connected by defining a method with sender and event values. You can see from the above code snippet we have linked the MyClickEvent to an event in the behind code. Note: &#8211; You can get a simple sample in WindowsSimpleXAML folder. Feel free to experiment with the code… experimenting will teach you much more than reading something theoretical.<br />
6. How can we access XAML objects in behind code?<br />
To access XAML objects in behind code you just need to define them with the same name as given in the XAML document. For instance in the below code snippet we named the object as objtext and the object is defined with the same name in the behind code<br />
7. What kind of documents are supported in WPF?<br />
There are two kind of major document supported in WPF Fixed format documents and Flow format document. Fixed format documents look like PDF format. They display content regardless of screen size and resolution. But flow format document adjust depending on screen size and resolution. Below is the code snippet for fixed format. You can see the document has a look of PDF reader. Step 1 defines the tag to define a document and Step 2 shows how the document looks.</p>
<br />Posted in .NET Interview Questions &amp; Answers, WPF Tagged: .NET 3.0 Interview Questions, .NET Interview Questions &amp; Answers <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=105&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2009/12/30/wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>
	</item>
		<item>
		<title>OOPS</title>
		<link>http://shahnidhin.wordpress.com/2009/12/30/oops/</link>
		<comments>http://shahnidhin.wordpress.com/2009/12/30/oops/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 05:52:02 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[.NET Interview Questions & Answers]]></category>
		<category><![CDATA[OOPS Concepts]]></category>
		<category><![CDATA[Abstact Class]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Delegate]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Interface]]></category>
		<category><![CDATA[Objects]]></category>
		<category><![CDATA[OOPs Concepts]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=103</guid>
		<description><![CDATA[What is Object Oriented Programming ? It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept. These objects have responsibilities and provide services to application or other objects.  What’s a Class ?  A class [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=103&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What is Object Oriented Programming ? </strong></p>
<p>It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept. These objects have responsibilities and provide services to application or other objects.</p>
<p><strong> What’s a Class ?</strong></p>
<p> A class describes all the attributes of objects, as well as the methods that implement the behavior of member objects. It’s a comprehensive data type which represents a blue print of objects. It’s a template of object.</p>
<p><strong> What’s an Object ?</strong></p>
<p> It is a basic unit of a system. An object is an entity that has attributes, behavior, and identity. Objects are members of a class. Attributes and behavior of an object are defined by the class definition.</p>
<p><strong>What is the relation between Classes and Objects ? </strong></p>
<p>They look very much same but are not same. Class is a definition, while object is a instance of the class created. Class is a blue print while objects are actual objects existing in real world. Example we have class CAR which has attributes and methods like Speed, Brakes, Type of Car etc. Class CAR is just a prototype, now we can create real time objects which can be used to provide functionality. Example we can create a Maruti car object with 100 km speed and urgent brakes.</p>
<p><strong> What are different properties provided by Objectoriented systems ? or Can you explain different properties of Object Oriented Systems? </strong></p>
<p><strong> </strong></p>
<br />Posted in .NET Interview Questions &amp; Answers, OOPS Concepts Tagged: .NET Interview Questions &amp; Answers, Abstact Class, Class, Delegate, Events, Interface, Objects, OOPs Concepts <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=103&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2009/12/30/oops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET Interoperability</title>
		<link>http://shahnidhin.wordpress.com/2009/11/21/net-interoperability/</link>
		<comments>http://shahnidhin.wordpress.com/2009/11/21/net-interoperability/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 06:47:43 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[.NET Interview Questions & Answers]]></category>
		<category><![CDATA[Dot NET Interoperability]]></category>
		<category><![CDATA[COM Componenets]]></category>
		<category><![CDATA[RCW<CCW]]></category>
		<category><![CDATA[Wrapper Class]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=100</guid>
		<description><![CDATA[1) How can we use COM Components in .NET? or What is RCW ?  .NET components communicate with COM using RCW (Runtime Callable Wrapper). Following are the ways with which you can generate RCW :- Adding reference in Visual Studio.net. Wrapper class is generated and placed in the “BIN” directory. Using Type library import tool. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=100&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1) How can we use COM Components in .NET? </strong><strong>or What is RCW ?</strong><em></em></p>
<p><em> </em>.NET components communicate with COM using RCW (Runtime Callable Wrapper).</p>
<p>Following are the ways with which you can generate RCW :-</p>
<p>Adding reference in Visual Studio.net. Wrapper class is generated and placed in the “BIN” directory.</p>
<p>Using Type library import tool. Tlbimp.exe yourname.dll.</p>
<p>Using interopservices.System.runtime.Interopservices namespace contains class TypeLib Converter which provides methods to convert COM classes and interface in to assembly metadata.</p>
<p>Make your custom wrappe rs.If your COM component does not have type library then the only way to communicate is writing custom wrappers. That meanscommunicating directly with COM components.</p>
<p><strong>  2) Once I have developed the COM wrapper do I have to still register the COM in registry?</strong></p>
<p><strong>      </strong>Yes.</p>
<p>&nbsp;</p>
<p> <strong>3) How can we use .NET components in COM? or</strong><strong> What is CCW (COM callable wrapper) ? or How do we ensure that .NET components is compatible with COM ?</strong><em> </em></p>
<p>.NET components can not be used in straight forward way with COM. You will need to create CCW in order that COM components communicate with .NET assemblies.</p>
<p>Following are the different approaches to implement it :-</p>
<p>Explicitly declare interfaces.</p>
<p>The second way to create CCW is by using InteropServices attributes.</p>
<p>Once .NET assembly is created using either interface or using interopservices method we need to create a COM type library using Type library export tool. <em>Tlbexp (AssemblyName) </em></p>
<p> The final thing is registering the CCW in registry using regasm tool. <em>regasm AssemblyName [Options] </em>Finally refer the TLB in your COM IDE Below is figure showing VB6 IDE referencing the DLL</p>
<p>&nbsp;</p>
<p><strong>4) How can we make Windows API calls in .NET? </strong></p>
<p>  Windows API call are not COM based and they are invoked through Platform Invoke Services.</p>
<p>  StringConversionType is for what type of conversion should take place. Either we can specify Unicode to  convert all strings to Unicode values, or Auto to convert strings according to the .NET runtime rules.</p>
<p> MethodName is the name of the API to call.</p>
<p> DllName is the name of the DLL.</p>
<p> Args are any arguments to the API call.</p>
<p>&nbsp;</p>
<p><strong>5)When we use windows API in .NET is it managed or unmanaged code ?</strong></p>
<p>Windows API in .NET is unmanaged code.</p>
<p><strong> </strong></p>
<p><strong>6)What is COM ? </strong></p>
<p>Microsoft’s COM is a technology for component software development. It is a binary standard which is language independent. DCOM is a distributed extension of COM.</p>
<br />Posted in .NET Interview Questions &amp; Answers, Dot NET Interoperability Tagged: .NET Interview Questions &amp; Answers, COM Componenets, RCW&lt;CCW, Wrapper Class <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=100&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2009/11/21/net-interoperability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic .NET Framework</title>
		<link>http://shahnidhin.wordpress.com/2009/11/17/basic-net-framework/</link>
		<comments>http://shahnidhin.wordpress.com/2009/11/17/basic-net-framework/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 06:09:49 +0000</pubDate>
		<dc:creator>In Search Of Knowledge</dc:creator>
				<category><![CDATA[.NET Interview Questions & Answers]]></category>
		<category><![CDATA[Basic .NET Framework]]></category>
		<category><![CDATA[.NET Technology]]></category>
		<category><![CDATA[Basic .NET Interview Questions & Answers]]></category>
		<category><![CDATA[CLR]]></category>
		<category><![CDATA[CTS]]></category>
		<category><![CDATA[GAC]]></category>
		<category><![CDATA[Garbage Collection]]></category>
		<category><![CDATA[IL]]></category>
		<category><![CDATA[Menifest]]></category>
		<category><![CDATA[MSIL]]></category>
		<category><![CDATA[Reflaction]]></category>

		<guid isPermaLink="false">http://shahnidhin.wordpress.com/?p=87</guid>
		<description><![CDATA[The Following Question Answers are from book by Shivprasad Koirala. I found it’s most useful. 1) What is IL? Or MSIL or CIL.What is JIT? (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=87&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Following Question Answers are from book by Shivprasad Koirala.</p>
<p>I found it’s most useful.</p>
<p><strong>1) What is IL? Or MSIL or CIL.What is JIT?</strong></p>
<p>(IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In- Time (JIT) compiler.</p>
<p><strong>2) What is a CLR? </strong></p>
<p>Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL, Java has Java Virtual Machine etc. Similarly .NET has CLR. Following are the responsibilities of CLR</p>
<p> <strong>Garbage Collection: -</strong> CLR automatically manages memory thus eliminating memory leaks. When objects are not referred GC automatically releases those memories thus providing efficient memory management.</p>
<p><strong> Code Access Security: -</strong> CAS grants rights to program depending on the security configuration of the machine. Example the program has rights to edit or create a new file but the security configuration of machine does not allow the program to delete a file. CAS will take care that the code runs under the environment of machines security configuration.</p>
<p> <strong>Code Verification: -</strong> This ensures proper code execution and type safety while the code runs. It prevents the source code to perform illegal operation such as accessing invalid memory locations etc.  IL( Intermediate language )-to-native translators and optimizer’s :- CLR uses JIT and compiles the IL code to machine code and then executes. CLR also determines depending on platform what is optimized way of running the IL code.</p>
<p><strong>3) What is a CTS? </strong></p>
<p>In order that two language communicate smoothly CLR has CTS (Common Type System).Example in VB you have “Integer” and in C++ you have “long” these datatypes are not compatible so the interfacing between them is very complicated. In order to able that two different languages can communicate Microsoft introduced Common Type System. So “Integer” datatype in VB6 and “int” datatype in C++ will convert it to System.int32 which is datatype of CTS. CLS which is covered in the coming question is subset of CTS.</p>
<p><strong>4) What is a CLS (Common Language Specification)? </strong></p>
<p>This is a subset of the CTS which all .NET languages are expected to support. It was always a dream of Microsoft to unite all different languages in to one umbrella and CLS is one step towards that. Microsoft has defined CLS which are nothing but guidelines that language to follow so that it can communicate with other .NET languages in a seamless manner.</p>
<p>5)<strong> What is a Managed Code?</strong></p>
<p>Managed code runs inside the environment of CLR i.e. .NET runtime. In short all IL are managed code. But if you are using some third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) does not have control over the source code execution of the language.</p>
<p><strong>6) What is a Assembly? </strong></p>
<p> Assembly is unit of deployment like EXE or a DLL.</p>
<p> An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies. These resources, types and references are described in a block of data called a manifest. The manifest is part of the assembly, thus making the assembly self-describing.<br />
An assembly is completely self-describing.An assembly contains metadata information, which is used by the CLR for everything from type checking and security to actually invoking the components methods. As all information is in the assembly itself, it is independent of registry. This is the basic advantage as compared to COM where the version was stored in registry.<br />
 Multiple versions can be deployed side by side in different folders. These different versions can execute at the same time without interfering with each other. Assemblies can be private or shared. For private assembly deployment, the assembly is copied to the same directory as the client program that references it. No registration is needed, and no fancy installation program is required.70 When the component is removed, no registry cleanup is needed, and no uninstall program is required. Just delete it from the hard drive.<br />
In shared assembly deployment, an assembly is installed in the Global Assembly Cache (or GAC). The GAC contains shared assemblies that are globally accessible to all .NET applications on the machine.</p>
<p><strong>7) What are the different types of Assembly?</strong></p>
<p>There are two types of assembly Private and Public assembly. A private assembly is normally used by a single application, and is stored in the application&#8217;s directory, or a sub-directory beneath. A shared assembly is normally stored in the global assembly cache, which is a repository of assemblies maintained by the .NET runtime. Shared assemblies are usually libraries of code which many applications will find useful, e.g. Crystal report classes which will be used by all application for Reports.</p>
<p><strong>8) What is NameSpace? </strong></p>
<p> Namespace has two basic functionality :-<br />
 NameSpace Logically group types, example System.Web.UI logically groups our UI related features.<br />
 In Object Oriented world many times its possible that programmers will use the same class name.By qualifying NameSpace with classname this collision can be avoided.</p>
<p><strong>9) What is Difference between NameSpace and Assembly? </strong></p>
<p>Following are the differences between namespace and assembly :<br />
 Assembly is physical grouping of logical units. Namespace logically groups classes.<br />
 Namespace can span multiple assembly.</p>
<p><strong>10)If you want to view a Assembly how do you go about it ? Or What is ILDASM? </strong></p>
<p>ILDASM basically converts the whole exe or dll in to IL code. To run ILDASM we have to go to &#8220;C:\Program Files\Microsoft71 Visual Studio .NET 2003\SDK\v1.1\Bin&#8221;. Note that i had v1.1 we have to probably change it depending on the type of framework version you have. If we run IDASM.EXE from the path we will be popped with the IDASM exe program . Click on file and browse to the respective directory for the DLL whose assembly we want to view. After we select the DLL you will be popped with a tree view details of the DLL as shown in figure ILDASM. On double clicking on manifest wewill be able to view details of assembly, internal IL code etc</p>
<p><em>Imp : The version number are in the manifest itself which is defined with the DLL or EXE thus making deployment much easier as compared to COM where the information was stored in registry. </em></p>
<p><strong>11) What is Manifest? </strong></p>
<p>Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things</p>
<p> Version of assembly<br />
 Security identity<br />
 Scope of the assembly<br />
 Resolve references to resources and classes.</p>
<p> The assembly manifest can be stored in either a PE file (an .exe or .dll) with Microsoft intermediate language (MSIL) code or in a stand-alone PE file that contains only assembly manifest information.</p>
<p><strong>12) Where is version information stored of an assembly ? </strong></p>
<p>Version information is stored in assembly in manifest.</p>
<p><strong>13) Is versioning applicable to private assemblies?</strong></p>
<p><strong> </strong>Versioning concept is only applicable to global assembly cache (GAC) as private assembly lie in their individual folders.</p>
<p><strong>14) What is GAC? </strong><strong>Or</strong><em> </em><strong>What are situations when you register .NET assembly in GAC?</strong></p>
<p><em> </em>GAC (Global Assembly Cache) is used where shared .NET assembly reside. GAC is used in the following situations :-</p>
<p> If the application has to be shared among several application.</p>
<p> If the assembly has some special security requirements like only administrators can remove the assembly. If the assembly is private then a simple delete of assembly the assembly file will remove the assembly.</p>
<p>Note :- Registering .NET assembly in GAC can lead to the old problem of DLL hell, where COM version was stored in central registry. So GAC should be used when absolutely necessary.<strong> </strong></p>
<p><strong>15) What is the concept of strong names? O</strong><strong>r How do we generate strong names? Or What is use the of SN.EXE? Or How do we apply strong names to assembly? Or How do you sign an assembly? </strong></p>
<p>Strong name is similar to GUID(It is supposed to be unique in space and time) in COM components. Strong Name is only needed when we need to deploy assembly in GAC. Strong Names helps GAC to differentiate between two versions. Strong names use public key cryptography (PKC) to ensure that no one can spoof it. PKC use public key and private key concept. Following are the step to generate a strong name and sign a assembly:-</p>
<p> Go to “Visual studio Command Prompt”. Note the samples are compiled in 2005 but 2003 users do not have to worry about it. Same type of command prompt will be seen in 2003 also.<br />
After you are in command prompt type sn.exe -k “c:\test.snk”.<br />
After generation of the file you can view the SNK file in a simple notepad.<br />
After the SNK file is generated its time to sign the project with this SNK file<br />
Click on project &#8212; properties and the browse the SNK file to the respective folder and compile the project.</p>
<p><strong>16)How to add and remove an assembly from GAC? </strong></p>
<p>There are two ways to install .NET assembly in GAC:-</p>
<p> Using Microsoft Installer Package. You can get download of installer from http://www.microsoft.com.</p>
<p> Using Gacutil. Goto “Visual Studio Command Prompt” and type “gacutil –i (assembly_name)”, where (assembly_name) is the DLL name of the project.</p>
<p><strong>17) What is Delay signing?</strong></p>
<p><strong> </strong>During development process you will need strong name keys to be exposed to developer which is not a good practice from security aspect point of view. In such situations you can assign the key later on and during development you an use delay signing Following is process to delay sign an assembly:</p>
<p> First obtain your string name keys using SN.EXE.</p>
<p> Annotate the source code for the assembly with two custom attributes from System.Reflection: AssemblyKeyFileAttribute, which passes the name of the file containing the public key as a parameter to its constructor. AssemblyDelaySignAttribute, which indicates that delay signing, is being used by passing true as a parameter to its constructor.</p>
<p>For example as shown below: <em>[Visual Basic] &lt;Assembly:AssemblyKeyFileAttribute(&#8220;myKey.snk&#8221;)&gt; &lt;Assembly:AssemblyDelaySignAttribute(true)&gt;</em></p>
<p><em> [C#] [assembly:AssemblyKeyFileAttribute("myKey.snk")] [assembly:AssemblyDelaySignAttribute(true)] </em>The compiler inserts the public key into the assembly manifest and reserves space in the PE file for the full strong name signature. The real public key must be stored while the assembly is built so that other assemblies that reference this assembly can obtain the key to store in their own assembly reference.</p>
<p> Because the assembly does not have a valid strong name signature, the verification of that signature must be turned off. You can do this by using the –Vr option with the Strong Name tool.</p>
<p>Just before shipping, you submit the assembly to your organization&#8217;s signing authority for the actual strong name signing using the –R option with the Strong Name tool. The following example signs an assembly called myAssembly.dll with a strong name using the sgKey.snk key pair. <em>Sn -R myAssembly.dll sgKey.snk </em></p>
<p><strong>18)What is garbage collection? </strong></p>
<p>Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding . CLR automatically releases objects when they are no longer in use and refernced. CLR runs on non-deterministic to see the unused objects and cleans them. One side effect of this non-deterministic feature is that we cannot assume an object is destroyed when it goes out of the scope of a function.we should avoid using destructors because before GC destroys the object it first executes destructor in that case it will have to wait for code to release the umanaged resource. resultin in additional delays in GC. So its recommended to implement IDisposable interface and write cleaup code in Dispose method and call GC.SuppressFinalize method so instructing GC not to call your constructor.</p>
<p><strong>19) Can we force garbage collector to run ? </strong></p>
<p>System.GC.Collect() forces garbage collector to run. This is not recommended but can be used if situations arises.</p>
<p><strong>20)What is reflection? </strong></p>
<p>All .NET assemblies have metadata information stored about the types defined in modules. This metadata information can be accessed by mechanism called as “Reflection”.System. Reflection can be used to browse through the metadata information. Using reflection you can also dynamically invoke methods using System.Type.Invokemember.</p>
<p><strong>21)What are different types of JIT ? </strong></p>
<p>In Microsoft .NET there are three types of JIT compilers:</p>
<p> Pre-JIT :- Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the time of deployment of the application.</p>
<p> Econo-JIT :- Econo-JIT compiles only those methods that are called at runtime. However, these compiled methods are removed when they are not required.</p>
<p> Normal-JIT :- Normal-JIT compiles only those methods that are called at runtime. These methods are compiled the first time they are called, and then they are stored in cache. When the same methods are called again, the compiled code from cache is used for execution.</p>
<p><strong>22) What are Value types and Reference types ? </strong></p>
<p>Value types directly contain their data which are either allocated on the stack or allocated in-line in a structure.</p>
<p>Reference types store a reference to the value&#8217;s memory address, and are allocated on the heap. Reference types can be self-describing types, pointer types, or interface types.</p>
<p>Variables that are value types each have their own copy of the data, and therefore operations on one variable do not affect other variables.</p>
<p>Variables that are reference types can refer to the same object; therefore, operations on one variable can affect the same object referred to by another variable. All types derive from the System.Object base type.</p>
<p><strong>23</strong><strong>) What is concept of Boxing and Unboxing ? </strong></p>
<p>Boxing permits any value type to be implicitly converted to type object or to any interface type implemented by value type. Boxing is a process in which object instances are created and copy values in to that instance.</p>
<p>Unboxing is vice versa of boxing operation where the value is copied from the instance in to appropriate storage location. Below is sample code of boxing and unboxing where integer data type is converted in to object and then vice versa.</p>
<p>Dim x As Integer</p>
<p>Dim y As Object x = 10</p>
<p>‘boxing process y = x  ‘unboxing process x = y</p>
<p><em> </em><strong>24) What is the difference between VB.NET and C# ? </strong></p>
<p>Both use the same framework and speed is also very much equivalents. But still let’s list down some major differences between them :</p>
<p>Advantages VB.NET :</p>
<p>Has support for optional parameters which makes COM interoperability much easy.</p>
<p>With Option Strict off late binding is supported.Legacy VB functionalities can be used by using Microsoft.VisualBasic namespace.</p>
<p>Has the WITH construct which is not in C#.</p>
<p> The VB.NET part of Visual Studio .NET compiles your code in the background. While this is considered an advantage for small projects, people creating very large projects have found that the IDE slows down considerably as the project gets larger. Advantages of C#</p>
<p> XML documentation is generated from source code but this is now been incorporated in Whidbey.</p>
<p> Operator overloading which is not in current VB.NET but is been introduced in Whidbey.</p>
<p> Use of this statement makes unmanaged resource disposal simple.</p>
<p> Access to Unsafe code. This allows pointer arithmetic etc, and can improve performance in some situations. However, it is not to be used lightly, as a lot of the normal safety of C# is lost (as the name implies).This is the major difference that you can access unmanaged code in C# and not in VB.NET.</p>
<p><strong>25)What is the difference between System exceptions and Application exceptions?</strong></p>
<p><strong> </strong>All exception derives from Exception Base class. Exceptions can be generated programmatically or can be generated by system.</p>
<p>Application Exception serves as the base class for all application-specific exception classes. It derives from Exception but does not provide any extended functionality. You should derive your custom application exceptions from Application Exception. Application exception is used when we want to define user defined exception, while system exception is all which is defined by .NET.</p>
<p><strong>26)What is CODE Access security? </strong></p>
<p>CAS is part of .NET security model that determines whether or not a piece of code is allowed to run and what resources it can use while running. Example CAS will allow an application to read but not to write and delete a file or a resource from a folder.</p>
<p><strong>27)How to prevent my .NET DLL to be decompiled? </strong></p>
<p>By design .NET embeds rich Meta data inside the executable code using MSIL. Any one can easily decompile your DLL back using tools like ILDASM (owned by Microsoft) or Reflector for .NET which is a third party. Secondly there are many third party tools which make this decompiling process a click away. So any one can easily look in to your assemblies and reverse engineer them back in to actual source code and understand some real good logic which can make it easy to crack your application. The process by which you can stop this reverse engineering is using “obfuscation”. It’s a technique which will foil the decompilers. There are many third parties (XenoCode, Demeanor for .NET) which provide .NET obfuscation solution. Microsoft includes one that is Dotfuscator Community Edition with Visual Studio.NET.</p>
<p><strong>28) What is the difference between Convert.toString and .toString() method ?</strong></p>
<p> int i =0;</p>
<p> MessageBox.Show(i.ToString());</p>
<p> MessageBox.Show(Convert.ToString(i));</p>
<p>The basic difference between them is “Convert” function handles NULLS while “i.ToString()” does not it will throw a NULL reference exception error. So as good coding practice using “convert” is always safe.</p>
<p><strong>29) What is Native Image Generator (Ngen.exe)? </strong></p>
<p>The Native Image Generator utility (Ngen.exe) allows you to run the JIT compiler on your assembly&#8217;s MSIL and generate native machine code which is cached to disk. After the image is created .NET runtime will use the image to run the code rather than from the hard disk. Running Ngen.exe on an assembly potentially allows the assembly to load and execute faster, because it restores code and data structures from the native image cache rather than generating them dynamically. Below are some points to be remembered for Native Image Generator:</p>
<p>Native images load faster than MSIL because JIT compilation and type-safety verification is eliminated.</p>
<p>If you are sharing code between process Ngen.exe improves the performance significantly. As Native image generated Windows PE file so a single DLL file can be shared across applications. By contrast JIT produced code are private to an assembly and can not be shared.</p>
<p> Native images enable code sharing between processes.</p>
<p> Native images require more storage space and more time to generate.</p>
<p> Startup time performance improves lot. We can get considerable gains when applications share component assemblies because after the first application has been started the shared components are already loaded for subsequent applications. If assemblies in an application must be loaded from the hard disk, does not benefit as much from native images because the hard disk access time shadows everything.</p>
<p> Assemblies in GAC do not benefit from Native image generator as the loader performs extra validation on the strong named assemblies thus shadowing the benefits of Native Image Generator.</p>
<p> If any of the assemblies change then Native image should also be updated.</p>
<p> You should have administrative privilege for running Ngen.exe.</p>
<p>While this can fasten your application startup times as the code is statically compiled but it can be somewhat slower than the code generated dynamically by the JIT compiler. So you need to compare how the whole application performance with Ngen.exe and with out it.</p>
<p> To run Ngen.exe, use the following command line. <em>ngen.exe install &lt;assemblyname&gt; </em>This will synchronously precompile the specified assembly and all of its dependencies. The generated native images are stored in the native image cache. In .NET Framework 2.0 there is a service (.NET Runtime Optimization Service) which can precompile managed assemblies in the background. You can schedule your assemblies to be precompiled asynchronously by queueing them up with the NGEN Service. Use the following command line. <em>ngen.exe install &lt;assemblyname&gt; /queue:&lt;priority&gt; </em>Assemblies which are critical to your application&#8217;s start up time should either be precompiled synchronously or asynchronously with priority 1. Priority 1 and 2 assemblies are precompiled aggressively while Priority 3 assemblies are only precompiled during machine idle-time. Synchronously precompiling your critical assemblies guarantees that the native images will be available prior to the first time your end user launches the application but increases the time taken to run your application&#8217;s set up program. You can uninstall an assembly and its dependencies (if no other assemblies are dependent on them) from the native image cache by running the following command. <em>ngen.exe uninstall &lt;assemblyname&gt; </em>Native images created using Ngen.exe cannot be deployed; instead they need to be created on the end user&#8217;s machine. These commands therefore need to be issued as part of the application&#8217;s setup program. Visual Studio .NET can be used to implement this behavior by defining custom actions in a Microsoft Installer (MSI) package.</p>
<div><strong>30) If we have two version of same assembly in GAC how do we make a choice ?</strong></div>
<p><strong><em><span style="font-family:Garamond,Garamond;">Note: &#8211; I really want to explain this in depth for two reasons. First I have seen this question been frequently asked and second it’s of real practical importance. I have faced this in every of my .NET projects&#8230;So let’s try to get this fundamental not in our brain but in our heart.</span></em></p>
<p></strong></p>
<p><em><span style="font-family:Garamond,Garamond;font-size:small;"><span style="font-family:Garamond,Garamond;font-size:small;">OK first let’s try to understand what the interviewer is talking about. Let’s say you have made an application and its using a DLL which is present in GAC. Now for some reason you make second version of the same DLL and put it in GAC. Now which DLL does the application refer? Ok by default it always uses the version by which you have compiled you application in IDE. But you want that it should actually use the older version. So first we answer in short. You need to specify &#8220;bindingRedirect&#8221; in your config file. For instance in the below case &#8220;ClassLibraryVersion&#8221; has two versions &#8220;1.1.1830.10493&#8243; and &#8220;1.0.1830.10461&#8243; from which &#8220;1.1.1830.10493&#8243; is the recent version. But using the bindingRedirect we can specify saying &#8220;1.0.1830.10461&#8243; is the new version. So the client will not use &#8220;1.1.1830.10493&#8243;. </span></span></em></p>
<p><em><em><span style="font-family:Garamond,Garamond;">&lt;configuration&gt; &lt;runtime&gt; </span></em></em></p>
<p><em><em><span style="font-family:Garamond,Garamond;">&lt;assemblyBinding xmlns=&#8221;urn:schemas-microsoft-com:asm.v1&#8243;&gt; &lt;dependentAssembly&gt; &lt;assemblyIdentity name=&#8221;ClassLibraryVersion&#8221; publicKeyToken=&#8221;b035c4774706cc72&#8243; culture=&#8221;neutral&#8221;/&gt;</span></em></em></p>
<p><em><em><span style="font-family:Garamond,Garamond;"> &lt;bindingRedirect oldVersion= &#8220;1.1.1830.10493&#8243; newVersion= &#8220;1.0.1830.10461&#8243;/&gt; &lt;/dependentAssembly&gt; &lt;/assemblyBinding&gt; &lt;/runtime&gt;</span></em></em></p>
<p><em><em><span style="font-family:Garamond,Garamond;"> &lt;/configuration&gt;</span></em></em></p>
<div><span style="font-size:small;">Our first primary goal is to put two different versions of the same DLL in GAC. So let’s make a walk through of &#8220;ClassLibraryVersion&#8221; project. It’s a very simple class which has &#8220;Version&#8221; function which just sends a string &#8220;This is old Version&#8221;. Second we will also just ensure that the assembly version is &#8220;1.0&#8243; in the &#8220;AssemblyInfo.cs&#8221;.</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;">Second in order that we can put a DLL in GAC we need to create generate strong names and assign the same to the class. For instance, in below figure I have generated the strong name in &#8220;mykey.snk&#8221; and assigned the same to the DLL.</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;">Finally we need to install the same in GAC using &#8220;gacutil&#8221; tool. Below is the figure which shows the same. This installs one version of &#8220;ClassLibraryVersion.dll&#8221; in GAC.</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;">Now it is time to create a second version of the DLL. So here is what we will do first we will just return a different string value for this new version DLL. You can see in the below figure I have changed the string to return &#8220;This is New Version&#8221;. Secondly we also need to change the AssemblyVersion to &#8220;1.1.*&#8221; in the &#8220;AssemblyInfo.cs&#8221; file. After that again compile the DLL and run the &#8220;gacutil&#8221; to register this second version of the &#8220;ClasLibraryVersion.dll&#8221;.</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;">Now when we view the GAC we can see two version of &#8220;ClassLibraryVersion&#8221; i.e. &#8220;1.1.1832.2619&#8243; and &#8220;1.0.1832.2172&#8243; (see figure below).</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;">Now that we have created the environment of two version of the same DLL in GAC its time to look at how client can make a choice between those versions. We need to generate &#8220;publicKeyToken&#8221; in order to move ahead. Below is a sample print screen which shows how we can use &#8220;sn.exe&#8221; to generated the public key token. Note the &#8220;-T&#8221; parameter.</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;">Now let’s look at the client which will consume this DLL. I have just added windows form and a button to the same. In the button click we will try to call the version function and display the data. So below is the code in the first step we create the object of &#8220;ClassLibraryVersion.Class1&#8243; and in the second step we call the &#8220;Version&#8221; function to display the data.</span></div>
<p><span style="font-size:small;"></p>
<div><span style="font-size:small;"><span style="font-size:small;">Now comes the most important part of the whole thing the &#8220;app.config&#8221; file which will decide which version should be used. So add a new &#8220;app.config&#8221; file in the project and add the &#8220;AssemblyBinding&#8221; section as show below. So you need to specify the following things:-</span></span><span style="font-size:small;"><span style="font-size:small;"></span></span>√ <span style="font-size:small;">Assembly name in the &#8220;name&#8221; attribute of &#8220;assemblyIdentity&#8221; section.</span></p>
<p>√ <span style="font-size:small;">Specify the &#8220;publicKeyToken&#8221; value in the &#8220;assemblyIndentity&#8221; section which was generated using &#8220;sn.exe –T ‘dllname.dll’ &#8220;. </span>√<span style="font-size:small;">Specify the &#8220;oldVersion&#8221; and &#8220;newVersion&#8221; values in the &#8220;bindingRedirect&#8221; element. So what ever version we want the client to use should be specified in the &#8220;newVersion&#8221; attribute.</span></p>
<div><span style="font-size:small;"><span style="font-size:small;">You can see from the figure below I have specified that client should use &#8220;1.0.*&#8221; version. So the client will display &#8220;This is old Version&#8221;.</span></span></div>
<p><span style="font-size:small;"><span style="font-size:small;"></p>
<div><span style="font-size:small;">If you run the source code with changing version numbers you can see the below two message boxes on different version numbers.&#8221;This is old version&#8221; will be displayed when &#8220;newVersion&#8221; value is &#8220;1.0.1832.5411&#8243; and &#8220;This is new Version&#8221; will be displayed when &#8220;newVersion&#8221; value is &#8220;1.1.1832.5427&#8243;.</span></div>
<p><span style="font-size:small;"></p>
<div><strong>31)What is CodeDom?</strong></div>
<p><strong><span style="font-family:Verdana,Garamond;font-size:small;"><span style="font-family:Garamond,Garamond;font-size:small;">&#8220;CodeDom&#8221; is an object model which represents actually a source code. It is designed to be language independent &#8211; once you create a &#8220;CodeDom&#8221; hierarchy for a program we can then generate the source code in any .NET compliant language. So let’s try to do something real practical and simple to just get a feel of how powerful &#8220;CodeDom&#8221; is. </span></p>
<p></strong> </p>
</div>
<br />Posted in .NET Interview Questions &amp; Answers, Basic .NET Framework Tagged: .NET Interview Questions &amp; Answers, .NET Technology, Basic .NET Interview Questions &amp; Answers, CLR, CTS, GAC, Garbage Collection, IL, Menifest, MSIL, Reflaction <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shahnidhin.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shahnidhin.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shahnidhin.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shahnidhin.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shahnidhin.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shahnidhin.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shahnidhin.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shahnidhin.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shahnidhin.wordpress.com&amp;blog=1110905&amp;post=87&amp;subd=shahnidhin&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shahnidhin.wordpress.com/2009/11/17/basic-net-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">shahnidhin</media:title>
		</media:content>
	</item>
	</channel>
</rss>
