<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>Svens Blog</title>
	<link>http://schanetti.de</link>
	<description></description>
	<pubDate>Fri, 23 Oct 2009 10:35:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>Interessantes Wochenende beendet</title>
		<link>http://schanetti.de/2009/10/23/interessantes-wochenende-beendet/</link>
		<comments>http://schanetti.de/2009/10/23/interessantes-wochenende-beendet/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:35:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[.Net Open Space]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/10/23/interessantes-wochenende-beendet/</guid>
		<description><![CDATA[ 
Das 2. .Net Open Space in Leipzig ist vorbei. Es gab wieder einige interessante Diskussionen auch neben den einzelnen Sessions.    Unheimlich interessant waren die unterschiedlichen Meinungen zum EF von Microsoft.     
Durch die Session “Die Attraktivität des Berufes als Softwareentwickler steigern” – eingeleitet von Ralf Westphal – wurde [...]]]></description>
			<content:encoded><![CDATA[<p><a title=".NET Open Space vom 17.10. bis 18.10.2009 in Leipzig" href="http://netopenspace.de/"><img alt=".NET Open Space vom 17.10. bis 18.10.2009 in Leipzig" src="http://netopenspace.de/2009/GetFile.aspx?File=Logos/nos-logo-1.png" /> </a></p>
<p>Das 2. .Net Open Space in Leipzig ist vorbei. Es gab wieder einige interessante Diskussionen auch neben den einzelnen Sessions.    <br />Unheimlich interessant waren die unterschiedlichen Meinungen zum EF von Microsoft.     </p>
<p>Durch die Session “Die Attraktivität des Berufes als Softwareentwickler steigern” – eingeleitet von Ralf Westphal – wurde mir erst jetzt bewusst wie schlecht es eigentlich um die Quantität des Softwareentwicklers steht. </p>
<p>Sicherlich gibt es noch wesentlich mehr zu den einzelnen Sessions zu erzählen, aber mir fällt insgesamt nur Ausdruck für die gelungene Veranstaltung ein: <strong>EINFACH GENIAL</strong>!     </p>
<p>Ich freu mich schon wieder auf nächstes Jahr – oder evtl. doch nach Wien? Man wird sehen. <img src='http://schanetti.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Einen besonderen Dank gilt den Organisatoren Torsten Weber, Alexander Groß, Stefan Lieser und Marcel Hoyer.</p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/10/23/interessantes-wochenende-beendet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Logging mit Log4Net</title>
		<link>http://schanetti.de/2009/10/11/logging-mit-log4net/</link>
		<comments>http://schanetti.de/2009/10/11/logging-mit-log4net/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 16:53:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Log4Net]]></category>

		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/10/11/logging-mit-log4net/</guid>
		<description><![CDATA[Ich weiß, es gibt viele Artikel über das Loggen mit Log4Net.     Trotzdem werde ich anhand eines Beispiels das Loggen mit Log4Net zeigen.     
Als erstes schauen wir uns die Konfigurations-Datei an. 


   1: &#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34; ?&#62;

   2: &#60;configuration&#62;

   3:   [...]]]></description>
			<content:encoded><![CDATA[<p>Ich weiß, es gibt viele Artikel über das Loggen mit Log4Net. <img src='http://schanetti.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />    <br />Trotzdem werde ich anhand eines Beispiels das Loggen mit Log4Net zeigen.     </p>
<p>Als erstes schauen wir uns die Konfigurations-Datei an. </p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> &lt;?xml version=<span style="color: #006080">&quot;1.0&quot;</span> encoding=<span style="color: #006080">&quot;utf-8&quot;</span> ?&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> &lt;configuration&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>   </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>   &lt;configSections&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>     &lt;section name=<span style="color: #006080">&quot;log4net&quot;</span> type=<span style="color: #006080">&quot;log4net.Config.Log4NetConfigurationSectionHandler, log4net&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>   &lt;/configSections&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>   </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>   &lt;log4net&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     &lt;appender name=<span style="color: #006080">&quot;FileAppender&quot;</span> type=<span style="color: #006080">&quot;log4net.Appender.RollingFileAppender&quot;</span>&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>       &lt;file <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;loglog-file&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span>       &lt;appendToFile <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;true&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum12">  12:</span>       &lt;rollingStyle <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;Date&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum13">  13:</span>       &lt;datePattern <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;yyyyMMdd&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum14">  14:</span>       </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum15">  15:</span>       &lt;layout type=<span style="color: #006080">&quot;log4net.Layout.PatternLayout&quot;</span>&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum16">  16:</span>         &lt;conversionPattern <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;%date [%thread] %-5level %logger [%property{Session}] - %message%newline&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum17">  17:</span>       &lt;/layout&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum18">  18:</span>     &lt;/appender&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum19">  19:</span>     </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum20">  20:</span>     &lt;root&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum21">  21:</span>       &lt;level <span style="color: #0000ff">value</span>=<span style="color: #006080">&quot;ALL&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum22">  22:</span>       &lt;appender-<span style="color: #0000ff">ref</span> <span style="color: #0000ff">ref</span>=<span style="color: #006080">&quot;FileAppender&quot;</span> /&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum23">  23:</span>     &lt;/root&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum24">  24:</span>   &lt;/log4net&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum25">  25:</span>   </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum26">  26:</span> &lt;/configuration&gt;</pre>
<p><!--CRLF--></div>
</div>
<p><strong><u>Appender:</u></strong> </p>
<p>Ich verwende hier den <strong><em>RollingFileAppender</em></strong>, dieser kann nach Größe und Datum eingeschränkt werden. Ist die Größe erreicht bzw. hat sich das Datum geändert, wird eine neue Log-Datei angelegt.&#160; In dem Beispiel werden die Log-Files in einem Unterverzeichnis “log” </p>
<p><u>[file value=log\log-file”]</u> im Programmverzeichnis abgelegt. Mit <strong><em>rollingStyle</em></strong> lege ich fest wann eine neue Datei erstellt werden soll. Hier wird jeden Tag eine Log-File erstellt. Festgelegt wird das mit dem <strong><em>datePattern</em></strong>. </p>
<p>Weitere Appender sind <a href="http://logging.apache.org/log4net/release/sdk/log4net.Appender.html" target="_blank">hier</a> nachschlagbar. </p>
<p><strong><u>Layout:<br />
      <br /></u></strong>Für das Layout verwende ich das Patternlayout, ein flexibles konfigurierbares Layout. Weitere Layouts gibt es <a href="http://logging.apache.org/log4net/release/sdk/log4net.Layout.html" target="_blank">hier</a>. </p>
<p>Unter <strong><em>conversationPattern </em></strong>kann die Ausgabe definiert werden. Welche Möglichkeiten für die Ausgabe vorhanden sind, findet man <a href="http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html" target="_blank">hier</a>. </p>
<p>Im letzten Abschnitt wird bestimmt wie und was geloggt werden soll. Folgende Level-Stufen sind verfügbar: </p>
<p>- Off </p>
<p>- Fatal </p>
<p>- Error </p>
<p>- Warn </p>
<p>- Info </p>
<p>- Debug </p>
<p>- All </p>
<p>Mit <strong><em>appender-ref</em></strong> wird der oben definierte Appender verwendet. Es können natürlich mehrere Appender definiert werden.</p>
<p><strong><u>Verwendung im Code:</u></strong></p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 221px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">static</span> <span style="color: #0000ff">void</span> Main()</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     log4net.Config.XmlConfigurator.Configure(<span style="color: #0000ff">new</span> FileInfo(<span style="color: #006080">&quot;logging.config&quot;</span>));</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>     ILog logger = LogManager.GetLogger(<span style="color: #0000ff">typeof</span>(Program));</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>      </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>     logger.Info(<span style="color: #006080">&quot;Info&quot;</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>     logger.Debug(<span style="color: #006080">&quot;Debug&quot;</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>     logger.Error(<span style="color: #006080">&quot;Error&quot;</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     logger.Fatal(<span style="color: #006080">&quot;Fatal&quot;</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span>     logger.Warn(<span style="color: #006080">&quot;Warn&quot;</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum11">  11:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>In der dritten Zeile wird log4net konfiguriert, hierfür geben wir die “Config-Datei” an. Eine Zeile weiter wird der Logger geholt. Für jedes Level gibt es eine Methode.</p>
<p><strong><u>Level:</u></strong></p>
<p>Vielleicht sollte noch die Hierarchie verschiedener Levels erwähnt werden.<br />
  </p>
<p><em>Info</em></p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 85px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> 2009-10-11 18:36:32,305 [10] INFO  WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Info</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> 2009-10-11 18:36:32,339 [10] ERROR WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Error</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> 2009-10-11 18:36:32,340 [10] FATAL WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Fatal</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> 2009-10-11 18:36:32,340 [10] WARN  WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Warn</pre>
<p><!--CRLF--></div>
</div>
<p><em>Debug</em></p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 103px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> 2009-10-11 18:37:23,195 [9] INFO  WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Info</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> 2009-10-11 18:37:23,228 [9] DEBUG WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Debug</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span> 2009-10-11 18:37:23,228 [9] ERROR WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Error</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span> 2009-10-11 18:37:23,228 [9] FATAL WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Fatal</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span> 2009-10-11 18:37:23,228 [9] WARN  WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Warn</pre>
<p><!--CRLF--></div>
</div>
<p><em>Error</em></p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 53px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> 2009-10-11 18:37:44,140 [9] ERROR WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Error</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> 2009-10-11 18:37:44,173 [9] FATAL WindowsFormsApplication1.Program [(<span style="color: #0000ff">null</span>)] - Fatal</pre>
<p><!--CRLF--></div>
</div>
<p>Anhand der Beispiele kann man erkennen, dass nicht nur das eingestellt Level geloggt, sondern hierarchisch vorgegangen wird.</p>
<p><strong><u>Fazit:</u></strong></p>
<p>Log4Net ist einfach und schnell einzusetzen. Durch die riesige Auswahl an Möglichkeiten des Loggings ist sicherlich für jeden was dabei.<br />
  <br />Viel Spaß beim Loggen! <img src='http://schanetti.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/10/11/logging-mit-log4net/feed/</wfw:commentRss>
		</item>
		<item>
		<title>NHibernate &#8211; typisierte Liste in ein DTO wandeln</title>
		<link>http://schanetti.de/2009/09/28/nhibernate-typisierte-liste-in-ein-dto-wandeln/</link>
		<comments>http://schanetti.de/2009/09/28/nhibernate-typisierte-liste-in-ein-dto-wandeln/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 17:38:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[NHibernate]]></category>

		<category><![CDATA[FluentNHibernate]]></category>

		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/09/28/nhibernate-typisierte-liste-in-ein-dto-wandeln/</guid>
		<description><![CDATA[Wie kann man ganz einfach eine generische Liste in ein “generisches DTO” wandeln? Diese Frage stellten wir uns letztens in der Arbeit. Nach mehreren Codezeilen um die generische Liste (manuell) zu mappen, waren wir der Meinung, dass es doch einfacher zu handhaben sein muss.    Nach einer längeren Recherche sind wir dann auf [...]]]></description>
			<content:encoded><![CDATA[<p>Wie kann man ganz einfach eine generische Liste in ein “generisches DTO” wandeln? Diese Frage stellten wir uns letztens in der Arbeit. Nach mehreren Codezeilen um die generische Liste (manuell) zu mappen, waren wir der Meinung, dass es doch einfacher zu handhaben sein muss.    <br />Nach einer längeren Recherche sind wir dann auf <em><strong>Transformers.AliasToBean</strong></em> gestoßen. Anbei ein kleines Beispiel für die Anwendung von <em><strong>Transformers.AliasToBean</strong></em>.</p>
<p>So könnte die Klasse “Auflage” aussehen:</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/09/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/09/image-thumb.png" width="163" height="162" /></a> </p>
<p>Das dazugehörige DTO:</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/09/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/09/image-thumb1.png" width="163" height="143" /></a> </p>
<div id="codeSnippetWrapper">
<div id="codeSnippet" class="csharpcode">
<pre class="alteven"><font face="Verdana">Da ich Fluent-NHibernate verwende, wird die Klasse wie folgt gemappt:</font></pre>
</p></div>
</div>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 105.86%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 140px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> <span style="color: #0000ff">class</span> AuflagenMap : ClassMap&lt;Auflage&gt;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span> {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>     <span style="color: #0000ff">public</span> AuflagenMap(){</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>         Id(x =&gt; x.Id);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>         Map(x =&gt; x.Datum);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>         Map(x =&gt; x.Anzahl);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>     }</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>
  <br />Mit Projections.Sum(“Anzahl”).As(“Auflage”) wird bestimmt wohin gemappt werden soll. “Anzahl” kommt aus “Auflage” und wird per Alias (“.As”) in das Property “Auflage gemappt. Das gleiche gilt natürlich auch für die Gruppierung nach Datum. </p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 106.07%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; height: 182px; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum1">   1:</span> <span style="color: #0000ff">public</span> IEnumerable&lt;AuflageDto&gt; AuflagenSummierung(){    </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum2">   2:</span>     var criteria = m_Session.CreateCriteria(<span style="color: #0000ff">typeof</span> (Auflage))</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum3">   3:</span>         .SetProjection(Projections.ProjectionList()</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum4">   4:</span>             .Add(Projections.Sum(<span style="color: #006080">&quot;Anzahl&quot;</span>).As(<span style="color: #006080">&quot;Auflage&quot;</span>))</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum5">   5:</span>             .Add(Projections.GroupProperty(<span style="color: #006080">&quot;Datum&quot;</span>).As(<span style="color: #006080">&quot;Datum&quot;</span>)))</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum6">   6:</span>         .AddOrder(Order.Asc(<span style="color: #006080">&quot;Datum&quot;</span>))</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum7">   7:</span>         .SetResultTransformer(Transformers.AliasToBean(<span style="color: #0000ff">typeof</span> (AuflageDto)))</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum8">   8:</span>         .List&lt;AuflageDto&gt;();</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum9">   9:</span>     <span style="color: #0000ff">return</span> criteria;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #606060" id="lnum10">  10:</span> }</pre>
<p><!--CRLF--></div>
</div>
<p>Das Ergebnis sieht dann so aus:<br />
  <br /><a href="http://schanetti.de/__oneclick_uploads/2009/09/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/09/image-thumb2.png" width="317" height="192" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/09/28/nhibernate-typisierte-liste-in-ein-dto-wandeln/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blog-Parade: Die 3 beliebtesten Fachb&#252;cher aus dem .NET-Umfeld</title>
		<link>http://schanetti.de/2009/09/16/blog-parade-die-3-beliebtesten-fachbcher-aus-dem-net-umfeld/</link>
		<comments>http://schanetti.de/2009/09/16/blog-parade-die-3-beliebtesten-fachbcher-aus-dem-net-umfeld/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 17:18:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/09/16/blog-parade-die-3-beliebtesten-fachbcher-aus-dem-net-umfeld/</guid>
		<description><![CDATA[Wolfgang Kluge hat eine neue Blog-Parade gestartet.&#160; Über seinen Blog sucht er die beliebtesten Fachbücher aus dem .Net-Umfeld. Ich hab hier meine 3 Favoriten zusammengestellt. 
1. Agile Principles, Patterns and Practices in C# [Robert C. Martin und Micah Martin]          In dem Buch geht es um die [...]]]></description>
			<content:encoded><![CDATA[<p>Wolfgang Kluge hat eine neue Blog-Parade gestartet.&#160; <br />Über seinen <a href="http://www.gehirnwindung.de/post/2009/09/01/Blog-Parade-Die-3-beliebtesten-Fachbucher-aus-dem-NET-Umfeld.aspx#comment" target="_blank">Blog</a> sucht er die beliebtesten Fachbücher aus dem .Net-Umfeld. Ich hab hier meine 3 Favoriten zusammengestellt. </p>
<p><strong>1. Agile Principles, Patterns and Practices in C# [Robert C. Martin und Micah Martin]      <br /></strong>    <br /><a href="http://schanetti.de/__oneclick_uploads/2009/09/agile.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Agile" border="0" alt="Agile" align="left" src="http://schanetti.de/__oneclick_uploads/2009/09/agile-thumb.jpg" width="106" height="141" /></a>In dem Buch geht es um die agile Software-Entwicklung mit verschiedenen Principles (SRP, OCP, LSP, DIP, usw.).     <br />Des weiteren werden die Vorteile von agilen Arbeitstechniken, z.B. Pair-Programming, beschrieben.     <br />Alle Beispiele in C# sind strukturiert und werden dem Leser einfach übermittelt. </p>
<p>&#160;</p>
<p><strong>2. Clean Code [Robert C. Martin]</strong>     </p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/09/cleancode.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="CleanCode" border="0" alt="CleanCode" align="left" src="http://schanetti.de/__oneclick_uploads/2009/09/cleancode-thumb.jpg" width="108" height="147" /></a>Refactoring, Patterns, Testen und Techniken für sauberen Code in einem gut und ausführlich geschriebenen Buch.&#160; Ein muss für jeden <a href="http://clean-code-developer.de/" target="_blank">Clean-Code-Developer</a>.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong>3. Refactoring [Martin Fowler]      </p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/09/refactoring.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Refactoring" border="0" alt="Refactoring" align="left" src="http://schanetti.de/__oneclick_uploads/2009/09/refactoring-thumb.jpg" width="109" height="154" /></a> </strong></p>
<p>Verbessern Sie Ihren Code! – so die Einleitung von Martin Fowler. Refactoring ist schon lang nicht mehr nur für “Refactoring-Experten” gedacht, sondern jeder Entwickler muss dazu angehalten werden sauberen Code zu hinterlassen.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>Das waren meine 3 Bücher, wobei es noch weitere im Repertoire gibt, z.B “DDD” von Eric Evens.</p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/09/16/blog-parade-die-3-beliebtesten-fachbcher-aus-dem-net-umfeld/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Neuer Mitbewohner</title>
		<link>http://schanetti.de/2009/09/15/neuer-mitbewohner/</link>
		<comments>http://schanetti.de/2009/09/15/neuer-mitbewohner/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 16:38:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Privat]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/09/15/neuer-mitbewohner/</guid>
		<description><![CDATA[Seit kurzem haben wir einen neuen Mitbewohner zu Hause.     
Das ist das erste Bild unserer kleinen Katze (ca. 14 Wochen). Noch ist sie sehr schüchtern.
&#160;
&#160;
&#160;
&#160;
Da Katzen immer ein begehrtes Motiv sind, wird es demnächst hoffentlich wieder mehr Bilder zu sehen geben. 
&#160;
&#160;
&#160;
Übrigens: ihr Name ist Amy-Lou.
]]></description>
			<content:encoded><![CDATA[<p>Seit kurzem haben wir einen neuen Mitbewohner zu Hause. <img src='http://schanetti.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />    </p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/09/20090828-782.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="20090828_782" border="0" alt="20090828_782" align="left" src="http://schanetti.de/__oneclick_uploads/2009/09/20090828-782-thumb.jpg" width="244" height="184" /></a>Das ist das erste Bild unserer kleinen Katze (ca. 14 Wochen). Noch ist sie sehr schüchtern.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="20090830_793" border="0" alt="20090830_793" align="left" src="http://schanetti.de/__oneclick_uploads/2009/09/20090830-793-thumb.jpg" width="244" height="184" />Da Katzen immer ein begehrtes Motiv sind, wird es demnächst hoffentlich wieder mehr Bilder zu sehen geben. </p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>Übrigens: ihr Name ist Amy-Lou.</p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/09/15/neuer-mitbewohner/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WPF MVVM &#8211; Kleines Testprojekt [Teil 1]</title>
		<link>http://schanetti.de/2009/08/04/wpf-mvvm-kleines-testprojekt-teil-1/</link>
		<comments>http://schanetti.de/2009/08/04/wpf-mvvm-kleines-testprojekt-teil-1/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:07:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[MVVM]]></category>

		<category><![CDATA[Pattern]]></category>

		<category><![CDATA[.Net]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/08/04/wpf-mvvm-kleines-testprojekt-teil-1/</guid>
		<description><![CDATA[Ich arbeite derzeit an einem kleinen “Spielprojekt” in WPF mit dem MVVM Pattern.    Für mich ist das der optimale Einstieg in WPF. Das Projekt ist klein, überschaubar und soll natürlich auch noch getestet sein. Das Projekt wird für einen 60. Geburtstag eingesetzt, also reines Vergnügen mit Weiterbildungsfaktor.     
Folgende [...]]]></description>
			<content:encoded><![CDATA[<p>Ich arbeite derzeit an einem kleinen “Spielprojekt” in WPF mit dem MVVM Pattern.    <br />Für mich ist das der optimale Einstieg in WPF. Das Projekt ist klein, überschaubar und soll natürlich auch noch getestet sein. Das Projekt wird für einen 60. Geburtstag eingesetzt, also reines Vergnügen mit Weiterbildungsfaktor.     </p>
<p><strong><u>Folgende Aufgabenstellung (erinnert an “Wer wird Millionär”): </u>      <br /></strong>    <br />Ein Kandidat muss zehn Fragen zu einer bestimmten Person beantworten. Je Frage stehen 3 oder 4 Antworten zur Verfügung. Wurde eine Frage beantwortet, darf der Kandidat die nächste beantworten. Die Fragen sind wie bei WWM nach Schwierigkeitsstufen kategorisiert. Je mehr Fragen beantwortet wurden, desto schwerer die Fragenstellung. Fragen können nicht nur aus Textbausteine bestehen, sondern zusätzlich auch aus Videos oder Bildern.     </p>
<p>Soweit die Aufgabenstellung, danach stellte sich die Frage, wie setze ich das Projekt um?     <br />Da ich mich schon seit längerem für WPF interessiere, werde ich das Spiel in WPF mit dem MVVM Pattern versuchen umzusetzen.     </p>
<p><u><strong>Anfang:</strong></u>     </p>
<p>Als erstes hab ich mir das WPF Model-View-ViewModel Toolkit von dieser <a title="WPF M-V-VM Toolkit" href="http://wpf.codeplex.com/Wiki/View.aspx?title=WPF%20Model-View-ViewModel%20Toolkit" target="_blank">Seite</a> geladen. (geht auch ohne)     <br />Das Toolkit beinhaltet folgendes:</p>
<ul>
<li>Template </li>
<li>Dokumentation (unbedingt lesen) </li>
<li>Demo </li>
</ul>
<p>Die Installation dauert nicht lange und braucht hier nicht länger erklärt zu werden.&#160; </p>
<p>Das Template fügt sich wie in Abb. 1 in VS2008 ein.     <br /><a href="http://schanetti.de/__oneclick_uploads/2009/08/vs2008-template.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="VS2008_Template" border="0" alt="VS2008_Template" src="http://schanetti.de/__oneclick_uploads/2009/08/vs2008-template-thumb.png" width="422" height="183" /></a>     <br /><font size="1">(Abb. 1)</font></p>
<p><u><strong>Anlegen eines neuen Projekts:</strong></u></p>
<p>Nach dem ich das Template ausgewählt habe, gibt es die Möglichkeit automatisch ein Unit-Test-Projekt (Abb. 2) anzulegen. Da ich das Projekt manuell anlege, hab ich die Nachfrage verneint.    <br /><a href="http://schanetti.de/__oneclick_uploads/2009/08/testproject.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="TestProject" border="0" alt="TestProject" src="http://schanetti.de/__oneclick_uploads/2009/08/testproject-thumb.png" width="293" height="195" /></a>     <br /><font size="1">(Abb. 2)</font></p>
<p>Nach der Erstellung des Projekts wird folgende Struktur angelegt.    <br /><a href="http://schanetti.de/__oneclick_uploads/2009/08/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/08/image-thumb.png" width="205" height="244" /></a>     <br /><font size="1">(Abb. 3)</font></p>
<p>Zu den einzelnen Klassen mehr dazu im nächsten Blogeintrag.</p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/08/04/wpf-mvvm-kleines-testprojekt-teil-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>.Net Open Space 2009</title>
		<link>http://schanetti.de/2009/08/04/net-open-space-2009/</link>
		<comments>http://schanetti.de/2009/08/04/net-open-space-2009/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 17:09:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[.Net Open Space]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/08/04/net-open-space-2009/</guid>
		<description><![CDATA[ 
Es ist wieder soweit. Am 17. + 18. Oktober 2009 findet das 3. .Net Open Space in Deutschland statt.    Wie letztes Jahr werde ich auch dieses Jahr wieder nach Leipzig reisen. 
Was ist .Net Open Space?    Die Teilnehmer legen die Tagesordnung selbst fest. Die erste/n Stunde/n stellt sich [...]]]></description>
			<content:encoded><![CDATA[<p><a title=".NET Open Space vom 17.10. bis 18.10.2009 in Leipzig" href="http://netopenspace.de/"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" border="0" alt=".NET Open Space vom 17.10. bis 18.10.2009 in Leipzig" align="left" src="http://netopenspace.de/2009/GetFile.aspx?File=Logos/nos-badge-120x120.png" /> </a>
<p>Es ist wieder soweit. Am 17. + 18. Oktober 2009 findet das 3. .Net Open Space in Deutschland statt.    <br />Wie letztes Jahr werde ich auch dieses Jahr wieder nach Leipzig reisen. </p>
<p>Was ist .Net Open Space?    <br />Die Teilnehmer legen die Tagesordnung selbst fest. Die erste/n Stunde/n stellt sich jeder Teilnehmer kurz vor und danach wird eine Tagesstruktur erstellt. D.h. jeder Anwesende kann sich mehrere Themen aussuchen, diese auf einen Zettel schreiben und an eine Pinnwand hängen.     </p>
<p>Nun wird ein Tagesplan (bei zu vielen Themen verschieben sich diese auf den nächsten Tag) mit den entstandenen Themen erstellt. Es gibt bei den einzelnen Sessions keinen Speaker, nur einen Moderator, der das Thema aufgegriffen hat. Jeder hat nun die Möglichkeit bei dem Thema anwesend zu sein, dass sein Interesse weckt. Es gilt übrigens das Gesetz der zwei Füße, d.h. man kann jederzeit eine Session verlassen und eine andere besuchen. </p>
<p>Mehr zum Thema “open space” könnt ihr <a href="http://www.openspaceworld.org/german/index.html" target="_blank">hier</a> nachlesen.&#160; </p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/08/04/net-open-space-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Google vs. bing</title>
		<link>http://schanetti.de/2009/07/30/google-vs-bing/</link>
		<comments>http://schanetti.de/2009/07/30/google-vs-bing/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 17:10:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/07/30/google-vs-bing/</guid>
		<description><![CDATA[Gelesen hab ich mittlerweilen einiges über die neue Suchmaschine von Microsoft.    Aber ist sie besser wie z.B. Google?
Punkte die für mich wichtig sind hab ich bei beiden Suchmaschinen verglichen.

Startseite:       
Google:              Schlicht und einfach; [...]]]></description>
			<content:encoded><![CDATA[<p>Gelesen hab ich mittlerweilen einiges über die neue Suchmaschine von Microsoft.    <br />Aber ist sie besser wie z.B. Google?</p>
<p>Punkte die für mich wichtig sind hab ich bei beiden Suchmaschinen verglichen.</p>
<ul>
<li><strong>Startseite:</strong>       </p>
<p>Google:       <br /><a href="http://schanetti.de/__oneclick_uploads/2009/07/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/07/image-thumb.png" width="330" height="128" /></a>       <br />Schlicht und einfach; für die Suche optimal. </li>
</ul>
<blockquote><p>Bing:      <br /><a href="http://schanetti.de/__oneclick_uploads/2009/07/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/07/image-thumb1.png" width="332" height="236" /></a>       <br />Schöner Hintergrund, ist aber für eine Suche nicht wichtig.       <br />Hier zählt für mich nur der Nutzwert und nicht die Schönheit der Seite.       </p>
<p>Der Suchmodus bei Bing ist allerdings besser angeordnet.      <br />In Google muss man links oben klicken, bei Bing findet sich       <br />der Modus direkt über der Texteingabe. Die Anordnung der Suchfunktionen       <br />ähnelt aber sehr der von Google.</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/07/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/07/image-thumb2.png" width="244" height="50" /></a>&#160; <br /><font size="1">Bing        <br /></font>      <br /><a href="http://schanetti.de/__oneclick_uploads/2009/07/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://schanetti.de/__oneclick_uploads/2009/07/image-thumb3.png" width="244" height="28" /></a>       <br /><font size="1">Google </font><font size="1">       <br /></font></p>
</p>
</blockquote>
</p>
<blockquote></blockquote>
<blockquote>
</blockquote>
<ul>
<li><strong>Suchergebnis        </p>
<p></strong>Für den Suchtest hatte ich “Nikola Tesla” eingegeben. Information zu “Nikola Tesla” findet ihr <a href="http://de.wikipedia.org/wiki/Nikola_Tesla" target="_blank">hier</a>.       </p>
<table border="0" cellspacing="0" cellpadding="2" width="269">
<tbody>
<tr>
<td valign="top" width="21"><strong>bing</strong></td>
<td valign="top" width="246"><em>Web:</em>               <br />1.320.000 Ergebnisse</td>
</tr>
<tr>
<td valign="top" width="21">&#160;</td>
<td valign="top" width="246"><em>Bilder:                <br /></em>46.900 Ergebnisse</td>
</tr>
<tr>
<td valign="top" width="21">&#160;</td>
<td valign="top" width="246"><em>Video:</em>               <br />2.470 Ergebnisse</td>
</tr>
<tr>
<td valign="top" width="21"><strong>Google</strong></td>
<td valign="top" width="246"><em>Web:</em>               <br />2.430.000 Ergebnisse</td>
</tr>
<tr>
<td valign="top" width="21">&#160;</td>
<td valign="top" width="246"><em>Bilder:</em>               <br />385.000 Ergebnisse</td>
</tr>
<tr>
<td valign="top" width="21">&#160;</td>
<td valign="top" width="246"><em>Video:</em>               <br />3.960 Ergebnisse</td>
</tr>
</tbody>
</table>
</li>
</ul>
<blockquote><p>Auch hier liegt <em><strong>Google</strong></em> vorne. Die Anordnung der Ergebnisse ist bei beiden Suchmaschinen fast       <br />identisch. Eine erweiterte Suche gibt es bei <em><strong>Bing</strong> </em>erst bei der Ausführung der Suche, bei <strong><em>Google</em></strong>       <br />hingegen kann die Suchoption von vornerein festgelegt werden.       <br />Einstellungen für <strong><em>Bing</em></strong> können unter dem Menüpunkt <u>“Extras/Einstellungen”</u> und unter <u>“Nur Deutsch”</u> bearbeitet werden. In <strong><em>Google</em></strong> findet man diesen Punkt unter <u>“Einstellungen”</u>. Die Einstellungen beider Suchmaschinen sind wiederum fast identisch.&#160;&#160; <br />Auch wenn <strong><em>Google</em></strong> mehr Suchergebnisse bietet, stellt sich die Frage ob Qualität auch besser ist. </p>
</blockquote>
<ul>
<li><strong>Fazit (für mich persönlich)        <br /></strong>      <br />Ich werde derzeit trotzdem bei <strong><em>Google</em></strong> bleiben, da die Suchmaschine im Moment alles hergibt was ich       <br />benötige. Werde <em><strong>Bing</strong></em> im Auge behalten, vielleicht steige ich doch irgendwann um.       </p>
<p>Einen Vergleich beider Seiten nebeneinander findet ihr übrigens auf dieser <a title="Google vs. Bing" href="http://www.blackdog.ie/google-bing/search-de.php" target="_blank">Seite</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/07/30/google-vs-bing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Picknick</title>
		<link>http://schanetti.de/2009/07/15/picknick/</link>
		<comments>http://schanetti.de/2009/07/15/picknick/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 17:26:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Privat]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/07/15/picknick/</guid>
		<description><![CDATA[ 
Schönes Wetter + Geburtstag = gemütliches und romantisches Picknick mit meiner Frau am    Wasser.     
Warum auch immer, aber irgendwie finde ich das Bild besonders gelungen.      
PS: wir hatten auch etwas zu Essen dabei.
]]></description>
			<content:encoded><![CDATA[<p align="left"><a href="http://schanetti.de/__oneclick_uploads/2009/07/20090711-6371.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="20090711_637" border="0" alt="20090711_637" src="http://schanetti.de/__oneclick_uploads/2009/07/20090711-637-thumb1.jpg" width="184" height="244" /></a> </p>
<p align="left">Schönes Wetter + Geburtstag = gemütliches und romantisches Picknick mit meiner Frau am    <br />Wasser.     </p>
<p>Warum auch immer, aber irgendwie finde ich das Bild besonders gelungen. <img src='http://schanetti.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />     </p>
<p>PS: wir hatten auch etwas zu Essen dabei.</p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/07/15/picknick/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Safaripark am Gardasee</title>
		<link>http://schanetti.de/2009/06/27/safaripark-am-gardasee/</link>
		<comments>http://schanetti.de/2009/06/27/safaripark-am-gardasee/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 15:04:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Natur]]></category>

		<guid isPermaLink="false">http://schanetti.de/2009/06/27/safaripark-am-gardasee/</guid>
		<description><![CDATA[Wer Urlaub am Gardasee machen will, dem kann ich nur einen Besuch im Safaripark “Parco Natura Viva” empfehlen.    Mit dem Auto fährt man wie bei einer Safari durch die einzelnen “Gehege”.     Der Park bietet einem an so nah wie möglich Tiere zu sehen, die man z.B. nur in [...]]]></description>
			<content:encoded><![CDATA[<p>Wer Urlaub am Gardasee machen will, dem kann ich nur einen Besuch im Safaripark “Parco Natura Viva” empfehlen.    <br />Mit dem Auto fährt man wie bei einer Safari durch die einzelnen “Gehege”.     <br />Der Park bietet einem an so nah wie möglich Tiere zu sehen, die man z.B. nur in Afrika sehen würde.     </p>
<h3></h3>
<p>Hier ein paar Bilder:</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/06/20090604-489.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Giraffe" border="0" alt="Giraffe" src="http://schanetti.de/__oneclick_uploads/2009/06/20090604-489-thumb.jpg" width="404" height="304" /></a>&#160; </p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/06/20090604-500.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Löwe" border="0" alt="Löwe" src="http://schanetti.de/__oneclick_uploads/2009/06/20090604-500-thumb.jpg" width="404" height="304" /></a>&#160; <br />Auch durch das Löwengehege wird mit dem Auto gefahren.</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/06/20090604-505.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Nashorn" border="0" alt="Nashorn" src="http://schanetti.de/__oneclick_uploads/2009/06/20090604-505-thumb.jpg" width="404" height="304" /></a>&#160; <br />Noch konnte man das Nashorn nicht aus den Schatten locken…</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/06/20090604-521.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Nashörner" border="0" alt="Nashörner" src="http://schanetti.de/__oneclick_uploads/2009/06/20090604-521-thumb.jpg" width="404" height="304" /></a>     <br />… kaum gibt es Futter… <img src='http://schanetti.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/06/20090604-510.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="weißer Pfau" border="0" alt="weißer Pfau" src="http://schanetti.de/__oneclick_uploads/2009/06/20090604-510-thumb.jpg" width="404" height="304" /></a>     <br />Weißer Pfau ( Pavo cristatus mut. alba) – entstanden durch eine Mutation.     <br />Mehr Infos unter <a href="http://de.wikipedia.org/wiki/Blauer_Pfau#Verwandte_Arten" target="_blank">Blauer/weißer Pfau</a>.</p>
<p><a href="http://schanetti.de/__oneclick_uploads/2009/06/20090604-513.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="20090604_513" border="0" alt="20090604_513" src="http://schanetti.de/__oneclick_uploads/2009/06/20090604-513-thumb.jpg" width="404" height="304" /></a>&#160; <br />Den Tiernamen muss ich nochmals nachschauen.</p>
]]></content:encoded>
			<wfw:commentRss>http://schanetti.de/2009/06/27/safaripark-am-gardasee/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

