<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>ASP.Net Blog</title>
	
	<link>http://allaboutasp.net</link>
	<description>Your .Net Zone</description>
	<lastBuildDate>Wed, 03 Mar 2010 03:28:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/allaboutasp" /><feedburner:info uri="allaboutasp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>allaboutasp</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Identifying the exceptions thrown from a given method</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/PN8a6TKd30U/</link>
		<comments>http://allaboutasp.net/2010/03/identifying-the-exceptions-thrown-from-a-given-method/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 03:28:22 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[.Net SDK]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/03/identifying-the-exceptions-thrown-from-a-given-method/</guid>
		<description><![CDATA[.Net runtime throw a number of exceptions so it becomes really important to understand which exceptions may be thrown by a given base class library method. .Net Framework SDK contains a list of exceptions a given member may throw. Visual Studio 2008 allows you to view the list of all exceptions thrown by a base [...]]]></description>
			<content:encoded><![CDATA[<p>.Net runtime throw a number of exceptions so it becomes really important to understand which exceptions may be thrown by a given base class library method. .Net Framework SDK contains a list of exceptions a given member may throw. Visual Studio 2008 allows you to view the list of all exceptions thrown by a base class library member (if any) simply by hovering your mouse cursor over the member name in the code window.</p>
<p><a href="http://allaboutasp.net/wp-content/uploads/2010/03/Identifyingtheexceptionsthrownfromagivenmethod.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Identifying the exceptions thrown from a given method" border="0" alt="Identifying the exceptions thrown from a given method" src="http://allaboutasp.net/wp-content/uploads/2010/03/Identifyingtheexceptionsthrownfromagivenmethod_thumb.png" width="529" height="323" /></a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/PN8a6TKd30U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/03/identifying-the-exceptions-thrown-from-a-given-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/03/identifying-the-exceptions-thrown-from-a-given-method/</feedburner:origLink></item>
		<item>
		<title>Backup And Restore Database SQL Script for SQL Server</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/BKuvY6KbNm8/</link>
		<comments>http://allaboutasp.net/2010/02/backup-and-restore-database-sql-script-for-sql-server/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 02:52:48 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Restore]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/02/backup-and-restore-database-sql-script-for-sql-server/</guid>
		<description><![CDATA[Its a very common task to backup and restore SQL Server databases. SQL Server Management studio offers a GUI for performing backup and restore but following queries would be very useful for backup and restore if you are not having access to SQL Server Management Studio
Backup Script
BACKUP DATABASE&#160; database_name&#160; TO DISK = &#8216;C:\example.bak&#8217; WITH FORMAT;
Restore [...]]]></description>
			<content:encoded><![CDATA[<p>Its a very common task to backup and restore SQL Server databases. SQL Server Management studio offers a GUI for performing backup and restore but following queries would be very useful for backup and restore if you are not having access to SQL Server Management Studio</p>
<p>Backup Script</p>
<p>BACKUP DATABASE&#160; database_name&#160; TO DISK = &#8216;C:\example.bak&#8217; WITH FORMAT;</p>
<p>Restore Script</p>
<p>RESTORE DATABASE ‘DATABASE_NAME’ FROM DISK =’C:\EXAMPLE.BAK’ </p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/BKuvY6KbNm8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/02/backup-and-restore-database-sql-script-for-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/02/backup-and-restore-database-sql-script-for-sql-server/</feedburner:origLink></item>
		<item>
		<title>Download Visual Studio 2010 and .NET Framework 4 Training Kit – February Release</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/UZmWPQgcZ9Q/</link>
		<comments>http://allaboutasp.net/2010/02/download-visual-studio-2010-and-net-framework-4-training-kit-february-release/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 01:51:18 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Visual Basic]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/02/download-visual-studio-2010-and-net-framework-4-training-kit-february-release/</guid>
		<description><![CDATA[The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including: 


C# 4.0 


Visual Basic 10 


F# 


Parallel Extensions 


Windows Communication Foundation 


Windows Workflow 


Windows Presentation Foundation [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including: </p>
<ul>
<li>
<div align="justify">C# 4.0 </div>
</li>
<li>
<div align="justify">Visual Basic 10 </div>
</li>
<li>
<div align="justify">F# </div>
</li>
<li>
<div align="justify">Parallel Extensions </div>
</li>
<li>
<div align="justify">Windows Communication Foundation </div>
</li>
<li>
<div align="justify">Windows Workflow </div>
</li>
<li>
<div align="justify">Windows Presentation Foundation </div>
</li>
<li>
<div align="justify">ASP.NET 4 </div>
</li>
<li>
<div align="justify">Windows 7 </div>
</li>
<li>
<div align="justify">Entity Framework </div>
</li>
<li>
<div align="justify">ADO.NET Data Services </div>
</li>
<li>
<div align="justify">Managed Extensibility Framework </div>
</li>
<li>
<div align="justify">Visual Studio Team System </div>
</li>
</ul>
<p align="justify">This version of the Training Kit works with Visual Studio 2010 RC and .NET Framework 4 RC.</p>
<ul>
<li>
<div align="justify"><b>Supported Operating Systems: </b>Windows 7; Windows Server 2008; Windows Vista</div>
</li>
</ul>
<p align="justify">Visual Studio 2010 RC .NET Framework 4 RC.</p>
<h3 align="justify">Instructions</h3>
<p align="justify">Download and launch the self-extracting package. The Training Kit will uncompress to the selected folder and launch a HTML browser for the content.</p>
<p align="justify"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=752CB725-969B-4732-A383-ED5740F02E93&amp;displaylang=en" target="_blank">Download Visual Studio 2010 and .NET Framework 4 Training Kit &#8211; February Release</a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/UZmWPQgcZ9Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/02/download-visual-studio-2010-and-net-framework-4-training-kit-february-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/02/download-visual-studio-2010-and-net-framework-4-training-kit-february-release/</feedburner:origLink></item>
		<item>
		<title>Windows Identity Foundation</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/4fozT-R79JU/</link>
		<comments>http://allaboutasp.net/2010/01/windows-identity-foundation/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 03:03:19 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[SDK]]></category>
		<category><![CDATA[Windows Identity Foundation]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/01/windows-identity-foundation/</guid>
		<description><![CDATA[The Windows Identity Foundation helps simplify user access for developers by externalizing user access from applications via claims and reducing development effort with pre-built security logic and integrated .NET tools.Windows Identity Foundation helps .NET developers build claims-aware applications that externalize user authentication from the application, improving developer productivity, enhancing application security, and enabling interoperability. Developers [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">The Windows Identity Foundation helps simplify user access for developers by externalizing user access from applications via claims and reducing development effort with pre-built security logic and integrated .NET tools.Windows Identity Foundation helps .NET developers build claims-aware applications that externalize user authentication from the application, improving developer productivity, enhancing application security, and enabling interoperability. Developers can enjoy greater productivity, using a single simplified identity model based on claims. They can create more secure applications with a single user access model, reducing custom implementations and enabling end users to securely access applications via on-premises software as well as cloud services. Finally, they can enjoy greater flexibility in application development through built-in interoperability that allows users, applications, systems and other resources to communicate via claims.</p>
<p align="justify"><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=eb9c345f-e830-40b8-a5fe-ae7a864c4d76&amp;displaylang=en#filelist" target="_blank">Download Windows Identity Foundation</a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/4fozT-R79JU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/01/windows-identity-foundation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/01/windows-identity-foundation/</feedburner:origLink></item>
		<item>
		<title>Office 2010 Developer Training Kit Available for Download</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/PxCdC2dR_sQ/</link>
		<comments>http://allaboutasp.net/2009/12/office-2010-developer-training-kit-available-for-download/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 01:29:59 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[Office 2010 Development]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/12/office-2010-developer-training-kit-available-for-download/</guid>
		<description><![CDATA[ Microsoft Office 2010 Beta is a broadly extensible platform for building information worker productivity solutions and developing for Office with Visual Studio 2010 Beta 2 makes this easy. The Office 2010 Developer Training Kit content is designed to help developers get started building solutions, from add-ins to full featured Office Business Applications (OBAs), using [...]]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="Office 2010 Developer Training Kit" border="0" alt="Office 2010 Developer Training Kit" align="left" src="http://allaboutasp.net/wp-content/uploads/2009/12/Office2010DeveloperTrainingKit.png" width="267" height="324" /> Microsoft Office 2010 Beta is a broadly extensible platform for building information worker productivity solutions and developing for Office with Visual Studio 2010 Beta 2 makes this easy. The <b>Office 2010 Developer Training Kit</b> content is designed to help developers get started building solutions, from add-ins to full featured Office Business Applications (OBAs), using Visual Studio 2010 with Office 2010 and SharePoint 2010 as the core platform.</p>
<p>This training kit is an offline complement to the Office Learning Center and provides links to the videos but the hands-on labs (HOLs), source code and presentations will be conveniently available on the local machine. The possibilities and scenarios that are now available with Office 2010 and Office coupled with SharePoint 2010 are very exciting.</p>
<p>Each of the HOLs in the training kit have a number of exercises to incrementally present the concepts and help the developer build their skills. The labs included in the training kit are:</p>
<ul>
<li>
<h4>Getting Started with Office 2010 Development</h4>
</li>
<li>
<h4>Office 2010 UI Customizations</h4>
</li>
<li>
<h4>Client Workflow</h4>
</li>
<li>
<h4>Security and Deployment</h4>
</li>
<li>
<h4>Open XML</h4>
</li>
<li>
<h4>InfoPath and Forms Services</h4>
</li>
<li>
<h4>Business Connectivity Services</h4>
</li>
<li>
<h4>Office 2010 Service Applications</h4>
</li>
<li>
<h4>Developing BI Applications</h4>
</li>
</ul>
<p>There will be more to come, so stay tuned to the <a href="http://channel9.msdn.com/learn/courses/Office2010/">Office Learning Center on Channel 9</a>. And don’t forget to check for new resources coming online at the <a href="http://msdn.microsoft.com/en-us/office/default.aspx">Office Developer Center on MSDN</a>. Lastly, be sure to check out the SharePoint 2010 Developer Training Kit as well on the Channel 9 <a href="http://channel9.msdn.com/learn/courses/SharePoint2010Developer/">SharePoint Learning Center</a>.</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=f1599288-a99f-410f-a219-f4375dbe310c" target="_blank">Download Office 2010 Developer Training Kit</a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/PxCdC2dR_sQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/12/office-2010-developer-training-kit-available-for-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2009/12/office-2010-developer-training-kit-available-for-download/</feedburner:origLink></item>
		<item>
		<title>Understanding Method Overloading in C#</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/IcEoX47eprM/</link>
		<comments>http://allaboutasp.net/2009/12/understanding-method-overloading-in-c/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 02:30:18 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Method Overloading]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/12/understanding-method-overloading-in-c/</guid>
		<description><![CDATA[Like other Programming languages C# also supports method overloading. Method overloading is a feature found in various programming languages such as Ada, C#, C++, D and Java that allows the creation of several methods with the same name which differ from each other in terms of the type of the input and the type of [...]]]></description>
			<content:encoded><![CDATA[<p>Like other Programming languages C# also supports method overloading. Method overloading is a feature found in various programming languages such as Ada, C#, C++, D and Java that allows the creation of several methods with the same name which differ from each other in terms of the type of the input and the type of the output of the function. [According to <a href="http://en.wikipedia.org/wiki/Method_overloading" target="_blank">wikipedia</a>]</p>
<h2>Method Overloading Example </h2>
<p>Suppose in our application we want to add to two integers, double, float and long. The first way is to create unique methods for each addition operation or call a single method name with distinct set of arguments. </p>
<p>The Visual Studio IDE will provide you assistance while calling overloaded method.</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="method overloading" border="0" alt="method overloading" src="http://allaboutasp.net/wp-content/uploads/2009/12/methodoverloading.png" width="525" height="127" /> </p>
</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:922a0a7a-e813-4b98-a97c-d4e6e8a921ab" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code Snippet</div>
<div style="background: #ddd; max-height: 500px; overflow: auto">
<ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;">
<li><span style="color:#0000ff">using</span> System;</li>
<li style="background: #f3f3f3"><span style="color:#0000ff">using</span> System.Collections.Generic;</li>
<li><span style="color:#0000ff">using</span> System.Linq;</li>
<li style="background: #f3f3f3"><span style="color:#0000ff">using</span> System.Text;</li>
<li>&nbsp;</li>
<li style="background: #f3f3f3"><span style="color:#0000ff">namespace</span> Method_Overloading</li>
<li>{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;<span style="color:#0000ff">class</span> <span style="color:#2b91af">Program</span></li>
<li>&#160;&#160;&#160;&#160;{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">static</span> <span style="color:#0000ff">void</span> Main(<span style="color:#0000ff">string</span>[] args)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;**********************************Method Overloading Demo**********************************&quot;</span>);</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Add two int :&quot;</span> + Add(<span style="color:#a52a2a">1</span>, <span style="color:#a52a2a">1</span>));</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Add two Double :&quot;</span> + Add(<span style="color:#a52a2a">1.0</span>, <span style="color:#a52a2a">1.0</span>));</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Add two float :&quot;</span> + Add(<span style="color:#a52a2a">11.12</span>, <span style="color:#a52a2a">1.123</span>));</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Add two long :&quot;</span> + Add(<span style="color:#a52a2a">234561</span>, <span style="color:#a52a2a">11235678</span>));</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#2b91af">Console</span>.ReadLine();</li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">private</span> <span style="color:#0000ff">static</span>&#160;&#160;<span style="color:#2b91af">Int64</span> Add(<span style="color:#0000ff">int</span> num1, <span style="color:#0000ff">int</span> num2)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">return</span> num1 + num2;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">private</span> <span style="color:#0000ff">static</span> <span style="color:#0000ff">double</span> Add(<span style="color:#0000ff">double</span> num1, <span style="color:#0000ff">double</span> num2)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">return</span> num1 + num2;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">private</span> <span style="color:#0000ff">static</span> <span style="color:#0000ff">float</span> Add(<span style="color:#0000ff">float</span> num1, <span style="color:#0000ff">float</span> num2)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">return</span> num1 + num2;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">private</span> <span style="color:#0000ff">static</span> <span style="color:#0000ff">long</span> Add(<span style="color:#0000ff">long</span> num1, <span style="color:#0000ff">long</span> num2)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">return</span> num1 + num2;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;}</li>
<li>}</li>
</ol></div>
</p></div>
</p></div>
</p>
<p>Method overloading does not depends upon the return type of method, if you are having two methods with unique name with equal number of arguments and of same type with different return type than these methods are not overloaded method instead they are same methods and compiler will give error at compile time.</p>
<p><a href="http://allaboutasp.net/wp-content/uploads/2009/12/methodoverloadingerror.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="method overloading error" border="0" alt="method overloading error" src="http://allaboutasp.net/wp-content/uploads/2009/12/methodoverloadingerror_thumb.png" width="537" height="91" /></a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/IcEoX47eprM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/12/understanding-method-overloading-in-c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2009/12/understanding-method-overloading-in-c/</feedburner:origLink></item>
		<item>
		<title>Data Type Conversion in .Net</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/iquL9y7ZTGE/</link>
		<comments>http://allaboutasp.net/2009/12/data-type-conversion-in-net/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 11:58:28 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[.Net base Data type]]></category>
		<category><![CDATA[TryParse]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/12/data-type-conversion-in-net/</guid>
		<description><![CDATA[Some times it is required to convert data from one base data type to another base data type. The Convert Class converts a base data type to another base data type. Convert class throw a FormatException when the attempt was made to convert a String to other base data type and String value is in [...]]]></description>
			<content:encoded><![CDATA[<p>Some times it is required to convert data from one base data type to another base data type. The Convert Class converts a base data type to another base data type. Convert class throw a FormatException when the attempt was made to convert a String to other base data type and String value is in not proper format. To Handle FormatException we can use Convert class convert method inside try catch block but there is another better way of doing the same thing is to use TryParse to avoide runtime errors and eliminate the need of Try Catch block.</p>
<p>TryParse method is available for all .Net base data type including Boolean, Char, SByte, Byte, Int16, Int32, Int64, UInt16, UInt32, UInt64, Single, Double, Decimal, DateTime and String. There are two overloaded versions of TryParse method is available for each .Net base data type. </p>
<p>Boolean.Try Parse</p>
<p>Converts specified String value to equivalent Boolean Value. Return True if Conversion is successful otherwise return False.</p>
<p>Byte.TryParse</p>
<p>Converts Specified String value to equivalent Byte Value. Return True if conversion is successful otherwise return False.</p>
<p>TryParse works in the same way for other base type also.</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:20e98658-84b7-40cb-a54b-b78e40195f81" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code Snippet</div>
<div style="background: #ddd; max-height: 300px; overflow: auto">
<ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;">
<li><span style="color:#0000ff">Dim</span> Result <span style="color:#0000ff">As</span> <span style="color:#0000ff">Boolean</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Dim</span> ByteResult <span style="color:#0000ff">As</span> <span style="color:#0000ff">Byte</span></li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Dim</span> BooleanResult <span style="color:#0000ff">As</span> <span style="color:#0000ff">Boolean</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Dim</span> IntegerResult <span style="color:#0000ff">As</span> <span style="color:#0000ff">Integer</span></li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Dim</span> DoubleResult <span style="color:#0000ff">As</span> <span style="color:#0000ff">Double</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Dim</span> InputString <span style="color:#0000ff">As</span> <span style="color:#0000ff">String</span> = <span style="color:#a31515">&quot;1&quot;</span></li>
<li>&nbsp;</li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Result = <span style="color:#0000ff">Byte</span>.TryParse(InputString, ByteResult)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">If</span> Result = <span style="color:#0000ff">False</span> <span style="color:#0000ff">Then</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is not converted into Byte&quot;</span> &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Else</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is converted to Byte : &quot;</span> &amp; ByteResult &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">End</span> <span style="color:#0000ff">If</span></li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;InputString = <span style="color:#a31515">&quot;True&quot;</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Result = <span style="color:#0000ff">Boolean</span>.TryParse(InputString, BooleanResult)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">If</span> Result = <span style="color:#0000ff">False</span> <span style="color:#0000ff">Then</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is not converted to Boolean : &quot;</span> &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Else</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is converted to Boolean : &quot;</span> &amp; BooleanResult &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">End</span> <span style="color:#0000ff">If</span></li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;InputString = <span style="color:#a31515">&quot;12345&quot;</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Result = <span style="color:#0000ff">Integer</span>.TryParse(InputString, IntegerResult)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">If</span> Result = <span style="color:#0000ff">False</span> <span style="color:#0000ff">Then</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is not converted to Integer&quot;</span> &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Else</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is converted to Integer : &quot;</span> &amp; IntegerResult &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">End</span> <span style="color:#0000ff">If</span></li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;InputString = <span style="color:#a31515">&quot;12345.111&quot;</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Result = <span style="color:#0000ff">Double</span>.TryParse(InputString, DoubleResult)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">If</span> Result = <span style="color:#0000ff">False</span> <span style="color:#0000ff">Then</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is not converted to Double : &quot;</span> &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">Else</span></li>
<li style="background: #f3f3f3">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Console.WriteLine(InputString &amp; <span style="color:#a31515">&quot; is converted to Double : &quot;</span> &amp; DoubleResult &amp; vbCrLf)</li>
<li>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<span style="color:#0000ff">End</span> <span style="color:#0000ff">If</span></li>
</ol></div>
</p></div>
</p></div></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/iquL9y7ZTGE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/12/data-type-conversion-in-net/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2009/12/data-type-conversion-in-net/</feedburner:origLink></item>
		<item>
		<title>Silverlight 4 Beta Documentation is Now Available for Download</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/AhGiA-qIIAI/</link>
		<comments>http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 02:24:01 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Beta4]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/</guid>
		<description><![CDATA[Silverlight Beta 4 documentation is already available on MSDN website and developers can also access Silverlight Beta 4 documentation offline. 
Download Silverlight Beta 4 Documentation
Silverlight Beta 4 Documentation on MSDN
]]></description>
			<content:encoded><![CDATA[<p>Silverlight Beta 4 documentation is already available on MSDN website and developers can also access Silverlight Beta 4 documentation offline. </p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b6127b9b-968c-46c2-8cb6-d228e017ad74#Overview" target="_blank">Download Silverlight Beta 4 Documentation</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/cc838158(VS.96).aspx" target="_blank">Silverlight Beta 4 Documentation on MSDN</a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/AhGiA-qIIAI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2009/11/silverlight-4-beta-documentation-is-now-available-for-download/</feedburner:origLink></item>
		<item>
		<title>Optimize Ajax Application With Microsoft Doloto</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/3YF3_lklq4M/</link>
		<comments>http://allaboutasp.net/2009/09/optimize-ajax-application-with-microsoft-doloto/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 16:11:21 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/09/optimize-ajax-application-with-microsoft-doloto/</guid>
		<description><![CDATA[Microsoft Dev Labs released an Ajax application optimization tool called Doloto. Doloto is very useful for large and complex Web 2.0 applications that contain a lot of code. Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large Web 2.0 applications. After being processed by Doloto, an application will initially transfer only [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Dev Labs released an Ajax application optimization tool called Doloto. Doloto is very useful for large and complex Web 2.0 applications that contain a lot of code. Doloto analyzes AJAX application workloads and automatically performs code splitting of existing large Web 2.0 applications. After being processed by Doloto, an application will initially transfer only the portion of code necessary for application initialization.</p>
<p>Doloto reduces the size of initial application code download by hundreds of kilobytes or as much as 50% of the original download size. The time to download and begin interacting with large applications is reduced by 20-40% or dozens of seconds as shown below, depending on the application and wide-area network conditions.</p>
<p>The Doloto process proceeds in three steps, which correspond to wizard steps in the Doloto GUI. </p>
<ul>
<li>First, the application you want to optimize is profiled. Doloto performs profiling by running a local proxy on your machine that intercepts JavaScript files and instruments them. This is done in a browser-independent manner.</li>
<li>Second, the profiling information is used to calculate code coverage and a clustering strategy. This determines which functions are stubbed out and which are not. This also groups functions into groups which are downloaded together, called clusters.</li>
<li>Third, the JavaScript code is rewritten and saved to disk so that you can upload it to the server. Note that the entire process happens entirely on the client – that is, on your own machine, without needing access to the server. This way, you can profile and optimize the JavaScript of a third-party site such as cnn.com or maps.bing.com without having any sort of special access to their servers. It’s only when you are satisfied with the results of Doloto rewriting that you need to deploy the Doloto-rewritten files to the server.</li>
</ul>
<p>&#160;</p>
<p>This document is a step-by-step guide on <a href="http://research.microsoft.com/en-us/projects/doloto/usermanual.pdf" target="_blank">how to use Doloto</a>.</p>
<p><a href="http://download.microsoft.com/download/A/5/C/A5C90E07-0577-44B3-9186-E0931B21A25F/DolotoSetup.msi" target="_blank">Download Doloto</a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/3YF3_lklq4M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/09/optimize-ajax-application-with-microsoft-doloto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2009/09/optimize-ajax-application-with-microsoft-doloto/</feedburner:origLink></item>
		<item>
		<title>Bing &amp; Ping: Share Bing Search Results With Your Friends</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/3VfNb_IsIeg/</link>
		<comments>http://allaboutasp.net/2009/09/bing-ping-share-bing-search-results-with-your-friends/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 03:34:24 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[Bing]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2009/09/bing-ping-share-bing-search-results-with-your-friends/</guid>
		<description><![CDATA[Bing team in Microsoft working very hard to add more and more new feature in Bing. Bing team is now trying to build a bridge between Bing search results and social networking website. Bing &#38; Ping will enable users to share their Bing search results with their friends on different social networking websites. 
How Bing [...]]]></description>
			<content:encoded><![CDATA[<p>Bing team in Microsoft working very hard to add more and more new feature in Bing. Bing team is now trying to build a bridge between Bing search results and social networking website. Bing &amp; Ping will enable users to share their Bing search results with their friends on different social networking websites. </p>
<h2>How Bing &amp; Ping would Work ?</h2>
<p>&#160;</p>
<p>Bing &amp; Ping will appear at the bottom of search results and users will be able to share these search results information with their friends via Social networking websites including Facebook, Twitter or they can simply send them an E-Mail. </p>
<p>Bing &amp; Ping allow Bing users to share any kind of search results with their friends. </p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Bing &amp; Ping" border="0" alt="Bing &amp; Ping" src="http://allaboutasp.net/wp-content/uploads/2009/09/bing-and-ping.jpg" width="525" height="278" /> </p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Bing &amp; Ping" border="0" alt="Bing &amp; Ping" src="http://allaboutasp.net/wp-content/uploads/2009/09/bing-and-ping-1.jpg" width="525" height="267" /> </p>
<p>Bing &amp; Ping is not yet available for testing yet but Microsoft only delivered a taste of the feature in the screenshots included with this article. If you’re interested in previewing this feature, be sure to become a fan of our <a href="http://facebook.com/bing">Facebook page</a>. Microsoft will be sending a special invitation to our fans to preview Bing and Ping. Check it out and let Bing team know what you think, if you like it and how Bing Team can make it better. </p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/3VfNb_IsIeg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2009/09/bing-ping-share-bing-search-results-with-your-friends/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2009/09/bing-ping-share-bing-search-results-with-your-friends/</feedburner:origLink></item>
	</channel>
</rss>
