<?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>AllAboutASP.NET</title>
	
	<link>http://allaboutasp.net</link>
	<description>Your .Net Zone</description>
	<lastBuildDate>Thu, 16 Jun 2011 14:21:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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>Find the sum of all the multiples of 3 or 5 below or equal to 1000</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/T5f6RIw8Jds/</link>
		<comments>http://allaboutasp.net/2011/06/find-the-sum-of-all-the-multiples-of-3-or-5-below-or-equal-to-1000/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 14:17:20 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Sum]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2011/06/find-the-sum-of-all-the-multiples-of-3-or-5-below-or-equal-to-1000/</guid>
		<description><![CDATA[To find the sum of all the multiples of 3 or 5 below or equal to 1000, first we have to find the sum of all the numbers which are divisible by 3, than sum of numbers which are divisible by 5. Once we are done with this we have to subtract the sum of [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">To find the sum of all the multiples of 3 or 5 below or equal to 1000, first we have to find the sum of all the numbers which are divisible by 3, than sum of numbers which are divisible by 5. Once we are done with this we have to subtract the sum of numbers which are divisible by 3 and 5.</p>
<p align="justify">There are two approaches to solve this problem.</p>
<ol>
<li>
<div align="justify">The first approach is to write a loop and find the numbers which are divisible by 3,5 and add them, after this subtract the numbers which are divisible by 3 and 5.</div>
</li>
<li>
<div align="justify">The other approach is to find the count of numbers which are divisible by 3,5 and 15. After this apply the arithmetic progression’s sum formula to find the sum.</div>
</li>
</ol>
<pre class="code"><span style="color: blue">using </span>System;
<span style="color: blue">using </span>System.Collections.Generic;
<span style="color: blue">using </span>System.Linq;
<span style="color: blue">using </span>System.Text;

<span style="color: blue">namespace </span>ConsoleApplication2
{
  <span style="color: blue">class </span><span style="color: #2b91af">Program
  </span>{
    <span style="color: blue">static void </span>Main(<span style="color: blue">string</span>[] args)
    {
      <span style="color: blue">int </span>sum = 0;
      <span style="color: blue">int </span>range = 1000;
      <span style="color: blue">int </span>Number1 = 3; <span style="color: blue">int </span>Number2 = 5;
      <span style="color: blue">for </span>(<span style="color: blue">int </span>i = 0, j = 0; i &lt;= range; i += Number1, j += Number2)
      {
        sum += i;
        <span style="color: blue">if </span>(j &lt; range &amp;&amp; j % Number2 == 0)
        {
          sum += j;
        }
        <span style="color: blue">if </span>(i &lt;= range &amp;&amp; i % Number2 * Number1 == 0)
        {
          sum -= i;
        }

      }
      <span style="color: #2b91af">Console</span>.WriteLine(<span style="color: #a31515">&quot;\n&quot;</span>);
      <span style="color: #2b91af">Console</span>.WriteLine(<span style="color: #a31515">&quot;Sum of all the multiples of 3 or 5 below or equal to 1000&quot; </span>+
      <span style="color: #a31515">&quot;using Loop &quot;  </span>+ sum);

      <span style="color: blue">int </span>Total_Number1 = range / Number1;
      <span style="color: blue">int </span>Total_Number2 = range / Number2;
      <span style="color: blue">int </span>Total_Number1AndNumber2 = range / (Number1 * Number2);

      <span style="color: blue">int </span>sumTotal_Number1 = Total_Number1 * (Number1 + Total_Number1 * Number1) / 2;
      <span style="color: blue">int </span>sumTotal_Number2 = Total_Number2 * (Number2 + Total_Number2 * Number2) / 2;
      <span style="color: blue">int </span>sumTotal_Number1andNumber2 = Total_Number1AndNumber2 * (Number2 * Number1
          + Total_Number1AndNumber2 * Number2 * Number1) / 2;
      <span style="color: blue">int </span>total = sumTotal_Number1 + sumTotal_Number2 - sumTotal_Number1andNumber2;
      <span style="color: #2b91af">Console</span>.WriteLine(<span style="color: #a31515">&quot;Sum of all the multiples of 3 or 5 below or equal to 1000 &quot; </span>+
                      <span style="color: #a31515">&quot;using arithmetic progression’s sum formula  &quot; </span>+ total);

      <span style="color: #2b91af">Console</span>.ReadLine();
    }
  }
}</pre>
<p>Please post your comments if you find a better way to find the sum of numbers which are divisible by 3 or 5 and less than 1000.</p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/T5f6RIw8Jds" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2011/06/find-the-sum-of-all-the-multiples-of-3-or-5-below-or-equal-to-1000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2011/06/find-the-sum-of-all-the-multiples-of-3-or-5-below-or-equal-to-1000/</feedburner:origLink></item>
		<item>
		<title>Disable Internet Explorer Friendly Error Messages</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/Epz-3e_83Sc/</link>
		<comments>http://allaboutasp.net/2011/06/disable-internet-explorer-friendly-error-messages/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 14:38:43 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[IE Error]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/?p=138</guid>
		<description><![CDATA[Sometimes Internet Explorer display friendly error messages like “Internet explorer cannot display this webpage”. Via looking into this error message we do not get, any idea related to error message and most people think, it’s an internet connection problem. In order to view the actual error message, we need to disable “Internet Explorer’s friendly error [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes Internet Explorer display friendly error messages like “Internet explorer cannot display this webpage”. Via looking into this error message we do not get, any idea related to error message and mos<a href="http://allaboutasp.net/wp-content/uploads/2011/06/Internet-Explorer-Setting.png"></a>t people think, it’s an internet connection problem.</p>
<p>In order to view the actual error message, we need to disable “Internet Explorer’s friendly error message” feature. In order to disable this feature go to Tools menu, click Internet Options, click the resulting dialog&#8217;s Advanced tab, and clear the “Show friendly HTTP error messages” checkbox.</p>
<p><a href="http://allaboutasp.net/wp-content/uploads/2011/06/Internet-Explorer-Setting.png"><img title="Internet Explorer Setting" src="http://allaboutasp.net/wp-content/uploads/2011/06/Internet-Explorer-Setting.png" alt="" width="424" height="541" /></a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/Epz-3e_83Sc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2011/06/disable-internet-explorer-friendly-error-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2011/06/disable-internet-explorer-friendly-error-messages/</feedburner:origLink></item>
		<item>
		<title>Extend Visual Studio Team Foundation Server 2010 Using Java</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/4O7TKwba2AA/</link>
		<comments>http://allaboutasp.net/2011/05/extend-visual-studio-team-foundation-server-2010-using-java/#comments</comments>
		<pubDate>Sat, 14 May 2011 18:39:22 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[SDK]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/?p=141</guid>
		<description><![CDATA[Microsoft released a SDK for visual studio team foundation server 2010, for java developers. This SDK allows java developers to write code for VSTFS like .NET developers can write. This SDK allow java developers to write software components that can be integrated with VSTFS 2010. &#160; The Team Foundation Server SDK for Java includes documentation, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://allaboutasp.net/wp-content/uploads/2011/06/Microsoft-Visual-Studio-Team-Foundation-Server-2010-Software-Development-Kit-for-Java.png"></a></p>
<p style="text-align: justify;"><a href="http://allaboutasp.net/wp-content/uploads/2011/06/Microsoft-Visual-Studio-Team-Foundation-Server-2010-Software-Development-Kit-for-Java.png"><img class="alignleft" title="Microsoft Visual Studio Team Foundation Server 2010 Software Development Kit for Java" src="http://allaboutasp.net/wp-content/uploads/2011/06/Microsoft-Visual-Studio-Team-Foundation-Server-2010-Software-Development-Kit-for-Java.png" alt="" width="55" height="55" /></a>Microsoft released a SDK for visual studio team foundation server 2010, for java developers. This SDK allows java developers to write code for VSTFS like .NET developers can write. This SDK allow java developers to write software components that can be integrated with VSTFS 2010.</p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;">The Team Foundation Server SDK for Java includes documentation, samples and redistributable components to help you develop software products that integrate with Microsoft Visual Studio Team Foundation Server 2010. By downloading the SDK from the link below you agree to the Microsoft Visual Studio Team Foundation Server 2010 Software Development Kit for Java license terms.</p>
<p style="text-align: justify;">The SDK contains the following components:</p>
<ul>
<li>
<div style="text-align: justify;">Redistributable library (jar file) containing the TFS API’s</div>
</li>
<li>
<div style="text-align: justify;">Redistributable native code libraries required by the SDK for Java</div>
</li>
<li>
<div style="text-align: justify;">API Documentation in Javadoc format</div>
</li>
<li>
<div style="text-align: justify;">Check-in policy code sample</div>
</li>
<li>
<div style="text-align: justify;">Custom work item control code sample</div>
</li>
<li>
<div style="text-align: justify;">Console application code sample</div>
</li>
<li>
<div style="text-align: justify;">Code snippets</div>
</li>
</ul>
<p style="text-align: justify;"><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7a3c4332-6998-48ec-b689-e434d4218012&amp;displaylang=en">Download Microsoft Visual Studio Team Foundation Server 2010 Software Development Kit for Java</a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/4O7TKwba2AA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2011/05/extend-visual-studio-team-foundation-server-2010-using-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2011/05/extend-visual-studio-team-foundation-server-2010-using-java/</feedburner:origLink></item>
		<item>
		<title>What is .NET Framework</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/iPNV3IPlZGU/</link>
		<comments>http://allaboutasp.net/2010/10/what-is-net-framework/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 02:03:07 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[.Net Framework]]></category>
		<category><![CDATA[BCL]]></category>
		<category><![CDATA[CLR]]></category>
		<category><![CDATA[CTS]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/10/what-is-net-framework/</guid>
		<description><![CDATA[Microsoft .NET Framework is an integral part of Windows operating system and it is used for developing applications that runs on family of Windows operating system. The .NET Framework has two major components called Common Language Runtime and .NET Base Class Library. .NET Framework support an array of language, VB.C#, F#, C++ and J# are [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft .NET Framework is an integral part of Windows operating system and it is used for developing applications that runs on family of Windows operating system. The .NET Framework has two major components called Common Language Runtime and .NET Base Class Library. .NET Framework support an array of language, VB.C#, F#, C++ and J# are supported by Visual Studio’s default installation. </p>
<h2>Features of .NET Framework</h2>
<p><strong>Interoperability :</strong> Sometimes application developed in .NET has to interact with applications developed outside .NET. Access to COM components is provided in the <a href="http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.aspx" target="_blank">System.Runtime.InteropServices</a> and <a href="http://msdn.microsoft.com/en-us/library/system.enterpriseservices.aspx" target="_blank">System.EnterpriseServices</a> namespaces of the framework; access to other functionality is provided using the P/Invoke feature.</p>
<p><strong>Common Runtime Engine :</strong> The Common Language Runtime (CLR) is the execution engine of the .NET Framework. Its CLR responsibility to locate, load and manage .NET types on your behalf. The CLR also takes care of a number of low-level details such as memory management, application hosting, handling threads, and performing various security checks.</p>
<p><strong>Common Type System&#160; :</strong> The CTS specification fully describes all possible data types and programming constructs supported by the runtime, specifies how these entities can interact with each other, and details how they are represented in the .NET metadata format. Common Type System makes .NET Framework language independent means, class libraries developed in one language can be used applications that are developed in some other language. </p>
<p><strong>Base Class Library :</strong> The Base Class Library (BCL), part of the Framework Class Library (FCL), is a library of functionality available to all languages using the .NET Framework. The BCL provides classes which encapsulate a number of common functions, including file reading and writing, graphic rendering, database interaction, XML document manipulation and so on.</p>
<p><strong>Simplified Deployment Model :</strong> .NET Framework provides a simplified deployment. Applications developed using .NET Framework are not required to register them as binary unit into system registry. Further more .NET Framework allows multiple versions of the same *.dll to exist in harmony on a single machine.</p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/iPNV3IPlZGU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/10/what-is-net-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/10/what-is-net-framework/</feedburner:origLink></item>
		<item>
		<title>Visual Studio LightSwitch: An Integrated Development Environment for Managers</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/ydq7U2HgrzU/</link>
		<comments>http://allaboutasp.net/2010/08/visual-studio-lightswitch-an-integrated-development-environment-for-managers/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 05:04:34 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[C#.NET]]></category>
		<category><![CDATA[Office Application]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/?p=123</guid>
		<description><![CDATA[Microsoft is working on product called LightSwitch and release a beta version of Visual Studio LightSwitch on August 23, 2010. Visual Studio LightSwitch will come with pre-configured templates, pre-written code and other reusable components. Visual Studio LightSwitch also allows users to write custom code in Visual Basic .NET or C#. Applications developed using LightSwitch can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://allaboutasp.net/wp-content/uploads/2010/08/vs_lightswitch_beta_logo.png"><img class="alignleft size-medium wp-image-121" title="Visual Studio LightSwitch " src="http://allaboutasp.net/wp-content/uploads/2010/08/vs_lightswitch_beta_logo-300x40.png" alt="" width="300" height="40" /></a>Microsoft is working on product called LightSwitch and release a beta version of Visual Studio LightSwitch on August 23, 2010. Visual Studio LightSwitch will come with pre-configured templates, pre-written code and other reusable components. Visual Studio LightSwitch also allows users to write custom code in Visual Basic .NET or C#. Applications developed using LightSwitch can be deployed on desktop, browser or on cloud.</p>
<p style="text-align: justify;">Applications created with LightSwitch support exporting data to Microsoft Office Excel for fast and easy sharing and reporting. You can also attach your application to existing data sources, which makes it easy to collect, analyze, and reuse information from a variety of data sources including Microsoft SQL Server, Microsoft SQL Azure, SharePoint, Microsoft Office Access (post-Beta), and other third-party data sources.</p>
<p style="text-align: justify;"><a href="http://allaboutasp.net/wp-content/uploads/2010/08/EASILY-ACCESS-EXISTING-SYSTEMS-AND-DATA.jpg"><img class="size-full wp-image-122 alignnone" title="EASILY ACCESS EXISTING SYSTEMS AND DATA" src="http://allaboutasp.net/wp-content/uploads/2010/08/EASILY-ACCESS-EXISTING-SYSTEMS-AND-DATA.jpg" alt="" width="608" height="462" /></a></p>
<p style="text-align: justify;">With LightSwitch you can create custom applications for the way you do business. Keep your technology and business options open, while building a practical yet scalable application that matches your current needs now and in the future. The pre-built templates and components in LightSwitch are fully extensible, so you can get the specific functionality your application demands. In addition, your application can grow to meet the increasing demands of popular applications using the Microsoft Windows Azure Cloud Hosting option.</p>
<p style="text-align: justify;"><a href="http://allaboutasp.net/wp-content/uploads/2010/08/BUILD-FOR-TODAY-PREPARE-FOR-TOMORROW.jpg"><img class="alignleft size-full wp-image-124" title="BUILD FOR TODAY, PREPARE FOR TOMORROW" src="http://allaboutasp.net/wp-content/uploads/2010/08/BUILD-FOR-TODAY-PREPARE-FOR-TOMORROW.jpg" alt="" width="608" height="462" /></a></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/ydq7U2HgrzU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/08/visual-studio-lightswitch-an-integrated-development-environment-for-managers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/08/visual-studio-lightswitch-an-integrated-development-environment-for-managers/</feedburner:origLink></item>
		<item>
		<title>Optional Parameters in C#</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/WwPbbbSB6rg/</link>
		<comments>http://allaboutasp.net/2010/06/optional-parameters-in-c/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 00:58:08 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Optional Parameters]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/06/optional-parameters-in-c/</guid>
		<description><![CDATA[With the release of .NET 4.0 C# programmers are now able to created methods with optional parameters like VB programmers doing. Optional arguments are widely used in VBA for long time. Although they make life a little bit easier for programmers (you don’t have to repeat default values in your method calls). Code Snippet using [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of .NET 4.0 C# programmers are now able to created methods with optional parameters like VB programmers doing. Optional arguments are widely used in VBA for long time. Although they make life a little bit easier for programmers (you don’t have to repeat default values in your method calls).</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:03a0a795-8a06-4ad5-b165-b28bba7792c1" 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">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> optionalParameters</li>
<li>{</li>
<li style="background: #f3f3f3">    <span style="color:#0000ff">class</span> <span style="color:#2b91af">Program</span></li>
<li>    {</li>
<li style="background: #f3f3f3">        <span style="color:#0000ff">static</span> <span style="color:#0000ff">void</span> Main(<span style="color:#0000ff">string</span>[] args)</li>
<li>        {</li>
<li style="background: #f3f3f3">            <span style="color:#2b91af">OptionalParameterTest</span> t = <span style="color:#0000ff">new</span> <span style="color:#2b91af">OptionalParameterTest</span>();</li>
<li>            <span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Optional Parameter :  {0}&quot;</span>, t.OptionalParameter(<span style="color:#a31515">&quot;One&quot;</span>));</li>
<li style="background: #f3f3f3">            <span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Optional Parameter :  {0} &quot;</span>, t.OptionalParameter(<span style="color:#a31515">&quot;One1&quot;</span>, <span style="color:#a31515">&quot;Two1&quot;</span>));</li>
<li>            <span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Optional Parameter :  {0} &quot;</span>, t.OptionalParameter(<span style="color:#a31515">&quot;One1&quot;</span>, <span style="color:#a31515">&quot;Two1&quot;</span>,<span style="color:#a31515">&quot;three1&quot;</span>));</li>
<li style="background: #f3f3f3">            <span style="color:#2b91af">Console</span>.WriteLine(<span style="color:#a31515">&quot;Optional Parameter :  {0} &quot;</span>, t.OptionalParameter(<span style="color:#a31515">&quot;One1&quot;</span>, <span style="color:#a31515">&quot;Two1&quot;</span>,<span style="color:#a31515">&quot;Three1&quot;</span>,<span style="color:#a31515">&quot;Four1&quot;</span>));</li>
<li>            <span style="color:#2b91af">Console</span>.ReadLine();</li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>        }</li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>    }</li>
<li style="background: #f3f3f3">    <span style="color:#0000ff">public</span> <span style="color:#0000ff">class</span> <span style="color:#2b91af">OptionalParameterTest</span></li>
<li>    {</li>
<li style="background: #f3f3f3">        <span style="color:#0000ff">public</span> <span style="color:#0000ff">string</span> OptionalParameter(<span style="color:#0000ff">string</span>  one, <span style="color:#0000ff">string</span> two = <span style="color:#a31515">&quot;Two&quot;</span>,<span style="color:#0000ff">string</span> three=<span style="color:#a31515">&quot;Three&quot;</span>,<span style="color:#0000ff">string</span> four=<span style="color:#a31515">&quot;Four&quot;</span>)</li>
<li>        {</li>
<li style="background: #f3f3f3">&nbsp;</li>
<li>           </li>
<li style="background: #f3f3f3">            <span style="color:#0000ff">return</span> one + <span style="color:#a31515">&quot;  &quot;</span> + two + <span style="color:#a31515">&quot;  &quot;</span> + three + <span style="color:#a31515">&quot;  &quot;</span> + four;</li>
<li>        }</li>
<li style="background: #f3f3f3">    }</li>
<li>&nbsp;</li>
<li style="background: #f3f3f3">}</li>
</ol></div>
</p></div>
</p></div>
</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Optional Parameters" border="0" alt="Optional Parameters" src="http://allaboutasp.net/wp-content/uploads/2010/06/OptionalParameters.png" width="525" height="103" /></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/WwPbbbSB6rg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/06/optional-parameters-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/06/optional-parameters-in-c/</feedburner:origLink></item>
		<item>
		<title>WCF Messages</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/-6PYymKiPRY/</link>
		<comments>http://allaboutasp.net/2010/06/wcf-messages/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 00:54:48 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[WCF]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[WCF Message]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/06/wcf-messages/</guid>
		<description><![CDATA[Applications written using Windows Communication foundation communicate through messages. WCF uses SOAP messages, formatted in XML as SOAP messages. Lets discuss each of the section in detail SOAP Envelope is outer most section of WCF message. It acts as a container for WCF header and body. A SOAP envelope contains several pieces of key information [...]]]></description>
			<content:encoded><![CDATA[<p>Applications written using Windows Communication foundation communicate through messages. WCF uses SOAP messages, formatted in XML as SOAP messages. </p>
<p><a href="http://allaboutasp.net/wp-content/uploads/2010/06/WCFMessage.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="WCF Message" border="0" alt="WCF Message" src="http://allaboutasp.net/wp-content/uploads/2010/06/WCFMessage_thumb.png" width="525" height="521" /></a> </p>
<p>Lets discuss each of the section in detail</p>
<p>SOAP Envelope is outer most section of WCF message. It acts as a container for WCF header and body. A SOAP envelope contains several pieces of key information in the form of elements. They include the following:</p>
<ul>
<li>The name of envelope </li>
<li>Namespace name : The namespace name must be “http://www.w3.org/2003/05/soap-envelope”. </li>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<ul>
<li>
<div align="left">An optional &lt;header&gt; element: SOAP header is a collection of one or more than one header block. A SOAP message can contain zero or more than one header block. If a header is included, it must be the first child element of the envelope element. Header is&#160; good place to put optional information related to message. Any child element of header element is called “Header Blocks”.&#160; The following code sample illustrates the basic format for including a message header:                                  <br />&lt;env:Envelope xmlns:s=”<a href="http://www.w3.org/2003/05/soap-envelope&rdquo;">http://www.w3.org/2003/05/soap-envelope”</a> xmlns:a=”<a href="http://schemas.xmlsoap.org/ws/2004/08/addressing&rdquo;">http://schemas.xmlsoap.org/ws/2004/08/addressing”</a>&gt;                                  <br />&lt;env:Header&gt;                                   <br />&lt;/env:Header&gt;                                   <br />&lt;/env:Envelope&gt; </div>
</li>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
<li>A required body element. : The SOAP body is a collection of data items to be used at a specific target (SOAP receiver). Like the SOAP header, a message can contain zero or more bodies.</li>
</ul>
<h2>WCF Messaging Programs</h2>
<p>In WCF ,following type of applications can send and receive messages</p>
<ul>
<li>Client: Client is a program that initiates a communication via sending a message</li>
<li>Service: Service is program that respond to a message. Service perform predefined activities once it receives a message. A service never initiates a communication. While processing request , if the service call some other services than this concept is called “Service chain”. Here the service is acting as client and service has initiated the communication in response to incoming message.</li>
</ul>
<h2>Messaging Patterns</h2>
<p>Messaging patterns, basically describe how programs should exchange messages. There are three basic messaging patterns that programs can use to exchange messages. Those patterns include the following:</p>
<ul>
<li>Simplex : The Simplex message pattern is simply a one-way communication from Program A to Program B. No response is generated by Program B, thus causing the one-way communication. Simplex messaging suffers from short term memory loss. When the client sends the message, it has no idea it sent a message because it is not expecting a response.</li>
<li>Duplex: In duplex pattern client and service programs communicate openly and exchange information in both directions. </li>
<li>Request-Reply: Request-Reply messaging pattern doesn’t allow bi-directional communication to happen freely. In this pattern, the client sends a response and then waits for reply. The service doesn’t communicate anything until it receives a message. </li>
</ul>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/-6PYymKiPRY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/06/wcf-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/06/wcf-messages/</feedburner:origLink></item>
		<item>
		<title>AppFabric Dashboard Overview</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/h096c7aFC6s/</link>
		<comments>http://allaboutasp.net/2010/06/appfabric-dashboard-overview/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 01:01:07 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Video]]></category>
		<category><![CDATA[AppFabric]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/06/appfabric-dashboard-overview/</guid>
		<description><![CDATA[AppFabric has this great new Dashboard that gives you insight into what is happening with your services and workflows. In this video, Senior Programming Writer Michael McKeown shows you what the Dashboard can do for you.]]></description>
			<content:encoded><![CDATA[<p>AppFabric has this great new Dashboard that gives you insight into what is happening with your services and workflows. In this video, Senior Programming Writer Michael McKeown shows you what the Dashboard can do for you.</p>
<p><object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="512" height="384"><param name="source" value="http://channel9.msdn.com/App_Themes/default/VideoPlayer10_01_18.xap" /><param name="initParams" value="deferredLoad=true,duration=0,m=http://ecn.channel9.msdn.com/o9/ch9/6/7/3/2/5/2/endpointAppFabricDashboard_2MB_ch9.wmv,autostart=false,autohide=true,showembed=true, thumbnail=http://ecn.channel9.msdn.com/o9/ch9/6/7/3/2/5/2/endpointAppFabricDashboard_512_ch9.png, postid=541991" /><param name="background" value="#00FFFFFF" /><a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"> <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none" /> </a> </object></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/h096c7aFC6s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/06/appfabric-dashboard-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://ecn.channel9.msdn.com/o9/ch9/6/7/3/2/5/2/endpointAppFabricDashboard_2MB_ch9.wmv" length="29263451" type="video/x-ms-wmv" />
		<feedburner:origLink>http://allaboutasp.net/2010/06/appfabric-dashboard-overview/</feedburner:origLink></item>
		<item>
		<title>How to Run Java Apps in Windows Azure</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/pT0w9C0o9B0/</link>
		<comments>http://allaboutasp.net/2010/06/how-to-run-java-apps-in-windows-azure/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 23:58:48 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Java App]]></category>
		<category><![CDATA[Windows Azure]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/06/how-to-run-java-apps-in-windows-azure/</guid>
		<description><![CDATA[A video is posted on MSDN showing how developers can use Windows Azure platform to run Java Applications. In the video, Scott Golightly creates a simple Java application that runs under Apache Tomcat, and then shows how that can be packaged up and deployed to the Windows Azure development fabric. About this Video Windows Azure [...]]]></description>
			<content:encoded><![CDATA[<p>A video is posted on MSDN showing how developers can use Windows Azure platform to run Java Applications. In the <a href="http://msdn.microsoft.com/en-us/azure/ee941631.aspx">video</a>, Scott Golightly creates a simple<a href="http://www.jdotnetservices.com/"> Java application</a> that runs under <a href="http://tomcat.apache.org/">Apache Tomcat</a>, and then shows how that can be packaged up and deployed to the <a href="http://msdn.microsoft.com/en-us/library/dd179455.aspx">Windows Azure development fabric</a>.</p>
<p><script src="http://msdn.microsoft.com/objectforward/default.aspx?type=VideoPlayer&amp;video=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F4%2F9%2FD%2F49D7B4DB-82C4-47BD-8F29-2CB1B9F9D99A%2FHDI-MSDN-Azure-winvideo-AzureJava.wmv&amp;thumb=http%3A%2F%2Fi.msdn.microsoft.com%2Fee941631.400x320.jpg&amp;title=How%20Do%20I%3A%20Run%20Java%20Applications%20in%20Windows%20Azure%3F&amp;width=400&amp;height=400" type="text/javascript"></script></p>
<h2>About this Video</h2>
<p>Windows Azure in an open platform. This means you can run applictions written in .NET, PHP, or Java. In this video Scott Golightly will show how to create and run an application written in Java in Windows Azure. We will create a simple Java application that runs under Apache Tomcat and then show how that can be packaged up and deployed to the Windows Azure development fabric. </p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/pT0w9C0o9B0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/06/how-to-run-java-apps-in-windows-azure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/06/how-to-run-java-apps-in-windows-azure/</feedburner:origLink></item>
		<item>
		<title>ADO.NET Data Services</title>
		<link>http://feedproxy.google.com/~r/allaboutasp/~3/mLhY2cPHFKk/</link>
		<comments>http://allaboutasp.net/2010/06/ado-net-data-services/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 03:15:15 +0000</pubDate>
		<dc:creator>Ajay Pathak</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Ado.net]]></category>
		<category><![CDATA[ADO.NET Data services]]></category>

		<guid isPermaLink="false">http://allaboutasp.net/2010/06/ado-net-data-services/</guid>
		<description><![CDATA[WCF Data Services (formerly ADO.NET Data Services[1], codename &#34;Astoria&#34;)[2] is a platform for what Microsoft calls Data Services. It is actually a combination of the runtime and a web service through which the services are exposed. In addition, it also includes the Data Services Toolkit which lets Astoria Data Services be created from within ASP.NET [...]]]></description>
			<content:encoded><![CDATA[<p>WCF Data Services (formerly ADO.NET Data Services[1], codename &quot;Astoria&quot;)[2] is a platform for what Microsoft calls Data Services. It is actually a combination of the runtime and a web service through which the services are exposed. In addition, it also includes the Data Services Toolkit which lets Astoria Data Services be created from within ASP.NET itself. The Astoria project was announced at MIX 2007, and the first developer preview was made available on April 30, 2007. The first CTP was made available as a part of the ASP.NET 3.5 Extensions Preview. The final version was released as part of Service Pack 1 of the .NET Framework 3.5 on August 11, 2008. The name change from ADO.NET Data Services to WCF data Services was announced at the 2009 PDC. <iframe style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" height="500" src="http://www.google.com/books?id=8_Wzui2-0P8C&amp;lpg=PR2&amp;dq=ado.net%20data%20services&amp;pg=PA3&amp;output=embed" frameborder="0" width="500" scrolling="no"></iframe></p>
<img src="http://feeds.feedburner.com/~r/allaboutasp/~4/mLhY2cPHFKk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://allaboutasp.net/2010/06/ado-net-data-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://allaboutasp.net/2010/06/ado-net-data-services/</feedburner:origLink></item>
	</channel>
</rss>

