<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MsHelp &#187; .NET</title>
	<atom:link href="http://mshelp.be/category/net/feed" rel="self" type="application/rss+xml" />
	<link>http://mshelp.be</link>
	<description>Ins and Outs of Microsoft Dynamics CRM</description>
	<lastBuildDate>Mon, 15 Aug 2011 17:30:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>New logo for .NET</title>
		<link>http://mshelp.be/new-logo-for-net-208.htm</link>
		<comments>http://mshelp.be/new-logo-for-net-208.htm#comments</comments>
		<pubDate>Sat, 25 Oct 2008 13:35:33 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://mshelp.be/new-logo-for-net-208.htm</guid>
		<description><![CDATA[Microsoft decided that .NET should get a now logo better aligned with the portfolio of brands that .NET is most strongly aligned with: Silverlight, Visual Studio and the AppPlat server products. Here it is:]]></description>
			<content:encoded><![CDATA[<p> Microsoft decided that .NET should get a now logo better aligned with the portfolio of brands that .NET is most strongly aligned with: Silverlight, Visual Studio and the AppPlat server products.</p>
<p>Here it is:</p>
<p><a href="http://www.mshelp.be/img/Newlogofor.NET_DB34/image_3.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="image" src="http://www.mshelp.be/img/Newlogofor.NET_DB34/image_thumb_3.png" width="640" height="257"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/new-logo-for-net-208.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Very easy way to time a process</title>
		<link>http://mshelp.be/very-easy-way-to-time-a-process-204.htm</link>
		<comments>http://mshelp.be/very-easy-way-to-time-a-process-204.htm#comments</comments>
		<pubDate>Wed, 08 Oct 2008 11:39:22 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://mshelp.be/very-easy-way-to-time-a-process-204.htm</guid>
		<description><![CDATA[I am currently working on a project where I need to transfer a certain file from a server to a client. My transfer is ok, but how ok is actually? I was asking myself: What is the delay if I send a certain file. How long does the process take to complete? Basically I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently working on a project where I need to transfer a certain file from a server to a client. My transfer is ok, but how ok is actually? I was asking myself: What is the delay if I send a certain file. How long does the process take to complete? Basically I wanted to stopwatch the time between the start and the end.</p>
<p>This isn&#8217;t really hard code, it&#8217;s just nice to know.</p>
<div style="font-size: 8pt; margin: 20px 0px 10px; overflow: auto; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border: gray 1px solid; padding: 4px;">
<div style="font-size: 8pt; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   1:</span> <span style="color: #008000">//to store the start time</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   2:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">static</span> DateTime StartTime;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   3:</span> <span style="color: #008000">//to store the end time</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   4:</span> <span style="color: #0000ff">private</span> <span style="color: #0000ff">static</span> DateTime StopTime;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   5:</span>Â </pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   6:</span> <span style="color: #008000">//property to get the time between start and end</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   7:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">int</span> TimeInMiliSeconds</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   8:</span> {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   9:</span>     get</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">  10:</span>     {</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">  11:</span>         TimeSpan ts = StopTime - StartTime;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">  12:</span>         <span style="color: #008000">//You could also get the Seconds, Minutes ..</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">  13:</span>         <span style="color: #0000ff">return</span> ts.TotalMilliseconds;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">  14:</span>     }</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">  15:</span> }</pre>
<p>Â </p></div>
</div>
<p>To set and get the values you do the following</p>
<div style="font-size: 8pt; margin: 20px 0px 10px; overflow: auto; width: 97.5%; cursor: text; max-height: 200px; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border: gray 1px solid; padding: 4px;">
<div style="font-size: 8pt; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;">
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   1:</span> <span style="color: #008000">//Just before the process starts</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   2:</span> StartTime = DateTime.Now;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   3:</span> ....</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   4:</span> <span style="color: #008000">//When the process stops</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   5:</span> StopTime = DateTime.Now;</pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;"><span style="color: #606060">   6:</span> <span style="color: #008000">//Display the time it took to process your process</span></pre>
<pre style="font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: white; border-style: none; padding: 0px;"><span style="color: #606060">   7:</span> Console.WriteLine(<span style="color: #006080">"Time it took to process your process: "</span>+ TimeInMiliSeconds +<span style="color: #006080">" miliseconds"</span>);</pre>
<p>Â </p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/very-easy-way-to-time-a-process-204.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET is winning ground against Java</title>
		<link>http://mshelp.be/net-is-winning-ground-against-java-201.htm</link>
		<comments>http://mshelp.be/net-is-winning-ground-against-java-201.htm#comments</comments>
		<pubDate>Sat, 04 Oct 2008 07:57:15 +0000</pubDate>
		<dc:creator>Sven</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Survey]]></category>

		<guid isPermaLink="false">http://mshelp.be/net-is-winning-ground-against-java-201.htm</guid>
		<description><![CDATA[This is a war that has been there for ages now. What&#8217;s the best, fastest, best performing language: Java or .NET ? Well I&#8217;m a fan of Microsoft so you&#8217;ll know where my vote goes to. But now Evans Data surveyed&#160; 350 developers at several major enterprises (1000+ employees) and the final result was that [...]]]></description>
			<content:encoded><![CDATA[<p>This is a war that has been there for ages now. What&#8217;s the best, fastest, best performing language: Java or .NET ? Well I&#8217;m a fan of Microsoft so you&#8217;ll know where my vote goes to. But now Evans Data surveyed&nbsp; 350 developers at several major enterprises (1000+ employees) and the final result was that their .NET investments were growing faster then their Java projects. Which resulted in a demand for .NET developers.</p>
<p>You can read more in the following article: <a href="http://reddevnews.com/news/article.aspx?editorialsid=10250">.NET Making Gains Against Java, Survey Says</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mshelp.be/net-is-winning-ground-against-java-201.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

