<?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>Sascha Baumann</title>
	<atom:link href="https://www.saschabaumann.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.saschabaumann.com</link>
	<description>IT Berater / Senior Software Entwickler .NET</description>
	<lastBuildDate>Tue, 12 Oct 2021 16:31:53 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Visual Studio Extensions: SlowCheetah to transform XML and JSON Configuration Files</title>
		<link>https://www.saschabaumann.com/visual-studio-extensions-slowcheetah-to-transform-xml-and-json-configuration-files/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Thu, 30 Jan 2020 13:00:00 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<guid isPermaLink="false">https://www.saschabaumann.com/?p=1705</guid>

					<description><![CDATA[<p>I have been using this Extension at some occasions, and it&#8217;s good to see, that it&#8217;s still around. You might have noticed, that you can add transformations for your Web.config file based on the Build Configurations you are using. By default, transformations for Release and Debug are added automatically. If you have added your own &#8230; <a href="https://www.saschabaumann.com/visual-studio-extensions-slowcheetah-to-transform-xml-and-json-configuration-files/" class="more-link"><span class="screen-reader-text">Visual Studio Extensions: SlowCheetah to transform XML and JSON Configuration Files</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/visual-studio-extensions-slowcheetah-to-transform-xml-and-json-configuration-files/">Visual Studio Extensions: SlowCheetah to transform XML and JSON Configuration Files</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>I have been using this Extension at some occasions, and it&#8217;s good to see, that it&#8217;s still around.</p>



<p>You might have noticed, that you can add transformations for your Web.config file based on the Build Configurations you are using. By default, transformations for Release and Debug are added automatically. If you have added your own Configuration, you can add transformations for these too. </p>



<table class="no-border"><tbody><tr><td><img decoding="async" width="265" height="78" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture.png" alt=""></td><td><img decoding="async" width="271" height="99" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture1.png" alt=""></td></tr></tbody></table>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow"></div></div>



<p></p>



<p>This will create a transformation file, to modify the original Web.Config. You can replace Connections Strings, Servernames, Pathsettings &#8211; Basically everything, based on the Original Web.Config you have created. </p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="334" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture3-1024x334.png" alt="" class="wp-image-1709" srcset="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture3-1024x334.png 1024w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture3-300x98.png 300w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture3-768x251.png 768w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture3-624x204.png 624w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture3.png 1260w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>However, if you try to do this for example for App.config in a Console Application, you will notice that there is no such option. Not even transformations are added for the default Build Configurations.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="366" height="387" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture4.png" alt="" class="wp-image-1710" srcset="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture4.png 366w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture4-284x300.png 284w" sizes="auto, (max-width: 366px) 100vw, 366px" /></figure></div>



<p>This is, where SlowCheetah comes in handy. You can install it via Extension Manager, and after restarting Visual Studio, it will be available.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="692" height="142" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture5.png" alt="" class="wp-image-1711" srcset="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture5.png 692w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture5-300x62.png 300w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture5-624x128.png 624w" sizes="auto, (max-width: 692px) 100vw, 692px" /></figure>



<p></p>



<p>After Installation is complete, we can have a look at out previous Console Application again and Right-Click on the App.Config file. Et voila, now we have an Option called &#8220;Add Transform&#8221;.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="372" height="316" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Untitled6.png" alt="" class="wp-image-1712" srcset="https://www.saschabaumann.com/wp-content/uploads/2020/01/Untitled6.png 372w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Untitled6-300x255.png 300w" sizes="auto, (max-width: 372px) 100vw, 372px" /></figure></div>



<p>When executing this command, it will ask you to install the SlowCheetah Nuget package. This is required to run transformations, even if the Extension itself is not installed. So, not every member of your team needs to install the extension, only the people modifying the Configuration need it. But it will work for all team-members by using the installed Nuget package.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="675" height="385" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture.7PNG.png" alt="" class="wp-image-1713" srcset="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture.7PNG.png 675w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture.7PNG-300x171.png 300w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture.7PNG-624x356.png 624w" sizes="auto, (max-width: 675px) 100vw, 675px" /></figure>



<p>After we have done this, SlowCheetah creates the transformations for the default Configurations. If we add special configurations later, we just have to run the &#8220;Add Transform&#8221; again, to have new transformations added.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="339" height="178" src="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture8.png" alt="" class="wp-image-1723" srcset="https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture8.png 339w, https://www.saschabaumann.com/wp-content/uploads/2020/01/Capture8-300x158.png 300w" sizes="auto, (max-width: 339px) 100vw, 339px" /></figure></div>



<p>You can also find <a rel="noopener noreferrer" href="https://marketplace.visualstudio.com/items?itemName=vscps.SlowCheetah-XMLTransforms" target="_blank">SlowCheetah in the Visual Studio Market Place</a></p>



<p> The Sourcecode can be found on GitHub:  <a href="https://github.com/Microsoft/slow-cheetah">https://github.com/Microsoft/slow-cheetah</a>  </p>The post <a href="https://www.saschabaumann.com/visual-studio-extensions-slowcheetah-to-transform-xml-and-json-configuration-files/">Visual Studio Extensions: SlowCheetah to transform XML and JSON Configuration Files</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Champions of C# 9 :  &#8220;Simplified parameter null validation code&#8221;</title>
		<link>https://www.saschabaumann.com/champions-of-c-sharp-9-part-1-simplified-parameter-null-validation-code/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Fri, 03 Jan 2020 13:46:27 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[.NET Core]]></category>
		<category><![CDATA[C#]]></category>
		<guid isPermaLink="false">https://www.saschabaumann.com/?p=1688</guid>

					<description><![CDATA[<p>In this series of blog posts I wan't to have a closer look at the current proposals for the upcoming C# Version 9. This will be based on their current status as "Champion", which make them very likely to be adopted for the final release.</p>
The post <a href="https://www.saschabaumann.com/champions-of-c-sharp-9-part-1-simplified-parameter-null-validation-code/">Champions of C# 9 :  “Simplified parameter null validation code”</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>In this  blog post I wan&#8217;t to have a closer look at a current proposals for the upcoming C# Version 9. </p>



<p> <a rel="noopener noreferrer" href="https://github.com/dotnet/csharplang/issues/2145" target="_blank">Proposal #2145 &#8211; Simplified parameter null validation code</a>.</p>



<p>Usually, if handing over parameters to a method, some checking for NULL is required to prevent unexpected behavior. Have a look at the following sample of a method with some checking.</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-csharp" data-lang="C#"><code>private string ParseText(string text)
{
    if (text is null)
    {
      throw new ArgumentException(nameof(text));
    }
    return text;
}</code></pre></div>



<p>In C# 9, this code could be simplified by adding<strong> !</strong> as an indicator for &#8220;Will not be NULL&#8221; to the parametername. The code would then look like this.</p>



<div class="hcb_wrap"><pre class="prism line-numbers lang-csharp" data-lang="C#"><code>private string ParseText(string text!)
{
    return text;
}</code></pre></div>



<p>Based on <a href="https://github.com/dotnet/csharplang/blob/master/meetings/2019/LDM-2019-07-10.md#param" target="_blank" rel="noopener noreferrer">This discussion from summer 2019</a>, the new syntax is supposed to throw an Exception too, if the constraint is violated. Most likely also an ArgumentException, but this doesn&#8217;t seem to have specified yet.  </p>



<p><br></p>The post <a href="https://www.saschabaumann.com/champions-of-c-sharp-9-part-1-simplified-parameter-null-validation-code/">Champions of C# 9 :  “Simplified parameter null validation code”</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New Resources Section and first Page &#8220;Resources to learn C# and ASP.NET&#8221;</title>
		<link>https://www.saschabaumann.com/new-resources-section-and-first-page-resources-to-learn-c-and-asp-net/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Sat, 14 Apr 2018 13:30:45 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.saschabaumann.com/?p=1450</guid>

					<description><![CDATA[<p>Today I published a new section in my Blog, to collect resources to various topics. The goal for these pages is, to stick around and for me to update them regularly, to keep them relevant. The first page of this format is about Learning C# and ASP.NET. As someone who is working with these technologies &#8230; <a href="https://www.saschabaumann.com/new-resources-section-and-first-page-resources-to-learn-c-and-asp-net/" class="more-link"><span class="screen-reader-text">New Resources Section and first Page &#8220;Resources to learn C# and ASP.NET&#8221;</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/new-resources-section-and-first-page-resources-to-learn-c-and-asp-net/">New Resources Section and first Page “Resources to learn C# and ASP.NET”</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>Today I published a new section in my Blog, to collect resources to various topics. The goal for these pages is, to stick around and for me to update them regularly, to keep them relevant. The first page of this format is about <a href="https://www.saschabaumann.com/resources/resources-to-learn-csharp-and-aspnet/">Learning C# and ASP.NET</a>. As someone who is working with these technologies for almost two decades, I hope I can deliver some useful information for beginners. Also, I am open for suggestions. What resources did I forget ? Let me know.<br />
Sascha</p>The post <a href="https://www.saschabaumann.com/new-resources-section-and-first-page-resources-to-learn-c-and-asp-net/">New Resources Section and first Page “Resources to learn C# and ASP.NET”</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sundays IT: Ever wondered, why chrome runs so many processes ?</title>
		<link>https://www.saschabaumann.com/sundays-it-ever-wondered-why-chrome-runs-so-many-processes/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Sun, 08 May 2016 08:00:53 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Sundays IT]]></category>
		<guid isPermaLink="false">http://www.saschabaumann.com/?p=1188</guid>

					<description><![CDATA[<p>Hi everyone, did you ever ask yourself, why the hack is chrome running so many processes ? This image shows only 5 processes, but this can go up to an nearly insane amount. According to some articles I read, chrome encapsulates every single page into its own process, to prevent crashing the browser when one &#8230; <a href="https://www.saschabaumann.com/sundays-it-ever-wondered-why-chrome-runs-so-many-processes/" class="more-link"><span class="screen-reader-text">Sundays IT: Ever wondered, why chrome runs so many processes ?</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/sundays-it-ever-wondered-why-chrome-runs-so-many-processes/">Sundays IT: Ever wondered, why chrome runs so many processes ?</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>did you ever ask yourself, why the hack is chrome running so many processes ? </p>
<p><img loading="lazy" decoding="async" src="http://www.saschabaumann.com/wp-content/uploads/2016/04/Taskmanager.png" alt="Image of Windows Taskmanager" width="1112" height="254" class="alignnone size-full wp-image-1191" srcset="https://www.saschabaumann.com/wp-content/uploads/2016/04/Taskmanager.png 1112w, https://www.saschabaumann.com/wp-content/uploads/2016/04/Taskmanager-300x69.png 300w, https://www.saschabaumann.com/wp-content/uploads/2016/04/Taskmanager-768x175.png 768w, https://www.saschabaumann.com/wp-content/uploads/2016/04/Taskmanager-1024x234.png 1024w, https://www.saschabaumann.com/wp-content/uploads/2016/04/Taskmanager-624x143.png 624w" sizes="auto, (max-width: 1112px) 100vw, 1112px" /></p>
<p>This image shows only 5 processes, but this can go up to an nearly insane amount.<br />
According to some articles I read, chrome encapsulates every single page into its own process, to prevent crashing the browser when one page goes down. </p>
<p>Chrome provides a way, to get an overview of the processes it runs. To see it, go to you menu => more tools => Taskmanager</p>
<p><img loading="lazy" decoding="async" src="http://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanagerMenu.png" alt="Image of Chrome Taskmanager Menu" width="547" height="517" class="alignnone size-full wp-image-1190" srcset="https://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanagerMenu.png 547w, https://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanagerMenu-300x284.png 300w" sizes="auto, (max-width: 547px) 100vw, 547px" /></p>
<p><img loading="lazy" decoding="async" src="http://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanager.png" alt="Image of Chrome Taskmanager" width="807" height="475" class="alignnone size-full wp-image-1189" srcset="https://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanager.png 807w, https://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanager-300x177.png 300w, https://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanager-768x452.png 768w, https://www.saschabaumann.com/wp-content/uploads/2016/04/ChromeTaskmanager-624x367.png 624w" sizes="auto, (max-width: 807px) 100vw, 807px" /></p>
<p>And here you see the different processes Chrome is using. There is one for the browser itself, some additionals for certain features (In this case GPU) and one process for every page you have open at the moment.</p>
<p>Have a nice sunday<br />
Sascha</p>The post <a href="https://www.saschabaumann.com/sundays-it-ever-wondered-why-chrome-runs-so-many-processes/">Sundays IT: Ever wondered, why chrome runs so many processes ?</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sundays IT: Windows Update on my Win7 machine is stuck at 0% again &#8211; 4 Steps solution</title>
		<link>https://www.saschabaumann.com/sundays-it-windows-update-on-my-win7-machine-is-stuck-at-0-again-4-steps-solution/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Sun, 01 May 2016 08:00:48 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Sundays IT]]></category>
		<guid isPermaLink="false">http://www.saschabaumann.com/?p=1168</guid>

					<description><![CDATA[<p>Hi everyone, its annoying when Windows Updates just is not working and its download percentage is Stuck at 0%. I like to share my process to solve this issue &#8211; So I do the following: Opening a command prompt with elevated permissions by typing cmd in my searchbox, right-click and select &#8220;run as aministrator&#8221; or &#8230; <a href="https://www.saschabaumann.com/sundays-it-windows-update-on-my-win7-machine-is-stuck-at-0-again-4-steps-solution/" class="more-link"><span class="screen-reader-text">Sundays IT: Windows Update on my Win7 machine is stuck at 0% again &#8211; 4 Steps solution</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/sundays-it-windows-update-on-my-win7-machine-is-stuck-at-0-again-4-steps-solution/">Sundays IT: Windows Update on my Win7 machine is stuck at 0% again – 4 Steps solution</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>its annoying when Windows Updates just is not working and its download percentage is Stuck at 0%.  I like to share my process to solve this issue &#8211; So I do the following:</p>
<ol>
<li>Opening a command prompt with elevated permissions by typing <em><strong>cmd</strong></em> in my searchbox, right-click and select <strong>&#8220;run as aministrator&#8221;</strong> or just type <strong><em>cmd</em></strong> into the box and hit <em>CTRL+Shift+Enter</em>.</li>
<li>Stopping the update service by typing <strong><em>net stop wuauserv</em></strong> into the command prompt and hit enter.</li>
<li>Deleting the contents of <em>C:\Windows\SoftwareDistribution</em> using the windows explorer.</li>
<li>Starting the update service by typing <strong><em> net start wuauserv</em></strong> into the command prompt and hit enter.</li>
</ol>
<p>After that, I need to scan for new updates again (May take a while, since the cached information is gone). Downloading them should now work as expected.</p>
<p><strong>DISCLAIMER: Reproduce at your own risk and without warranties.</strong></p>
<p>Have a nice sunday<br />
Sascha</p>The post <a href="https://www.saschabaumann.com/sundays-it-windows-update-on-my-win7-machine-is-stuck-at-0-again-4-steps-solution/">Sundays IT: Windows Update on my Win7 machine is stuck at 0% again – 4 Steps solution</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sundays IT: Harddisc was going crazy</title>
		<link>https://www.saschabaumann.com/harddisc-was-going-crazy/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Sun, 24 Apr 2016 10:39:36 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Sundays IT]]></category>
		<guid isPermaLink="false">http://www.saschabaumann.com/?p=1162</guid>

					<description><![CDATA[<p>Hello everyone, I have no idea how it happend, but suddenly the system harddisc on my good old Windows 7 machine went crazy. After some exploration with Resource Manager (PID: 4 &#8211; System was the bad guy) and browsing the internet I stumbled across an article about Prefetch and Superfetch. serverfault.com &#8211; system-process-pid-4-constantly-accessing-the-hard-disk Some time &#8230; <a href="https://www.saschabaumann.com/harddisc-was-going-crazy/" class="more-link"><span class="screen-reader-text">Sundays IT: Harddisc was going crazy</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/harddisc-was-going-crazy/">Sundays IT: Harddisc was going crazy</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>I have no idea how it happend, but suddenly the system harddisc on my good old Windows 7 machine went crazy. After some exploration with Resource Manager (PID: 4 &#8211; System was the bad guy) and browsing the internet I stumbled across an article about Prefetch and Superfetch. </p>
<p><a href="http://serverfault.com/questions/419048/system-process-pid-4-constantly-accessing-the-hard-disk" target="_blank">serverfault.com &#8211; system-process-pid-4-constantly-accessing-the-hard-disk</a></p>
<p>Some time later, after checking out the configuration of these two values in my registry, I decided to limit the fetching to the startup time. Different settings for this entries can be found here:</p>
<p><a href="https://en.wikipedia.org/wiki/Prefetcher" target="_blank">https://en.wikipedia.org/wiki/Prefetcher</a><br />
<a href="https://de.wikipedia.org/wiki/SuperFetch" target="_blank">https://de.wikipedia.org/wiki/SuperFetch</a></p>
<p>And finally after rebooting, my harddisc goes quiet again. Still have no idea what the cause of that problem was still the values in the registry been the default values. Maybe some Windows Update lately, that expected me to suddenly have an SSD in my old machine <img src="https://www.saschabaumann.com/wp-content/plugins/local-emoji/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Maybe someone finds this useful.</p>
<p><strong>DISCLAIMER: Reproduce at your own risk and without warranties.</strong></p>
<p>Cheers<br />
Sascha</p>The post <a href="https://www.saschabaumann.com/harddisc-was-going-crazy/">Sundays IT: Harddisc was going crazy</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>DotNetFiddle mit Unterstützung für F#, ASP.NET MVC und NuGet Packages.</title>
		<link>https://www.saschabaumann.com/dotnetfiddle-mit-unterstuetzung-fuer-f-asp-net-mvc-und-nuget-packages/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Mon, 17 Mar 2014 19:39:53 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[DotNetFiddle]]></category>
		<category><![CDATA[F#]]></category>
		<category><![CDATA[NuGet]]></category>
		<guid isPermaLink="false">http://www.saschabaumann.com/?p=1042</guid>

					<description><![CDATA[<p>Guten Abend, leider konnte ich auf der Webseite DotNetFiddle.net keine Release-Notes finden. Allerdings wurde irgendwann zwischen Januar und jetzt der Funktionsumfang dieses Tools für &#8220;.NET im Browser&#8221; nochmal deutlich aufgebohrt. Man kann nun als Sprache F# zusätzlich zu den bisherigen C# und VB.NET nutzen, NuGet Packages,wie man aus Visual Studio Projekten kennt, einbinden und auch &#8230; <a href="https://www.saschabaumann.com/dotnetfiddle-mit-unterstuetzung-fuer-f-asp-net-mvc-und-nuget-packages/" class="more-link"><span class="screen-reader-text">DotNetFiddle mit Unterstützung für F#, ASP.NET MVC und NuGet Packages.</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/dotnetfiddle-mit-unterstuetzung-fuer-f-asp-net-mvc-und-nuget-packages/">DotNetFiddle mit Unterstützung für F#, ASP.NET MVC und NuGet Packages.</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<p>Guten Abend,</p>
<p>leider konnte ich auf der Webseite <a href="http://www.dotnetfiddle.net" target="_blank">DotNetFiddle.net</a> keine Release-Notes finden.<br />
Allerdings wurde irgendwann zwischen Januar und jetzt der Funktionsumfang dieses Tools für &#8220;.NET im Browser&#8221; nochmal deutlich aufgebohrt.<br />
Man kann nun als Sprache F# zusätzlich zu den bisherigen C# und VB.NET nutzen, NuGet Packages,wie man aus Visual Studio Projekten kennt, einbinden und auch Fiddles für ASP.NET MVC erstellen.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-1043" alt="dotnetfiddle_newfeatures_20140317" src="http://www.saschabaumann.com/wp-content/uploads/2014/03/dotnetfiddle_newfeatures_20140317-300x231.png" width="300" height="231" srcset="https://www.saschabaumann.com/wp-content/uploads/2014/03/dotnetfiddle_newfeatures_20140317-300x231.png 300w, https://www.saschabaumann.com/wp-content/uploads/2014/03/dotnetfiddle_newfeatures_20140317.png 400w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<p>Bild: Screenshots von  <a href="http://www.dotnetfiddle.net" target="_blank">DotNetFiddle.net</a></p>The post <a href="https://www.saschabaumann.com/dotnetfiddle-mit-unterstuetzung-fuer-f-asp-net-mvc-und-nuget-packages/">DotNetFiddle mit Unterstützung für F#, ASP.NET MVC und NuGet Packages.</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>C#: Lookup vs. Dictionary</title>
		<link>https://www.saschabaumann.com/c-loopup-vs-dictionary/</link>
					<comments>https://www.saschabaumann.com/c-loopup-vs-dictionary/#comments</comments>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Fri, 13 Dec 2013 09:00:25 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Dictionary]]></category>
		<category><![CDATA[IDictionary]]></category>
		<category><![CDATA[ILookup]]></category>
		<category><![CDATA[Immutable]]></category>
		<category><![CDATA[Lookup]]></category>
		<guid isPermaLink="false">http://dotnetblog.saschabaumann.com/2010/02/c-loopup-vs-dictionary/</guid>

					<description><![CDATA[<p>Lookup (Namespace: System.Linq) A Lookup is a collection which implements the ILookup Interface. It was introduces with LINQ and can be used instead of Dictionary. A key don&#8217;t has to be unique, so you can have multiple entries with the same key. Also the Lookup is immutable, that means you can not add values on &#8230; <a href="https://www.saschabaumann.com/c-loopup-vs-dictionary/" class="more-link"><span class="screen-reader-text">C#: Lookup vs. Dictionary</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/c-loopup-vs-dictionary/">C#: Lookup vs. Dictionary</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<h2 class="wp-block-heading">Lookup (Namespace: System.Linq)</h2>



<div class="hcb_wrap"><pre class="prism off-numbers lang-csharp" data-lang="C#"><code>Lookup&lt;Tkey, Tvalue&gt; 
: ILookup&lt;Tkey, Tvalue&gt; 
: IEnumerable&lt;IGroupin&lt;&lt;Tkey, Tvalue&gt;&gt;</code></pre></div>



<p>A Lookup is a collection which implements the ILookup Interface. It was introduces with LINQ and can be used instead of Dictionary.</p>



<p><b>A key don&#8217;t has to be unique</b>, so you can have multiple entries with the same key. Also the <b>Lookup is immutable</b>, that means you can not add values on the fly, like you could with a List or Dictionary. You can however determine its count (.Count) and you can access the items with [value].</p>



<p>When you look up a <b>key that does not exist</b> in the Lookup, you don&#8217;t get a KeyNotFound-Exception but an <b>empty sequence</b> instead.</p>



<p>You <b>cannot directly instantiate a Lookup</b>, it is a result of a LINQ-Selection, which needs a Func for Key-Selection and a Func for Value selection.</p>



<p>Here is an example:</p>



<div class="hcb_wrap"><pre class="prism off-numbers lang-csharp" data-lang="C#"><code>var myList = new List&lt;KeyValuePair&lt;int, string&gt;&gt;
            {
                new KeyValuePair&lt;int, string&gt;(30, &quot;Sam&quot;),
                new KeyValuePair&lt;int, string&gt;(10, &quot;Hans&quot;),
                new KeyValuePair&lt;int, string&gt;(10, &quot;Fred&quot;),
                new KeyValuePair&lt;int, string&gt;(20, &quot;Sepp&quot;),
                new KeyValuePair&lt;int, string&gt;(10, &quot;Ron&quot;)
            };

var myLookup = (Lookup&lt;int,string&gt;) myList.ToLookup(
                                             (item)=&gt;item.Key, 
                                             (item)=&gt;item.Value
                                             );

var len = myLookup.Count;
var entry = myLookup[10];</code></pre></div>



<h2 class="wp-block-heading">Dictionary (Namespace: System.Collections.Generic)</h2>



<div class="hcb_wrap"><pre class="prism off-numbers lang-csharp" data-lang="C#"><code>Dictionary&lt;Tkey, Tvalue&gt; 
: IDictionary&lt;Tkey, Tvalue&gt;
: ICollection&lt;KeyValuePair&lt;Tkey, Tvalue&gt;&gt;, 
: IEnumerable&lt;KeyValuePair&lt;Tkey, Tvalue&gt;&gt;</code></pre></div>



<p>A <b>key has to be unique</b>, so you can have only one multiple entry with the same key. The Dictionary is <b>mutable</b>, that means you can add values on the fly. Also you can use normal collection methods to determine its count (.Count) and to access the items with [value].</p>



<p>When you look up a <b>key that does not exist</b> you get a <b>KeyNotFound-Exception</b>.<br>You can directly instantiate a Dictionary.</p>



<p>Here is an example:</p>



<div class="hcb_wrap"><pre class="prism off-numbers lang-csharp" data-lang="C#"><code>var myDictionary = new Dictionary&lt;int, string&gt;();
myDictionary.Add(10,&quot;Hans&quot;);
myDictionary.Add(20, &quot;Fred&quot;);

var len = myDictionary.Count;
var entry = myDictionary[10];</code></pre></div>



<p>Blogpost Original Date: 16.02.2010, Updated: 13.12.2013</p>The post <a href="https://www.saschabaumann.com/c-loopup-vs-dictionary/">C#: Lookup vs. Dictionary</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.saschabaumann.com/c-loopup-vs-dictionary/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>Pinnwand KW 47 / 2013 &#8211; Glimpse Developer Dashboard, Nicht unterstützte Features in Windows Phone, XAML Performance Video</title>
		<link>https://www.saschabaumann.com/pinwand-kw-47-2013/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Thu, 21 Nov 2013 17:00:00 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Pinnwand]]></category>
		<category><![CDATA[BUILD]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Developer Dashboard]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Glimpse]]></category>
		<category><![CDATA[Hanselman]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Not Supported]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Vortrag]]></category>
		<category><![CDATA[Windows Phone]]></category>
		<category><![CDATA[XAML]]></category>
		<guid isPermaLink="false">http://www.saschabaumann.com/?p=783</guid>

					<description><![CDATA[<p>Scott Hanselman stellt in seinem Artikel das &#8220;Developer Dashboard&#8221; Glimpse vor. Persönlich habe ich es noch nicht eingesetzt, ist aber auf jeden Fall eine Option für zukünftige ASP.NET oder MVC Projekte. Als Windows Phone Entwickler finde ich Nokias Liste der Features hilfreich, die das Windows Phone NICHT unterstützt. Leider ist dadurch schon so manche App &#8230; <a href="https://www.saschabaumann.com/pinwand-kw-47-2013/" class="more-link"><span class="screen-reader-text">Pinnwand KW 47 / 2013 &#8211; Glimpse Developer Dashboard, Nicht unterstützte Features in Windows Phone, XAML Performance Video</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/pinwand-kw-47-2013/">Pinnwand KW 47 / 2013 – Glimpse Developer Dashboard, Nicht unterstützte Features in Windows Phone, XAML Performance Video</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<ul>
<li>Scott Hanselman <a href="http://www.hanselman.com/blog/IfYoureNotUsingGlimpseWithASPNETForDebuggingAndProfilingYoureMissingOut.aspx"  target="_blank">stellt in seinem Artikel</a> das &#8220;Developer Dashboard&#8221; <a href="http://www.nuget.org/packages/Glimpse" target="_blank">Glimpse</a> vor. Persönlich habe ich es noch nicht eingesetzt, ist aber auf jeden Fall eine Option für zukünftige ASP.NET oder MVC Projekte.
</li>
</ul>
<ul>
<li>Als Windows Phone Entwickler finde ich <a href="http://developer.nokia.com/Community/Wiki/Unsupported_features_in_Windows_Phone" target="_blank">Nokias Liste der Features hilfreich, die das Windows Phone NICHT unterstützt</a>. Leider ist dadurch schon so manche App Idee auf der Strecke geblieben.</li>
</ul>
<ul>
<li>Ein interessanter Vortrag von der diesjährigen Build Konferenz zum Thema<br /> <a href="http://channel9.msdn.com/Events/Build/2013/3-157" target="_blank">&#8220;XAML Performance Fundamentals&#8221;</a>. Eilige können sich auch <a href="http://video.ch9.ms/sessions/build/2013/3-157.pptx">die Folien des Vortrags</a> direkt anschauen.
</li>
</ul>The post <a href="https://www.saschabaumann.com/pinwand-kw-47-2013/">Pinnwand KW 47 / 2013 – Glimpse Developer Dashboard, Nicht unterstützte Features in Windows Phone, XAML Performance Video</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Pinnwand KW 46 / 2013 &#8211; Vorlagen für Felder in ASP.NET MVC, KnockoutJS, Neu in XAML in Windows 8.1</title>
		<link>https://www.saschabaumann.com/pinwand-kw-46/</link>
		
		<dc:creator><![CDATA[Sascha Baumann]]></dc:creator>
		<pubDate>Fri, 15 Nov 2013 13:00:41 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Pinnwand]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Knockout.JS]]></category>
		<category><![CDATA[Windows 8.1]]></category>
		<category><![CDATA[XAML]]></category>
		<guid isPermaLink="false">http://www.saschabaumann.com/?p=764</guid>

					<description><![CDATA[<p>Eine gute Zusammenfassung zum Thema &#8220;Vorlagen für Felder&#8221; in ASP.NET MVC von Holger Schwichtenberg und Manfred Steyer findet sich bei Windows Developer. Eine dreiteilige Artikelserie &#8220;Beginners Guide Knockout.JS&#8221; findet man bei Sitepoint Im Sommer hielt Tim Heuer einen Vortrag zum Thema &#8220;What&#8217;s New in XAML&#8221; auf der BUILD Konferenz. Eine sehr interessante Übersicht zu XAML Neuerungen unter &#8230; <a href="https://www.saschabaumann.com/pinwand-kw-46/" class="more-link"><span class="screen-reader-text">Pinnwand KW 46 / 2013 &#8211; Vorlagen für Felder in ASP.NET MVC, KnockoutJS, Neu in XAML in Windows 8.1</span> weiterlesen <span class="meta-nav">&#8594;</span></a></p>
The post <a href="https://www.saschabaumann.com/pinwand-kw-46/">Pinnwand KW 46 / 2013 – Vorlagen für Felder in ASP.NET MVC, KnockoutJS, Neu in XAML in Windows 8.1</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></description>
										<content:encoded><![CDATA[<ul>
<li>Eine gute Zusammenfassung zum Thema &#8220;Vorlagen für Felder&#8221; in ASP.NET MVC von Holger Schwichtenberg und Manfred Steyer findet sich bei <a title="Vorlagen für Felder ASP.NET MVC" href="http://windowsdeveloper.de/artikel/Vorlagen-fuer-Felder-Models-in-ASPNET-MVC-167818" target="_blank">Windows Developer</a>.</li>
</ul>
<ul>
<li>Eine dreiteilige Artikelserie &#8220;Beginners Guide Knockout.JS&#8221; findet man<a title="Knockout JS Beginners Guide" href="http://www.sitepoint.com/?s=knockout+beginners" target="_blank"> bei Sitepoint<br />
</a></li>
</ul>
<ul>
<li>Im Sommer hielt Tim Heuer einen Vortrag zum Thema &#8220;What&#8217;s New in XAML&#8221; auf der BUILD Konferenz. <a title="What's New in XAML" href="http://channel9.msdn.com/Events/Build/2013/2-164" target="_blank">Eine sehr interessante Übersicht zu XAML Neuerungen unter Windows 8.1</a>. WynApse.com hat eine <a title="Zusammenfassung des Vortrags Whats New in XAML" href="http://www.wynapse.com/XAML/8.1/WhatsNew.aspx" target="_blank">Zusammenfassung des Vortrags</a> erstellt.
</li>
</ul>The post <a href="https://www.saschabaumann.com/pinwand-kw-46/">Pinnwand KW 46 / 2013 – Vorlagen für Felder in ASP.NET MVC, KnockoutJS, Neu in XAML in Windows 8.1</a> first appeared on <a href="https://www.saschabaumann.com">Sascha Baumann</a>.]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
