<?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>Biggle&#039;s Blog &#187; Development</title>
	<atom:link href="http://www.biggle.de/blog/category/development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biggle.de/blog</link>
	<description>Web- und Software Development</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:08:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Multiple types were found that match the controller named &#8216;xxx&#8217;</title>
		<link>http://www.biggle.de/blog/multiple-types-were-found-that-match-the-controller-named-xxx</link>
		<comments>http://www.biggle.de/blog/multiple-types-were-found-that-match-the-controller-named-xxx#comments</comments>
		<pubDate>Tue, 07 Feb 2012 13:06:05 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[MVC3]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6892</guid>
		<description><![CDATA[Wenn man mit Areas innerhalb eines MVC Projektes arbeitet, dann wäre es ja sinnvoll beispielweise auch auch einen Controller namens Home zu verwenden. Das Problem ist nur, wenn man eben schon einen HomeController in der Anwendung hat, dass man vorerst die Fehlermeldung “Multiple types were found match the controller named “xxx” bekommt. Diese bekommt man [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn man mit <strong>Areas</strong> innerhalb eines <strong>MVC</strong> Projektes arbeitet, dann wäre es ja sinnvoll beispielweise auch auch einen Controller namens Home zu verwenden. Das Problem ist nur, wenn man eben schon einen <strong>HomeController</strong> in der Anwendung hat, dass man vorerst die Fehlermeldung “<strong>Multiple types were found match the controller named “xxx”</strong> bekommt.</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMi9pbWFnZS5wbmc="><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/02/image_thumb.png" width="504" height="119" /></a></p>
<p>Diese bekommt man weg, indem man in der global.asax.cs im Route-Mapping den Namespace zu den Controllern mit angibt.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:ace3de53-4af3-4faf-a5b5-1f36baa505d9" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 150px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">static</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> RegisterRoutes(RouteCollection routes)
{
    routes.IgnoreRoute(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">{resource}.axd/{*pathInfo}</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">);
    routes.MapRoute(
        </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Default</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, </span><span style="color: #008000;">//</span><span style="color: #008000;"> Route name</span><span style="color: #008000;">
</span><span style="color: #000000;">        </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">{controller}/{action}/{id}</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, </span><span style="color: #008000;">//</span><span style="color: #008000;"> URL with parameters</span><span style="color: #008000;">
</span><span style="color: #000000;">        </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> { controller </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Home</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, action </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Index</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, id </span><span style="color: #000000;">=</span><span style="color: #000000;"> UrlParameter.Optional },
        </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> [] { </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">My.Namespace.Web.Controllers</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> }  </span><span style="color: #008000;">//</span><span style="color: #008000;"> Parameter defaults</span><span style="color: #008000;">
</span><span style="color: #000000;">    );
}</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Auch in den Areas muss man in der *Registration.cs dafür sorgen, das man auf die richtigen Controller routet:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:4eab17c2-ee6f-460d-a6bb-35586dcdf89f" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 150px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">override</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> RegisterArea(AreaRegistrationContext context)
{
    context.MapRoute(
        </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Admin_default</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">,
        </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Admin/{controller}/{action}/{id}</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">,
        </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> { action </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Index</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, id </span><span style="color: #000000;">=</span><span style="color: #000000;"> UrlParameter.Optional },
        </span><span style="color: #0000FF;">new</span><span style="color: #000000;">[] { </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">My.Namespace.Web.Areas.Admin.Controllers</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> }
    );
}</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6892" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>Keine ähnliche Beiträge vorhanden</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/multiple-types-were-found-that-match-the-controller-named-xxx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MVC / Razor Style-Switcher &#8211; Quicky</title>
		<link>http://www.biggle.de/blog/mvc-razor-style-switcher-quicky</link>
		<comments>http://www.biggle.de/blog/mvc-razor-style-switcher-quicky#comments</comments>
		<pubDate>Thu, 26 Jan 2012 12:25:17 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[razor]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6887</guid>
		<description><![CDATA[Heute möchte ich zeigen, wie man sich einen einfachen Style-Switcher mittels jQuery in einem MVC / Razor Projekt einbauen kann. Den Basis-Style setzen wir zu Beginn, wenn die Seite zum ersten Mal geöffnet wird. Wichtig ist, das wir eine Id setzen, um in unserer jQuery Funktion dieses Element wieder zu finden. &#60;link id=&#34;jQ&#34; href=&#34;@Url.Content(&#34;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&#34;)&#34; rel=&#34;Stylesheet&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Heute möchte ich zeigen, wie man sich einen einfachen Style-Switcher mittels <strong>jQuery</strong> in einem MVC / <strong>Razor</strong> Projekt einbauen kann.</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTI1LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb25.png" width="321" height="550" /></a></p>
<p>Den Basis-Style setzen wir zu Beginn, wenn die Seite zum ersten Mal geöffnet wird. Wichtig ist, das wir eine Id setzen, um in unserer jQuery Funktion dieses Element wieder zu finden.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:c9210f86-d964-4509-a87e-2e4e886e5fc6" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 46px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link id</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">jQ</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Um zwischen den Styles zu wechseln, erstellen wir eine Html-ComboBox mit den Namen der einzelnen Styles:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:068bbebd-e69e-40de-ade7-8797cb7380a1" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 283px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">    </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">select id</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">styles</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">base</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #0000FF;">base</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">black-tie</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">black</span><span style="color: #000000;">-</span><span style="color: #000000;">tie</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">blitzer</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">blitzer</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">cupertino</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">cupertino</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">dark-hive</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">dark</span><span style="color: #000000;">-</span><span style="color: #000000;">hive</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">dot-luv</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">dot</span><span style="color: #000000;">-</span><span style="color: #000000;">luv</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">eggplant</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">eggplant</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">excite-bike</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">excite</span><span style="color: #000000;">-</span><span style="color: #000000;">bike</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">flick</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">flick</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">hot-sneaks</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">hot</span><span style="color: #000000;">-</span><span style="color: #000000;">sneaks</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">humanity</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">humanity</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">le-frog</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">le</span><span style="color: #000000;">-</span><span style="color: #000000;">frog</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">mint-choc</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">mint</span><span style="color: #000000;">-</span><span style="color: #000000;">chocolate</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">overcast</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">overcast</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">pepper-grinder</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">pepper</span><span style="color: #000000;">-</span><span style="color: #000000;">grinder</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">redmond</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">redmond</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">smoothness</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">smoothness</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">south-street</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">south</span><span style="color: #000000;">-</span><span style="color: #000000;">street</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">start</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">start</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">sunny</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">sunny</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">swanky-purse</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">swanky</span><span style="color: #000000;">-</span><span style="color: #000000;">purse</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">trontastic</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">trontastic</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">ui-darkness</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">ui</span><span style="color: #000000;">-</span><span style="color: #000000;">darkness</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">ui-lightness</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">ui</span><span style="color: #000000;">-</span><span style="color: #000000;">lightness</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">option value</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">vader</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">vader</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">option</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
    </span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">select</span><span style="color: #000000;">&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p>Als Script verwenden wir folgenden Codeabschnitt. Die Funktion setzt den gewählten Style und ruft eine Methode im Controller auf, der ggfls. den Style in den Usereinstellungen speichern kann.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:02d5bc1a-7be9-41af-a242-0eeaf290d491" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 283px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">script</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
    $(document).ready(function ()       

        $(</span><span style="color: #800000;">'</span><span style="color: #800000;">#styles</span><span style="color: #800000;">'</span><span style="color: #000000;">).change(function () {
            var style </span><span style="color: #000000;">=</span><span style="color: #000000;"> $(</span><span style="color: #0000FF;">this</span><span style="color: #000000;">).val();

            $(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">#jQ</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">).attr(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">href</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> style </span><span style="color: #000000;">+</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">/jquery-ui.css</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">);
            $.post(</span><span style="color: #800000;">'</span><span style="color: #800000;">@Url.Action(&quot;SaveStyle&quot;, &quot;Home&quot;)</span><span style="color: #800000;">'</span><span style="color: #000000;">, { style: style }, function () {
                </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> </span><span style="color: #0000FF;">false</span><span style="color: #000000;">;
            });
        });
    });
</span><span style="color: #000000;">&lt;/</span><span style="color: #000000;">script</span><span style="color: #000000;">&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Im Controller dann kann der Name des gewählten Styles weiter verarbeitet werden:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:876de38f-8ea8-4357-9c96-f6637b596c85" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 86px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> SaveStyle(</span><span style="color: #0000FF;">string</span><span style="color: #000000;"> style)
{
    </span><span style="color: #008000;">//</span><span style="color: #008000;">save style</span><span style="color: #008000;">
</span><span style="color: #000000;">}</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6887" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>24. Januar 2012 -- <a href="http://www.biggle.de/blog/google-api-jquery-ui-1-7-2-theme-bersicht-razor-layout" title="Google API jQuery UI 1.7.2 Theme &Uuml;bersicht + Razor-Layout">Google API jQuery UI 1.7.2 Theme &Uuml;bersicht + Razor-Layout</a></li><li>21. November 2008 -- <a href="http://www.biggle.de/blog/jquery-in-visual-studio-2008" title="jQuery in Visual Studio 2008">jQuery in Visual Studio 2008</a></li><li>8. September 2008 -- <a href="http://www.biggle.de/blog/jquery-cheatsheet-fur-das-iphone" title="jQuery CheatSheet für das IPhone">jQuery CheatSheet für das IPhone</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/mvc-razor-style-switcher-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google API jQuery UI 1.7.2 Theme &#220;bersicht + Razor-Layout</title>
		<link>http://www.biggle.de/blog/google-api-jquery-ui-1-7-2-theme-bersicht-razor-layout</link>
		<comments>http://www.biggle.de/blog/google-api-jquery-ui-1-7-2-theme-bersicht-razor-layout#comments</comments>
		<pubDate>Tue, 24 Jan 2012 14:02:13 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[razor]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6882</guid>
		<description><![CDATA[Im folgenden eine kleine Übersicht von Google API jQuery UI 1.7.2 Designs, so vorbereitet, dass diese schnell im Header eines Razor Layouts eingefügt werden können. base &#60;link href=&#34;@Url.Content(&#34;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css&#34;)&#34; rel=&#34;Stylesheet&#34; type=&#34;text/css&#34; /&#62; blitzer &#60;link href=&#34;@Url.Content(&#34;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/blitzer/jquery-ui.css&#34;)&#34; rel=&#34;Stylesheet&#34; type=&#34;text/css&#34; /&#62; dark-hive &#60;link href=&#34;@Url.Content(&#34;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dark-hive/jquery-ui.css&#34;)&#34; rel=&#34;Stylesheet&#34; type=&#34;text/css&#34; /&#62; eggplant &#60;link href=&#34;@Url.Content(&#34;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/eggplant/jquery-ui.css&#34;)&#34; rel=&#34;Stylesheet&#34; type=&#34;text/css&#34; /&#62; flick &#60;link href=&#34;@Url.Content(&#34;http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/flick/jquery-ui.css&#34;)&#34; rel=&#34;Stylesheet&#34; type=&#34;text/css&#34; /&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>Im folgenden eine kleine Übersicht von <strong>Google API jQuery UI 1.7.2 Designs</strong>, so vorbereitet, dass diese schnell im Header eines Razor Layouts eingefügt werden können.</p>
<p><strong>base</strong>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:27b7b89c-b9d6-4147-83bb-77314e0f2ed2" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZS5wbmc="><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb.png" width="244" height="204" /></a></p>
<hr />
<p><strong>black-tie</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:adaead5d-44e9-460c-8a91-df8c2f94a792" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/black-tie/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTEucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb1.png" width="244" height="205" /></a></p>
<hr />
<p><strong>blitzer</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:5c26c2bf-e3e2-4261-bb3b-d5efdd2913a1" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/blitzer/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTIucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb2.png" width="244" height="203" /></a></p>
<hr />
<p><strong>cupertino</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:07d1feb2-4632-4689-bdd7-e115192bf6a2" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/cupertino/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTMucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb3.png" width="244" height="209" /></a></p>
<hr />
<p><strong>dark-hive</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:36ae10b3-6f16-49aa-a4ad-e7aebb298710" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dark-hive/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTQucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb4.png" width="244" height="204" /></a></p>
<hr />
<p><strong>dot-luv</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:342dd2b3-4e0a-4bce-b813-e6291ee40848" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dot-luv/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTUucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb5.png" width="244" height="204" /></a></p>
<hr />
<p><strong>eggplant</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:a5e75b99-ceec-4915-b931-cdf9f4137067" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/eggplant/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTYucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb6.png" width="244" height="204" /></a></p>
<hr />
<p><strong>excite-bike</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:34be94e0-671f-4de9-afe6-a7cc20ee6f2b" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/excite-bike/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTcucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb7.png" width="244" height="202" /></a></p>
<hr />
<p><strong>flick</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:93913eb4-67a7-4196-a95f-d40fb2815949" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/flick/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTgucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb8.png" width="244" height="205" /></a></p>
<hr />
<p><strong>hot-sneaks</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:eb51c5a1-b141-40c8-a591-f379f163101c" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/hot-sneaks/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTkucG5n"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb9.png" width="244" height="204" /></a></p>
<hr />
<p><strong>humanity</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:0ec2dbf9-f9cf-47ff-ba42-b53a5c3b078e" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/humanity/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTEwLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb10.png" width="244" height="204" /></a></p>
<hr />
<p><strong>le-frog</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:6b0c4a1c-7b64-4879-be06-1a694cc39887" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/le-frog/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTExLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb11.png" width="244" height="204" /></a></p>
<hr />
<p><strong>mint-chocolate</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:47986b6a-b640-46db-88de-82cf984ae030" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/mint-choc/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTEyLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb12.png" width="244" height="204" /></a></p>
<hr />
<p><strong>overcast</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:843cbc85-d67b-4bc2-89cf-6a3ce8e27291" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/overcast/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTEzLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb13.png" width="244" height="203" /></a></p>
<hr />
<p><strong>pepper-grinder</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:1e38c611-0c5f-43c8-b61b-1a19822c2e16" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/pepper-grinder/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTE0LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb14.png" width="244" height="205" /></a></p>
<hr />
<p><strong>redmond</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:f83091c9-dbb4-497f-a8ae-3527cf06ad45" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTE1LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb15.png" width="244" height="205" /></a></p>
<hr />
<p><strong>smoothness</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:06e3d595-23c4-4d88-a436-1d1aa2e6f2ca" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTE2LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb16.png" width="244" height="204" /></a></p>
<hr />
<p><strong>south-street</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:ff89a360-d394-4a2d-927d-e85ee522eb5a" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/south-street/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTE3LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb17.png" width="244" height="204" /></a></p>
<hr />
<p><strong>start</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:e4bac499-34c7-4dc2-9b1e-ee4b4897beb6" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTE4LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb18.png" width="244" height="205" /></a></p>
<hr />
<p><strong>sunny</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:c6466667-e567-4abe-9bdd-06f0efd77acc" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/sunny/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTE5LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb19.png" width="244" height="203" /></a></p>
<hr />
<p><strong>swanky-purse</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:dd263aa3-4f86-4921-af4c-5560ffe44b05" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/swanky-purse/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTIwLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb20.png" width="244" height="203" /></a></p>
<hr />
<p><strong>trontastic</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:0f3cdabd-f6fa-4e68-bf76-7c1f588fca95" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/trontastic/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTIxLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb21.png" width="244" height="203" /></a></p>
<hr />
<p><strong>ui-darkness</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:c28d5280-bc43-458e-853c-c9096bdaf1ec" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTIyLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb22.png" width="244" height="202" /></a></p>
<hr />
<p><strong>ui-lightness</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:bd961ef6-7486-4ab1-b658-6558c3ddbe43" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-lightness/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTIzLnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb23.png" width="244" height="204" /></a></p>
<hr />
<p><strong>vader</strong></p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:39fb7460-b2aa-4500-9e1a-0a16b4989a7b" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">link href</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">@Url.Content(</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/vader/jquery-ui.css&quot;)&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS9pbWFnZTI0LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/image_thumb24.png" width="244" height="204" /></a></p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6882" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>26. Januar 2012 -- <a href="http://www.biggle.de/blog/mvc-razor-style-switcher-quicky" title="MVC / Razor Style-Switcher &#8211; Quicky">MVC / Razor Style-Switcher &#8211; Quicky</a></li><li>9. November 2011 -- <a href="http://www.biggle.de/blog/meine-persnliches-neues-google" title="Mein pers&ouml;nliches neues Google+">Mein pers&ouml;nliches neues Google+</a></li><li>15. Oktober 2011 -- <a href="http://www.biggle.de/blog/google-reader-send-to-google" title="Google Reader &#8211; Send to Google+">Google Reader &#8211; Send to Google+</a></li><li>31. Juli 2011 -- <a href="http://www.biggle.de/blog/gewinner-google-music-invites" title="Gewinner Google Music Invites">Gewinner Google Music Invites</a></li><li>30. Juli 2011 -- <a href="http://www.biggle.de/blog/2-invites-fr-google-music-zu-verlosen" title="2 Invites f&uuml;r Google Music zu verlosen">2 Invites f&uuml;r Google Music zu verlosen</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/google-api-jquery-ui-1-7-2-theme-bersicht-razor-layout/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Asynchrones Bef&#252;llen einer ObservableCollection&lt;T&gt; in einem ViewModel</title>
		<link>http://www.biggle.de/blog/asynchrones-befllen-einer-observablecollectiont-in-einem-viewmodel</link>
		<comments>http://www.biggle.de/blog/asynchrones-befllen-einer-observablecollectiont-in-einem-viewmodel#comments</comments>
		<pubDate>Sat, 14 Jan 2012 17:46:21 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[async]]></category>
		<category><![CDATA[MVVM]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6822</guid>
		<description><![CDATA[Die Aufgabenstellung beschreibt, das innerhalb eine ViewModels Daten aus einer Datenbank ausgelesen und über der Netzwerkverbindung noch weiter verarbeitet werden müssen. Hier liegt es auf der Hand, dass eine asynchrone Lösung her muss, sprich es muss unter allen Umständen verhindert werden, dass die UI blockiert. Wie man das machen kann, zeige ich wie folgt: Ich [...]]]></description>
			<content:encoded><![CDATA[<p>Die Aufgabenstellung beschreibt, das innerhalb eine ViewModels Daten aus einer Datenbank ausgelesen und über der Netzwerkverbindung noch weiter verarbeitet werden müssen. Hier liegt es auf der Hand, dass eine asynchrone Lösung her muss, sprich es muss unter allen Umständen verhindert werden, dass die UI blockiert.</p>
<p>Wie man das machen kann, zeige ich wie folgt:</p>
<p>Ich erstelle mir vorerst einen einfachen Delegate. </p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:e5b85b31-b029-423a-bb01-215ee0f008c5" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #008080;">1</span> <span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">delegate</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> AsyncAwsDelegate();</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Im Konstruktor der ViewModels, bzw in einem Command wird dann an diesem Delegate ein BeginInvoke aufgerufen, der die Methode zur asynchronen Verarbeitung zugewiesen bekommt.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:624b5591-6a79-4b1a-9cc6-d37511a29814" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 100px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #008080;">1</span> <span style="color: #0000FF;">public</span><span style="color: #000000;"> MainViewModel()
</span><span style="color: #008080;">2</span> <span style="color: #000000;">{
</span><span style="color: #008080;">3</span> <span style="color: #000000;">    AsyncAwsDelegate del </span><span style="color: #000000;">=</span><span style="color: #000000;"> (FetchItemsAsync);
</span><span style="color: #008080;">4</span> <span style="color: #000000;">    del.BeginInvoke(</span><span style="color: #0000FF;">null</span><span style="color: #000000;">, </span><span style="color: #0000FF;">null</span><span style="color: #000000;">);
</span><span style="color: #008080;">5</span> <span style="color: #000000;">}</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>In dieser Methode findet dann der Prozess statt, wo die Items verarbeitet und einer ObservableCollection&lt;T&gt; hinzugefügt werden.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:f5ee527a-8418-4b20-94b2-93417d89eae6" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 100px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #008080;">1</span> <span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> FetchItemsAsync()
</span><span style="color: #008080;">2</span> <span style="color: #000000;">{
</span><span style="color: #008080;">3</span> <span style="color: #000000;">    var items </span><span style="color: #000000;">=</span><span style="color: #000000;"> _dataLayer.Items.ToList();
</span><span style="color: #008080;">4</span> <span style="color: #000000;">    items.ForEach(i </span><span style="color: #000000;">=&gt;</span><span style="color: #000000;"> Items.Add(_aws.ItemLookup(i.ItemId)));
</span><span style="color: #008080;">5</span> <span style="color: #000000;">}</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Das geht leider nicht ohne Dispatcher, sprich wenn ich die “normale” ObservableCollection verwenden würde, müsste ich zuerst in den UI Thread gelangen, ansonsten knallt es.</p>
<p>Dazu konnte ich eine nette spezialisierte Klasse <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3N0YWNrb3ZlcmZsb3cuY29tL2EvMzkwOTUyMy8xMTkxMDk=">finden</a>, die mir diese Arbeit abnimmt.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:ead36f24-b44b-43d7-b2b5-715eb7cc5a5a" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 250px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #008080;"> 1</span> <span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> DispatchingObservableCollection</span><span style="color: #000000;">&lt;</span><span style="color: #000000;">T</span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> : ObservableCollection</span><span style="color: #000000;">&lt;</span><span style="color: #000000;">T</span><span style="color: #000000;">&gt;</span><span style="color: #000000;">
</span><span style="color: #008080;"> 2</span> <span style="color: #000000;">{
</span><span style="color: #008080;"> 3</span> <span style="color: #000000;">    </span><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">readonly</span><span style="color: #000000;"> Dispatcher _currentDispatcher;
</span><span style="color: #008080;"> 4</span> <span style="color: #000000;">
</span><span style="color: #008080;"> 5</span> <span style="color: #000000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;summary&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;"> 6</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> The default constructor of the ObservableCollection
</span><span style="color: #008080;"> 7</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;/summary&gt;</span><span style="color: #808080;">
</span><span style="color: #008080;"> 8</span> <span style="color: #808080;"></span><span style="color: #000000;">    </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> DispatchingObservableCollection()
</span><span style="color: #008080;"> 9</span> <span style="color: #000000;">    {
</span><span style="color: #008080;">10</span> <span style="color: #000000;">        </span><span style="color: #008000;">//</span><span style="color: #008000;">Assign the current Dispatcher (owner of the collection)</span><span style="color: #008000;">
</span><span style="color: #008080;">11</span> <span style="color: #008000;"></span><span style="color: #000000;">        _currentDispatcher </span><span style="color: #000000;">=</span><span style="color: #000000;"> Dispatcher.CurrentDispatcher;
</span><span style="color: #008080;">12</span> <span style="color: #000000;">    }
</span><span style="color: #008080;">13</span> <span style="color: #000000;">
</span><span style="color: #008080;">14</span> <span style="color: #000000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;summary&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;">15</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> Executes this action in the right thread
</span><span style="color: #008080;">16</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;/summary&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;">17</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #808080;">&lt;param name=&quot;action&quot;&gt;</span><span style="color: #008000;">The action which should be executed</span><span style="color: #808080;">&lt;/param&gt;</span><span style="color: #808080;">
</span><span style="color: #008080;">18</span> <span style="color: #808080;"></span><span style="color: #000000;">    </span><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> DoDispatchedAction(Action action)
</span><span style="color: #008080;">19</span> <span style="color: #000000;">    {
</span><span style="color: #008080;">20</span> <span style="color: #000000;">        </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (_currentDispatcher.CheckAccess())
</span><span style="color: #008080;">21</span> <span style="color: #000000;">            action();
</span><span style="color: #008080;">22</span> <span style="color: #000000;">        </span><span style="color: #0000FF;">else</span><span style="color: #000000;">
</span><span style="color: #008080;">23</span> <span style="color: #000000;">            _currentDispatcher.Invoke(DispatcherPriority.DataBind, action);
</span><span style="color: #008080;">24</span> <span style="color: #000000;">    }
</span><span style="color: #008080;">25</span> <span style="color: #000000;">
</span><span style="color: #008080;">26</span> <span style="color: #000000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;summary&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;">27</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> Clears all items
</span><span style="color: #008080;">28</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;/summary&gt;</span><span style="color: #808080;">
</span><span style="color: #008080;">29</span> <span style="color: #808080;"></span><span style="color: #000000;">    </span><span style="color: #0000FF;">protected</span><span style="color: #000000;"> </span><span style="color: #0000FF;">override</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> ClearItems()
</span><span style="color: #008080;">30</span> <span style="color: #000000;">    {
</span><span style="color: #008080;">31</span> <span style="color: #000000;">        DoDispatchedAction(() </span><span style="color: #000000;">=&gt;</span><span style="color: #000000;"> </span><span style="color: #0000FF;">base</span><span style="color: #000000;">.ClearItems());
</span><span style="color: #008080;">32</span> <span style="color: #000000;">    }
</span><span style="color: #008080;">33</span> <span style="color: #000000;">
</span><span style="color: #008080;">34</span> <span style="color: #000000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;summary&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;">35</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> Inserts a item at the specified index
</span><span style="color: #008080;">36</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #008000;"> </span><span style="color: #808080;">&lt;/summary&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;">37</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #808080;">&lt;param name=&quot;index&quot;&gt;</span><span style="color: #008000;">The index where the item should be inserted</span><span style="color: #808080;">&lt;/param&gt;</span><span style="color: #008000;">
</span><span style="color: #008080;">38</span> <span style="color: #008000;">    </span><span style="color: #808080;">///</span><span style="color: #808080;">&lt;param name=&quot;item&quot;&gt;</span><span style="color: #008000;">The item which should be inserted</span><span style="color: #808080;">&lt;/param&gt;</span><span style="color: #808080;">
</span><span style="color: #008080;">39</span> <span style="color: #808080;"></span><span style="color: #000000;">    </span><span style="color: #0000FF;">protected</span><span style="color: #000000;"> </span><span style="color: #0000FF;">override</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> InsertItem(</span><span style="color: #0000FF;">int</span><span style="color: #000000;"> index, T item)
</span><span style="color: #008080;">40</span> <span style="color: #000000;">    {
</span><span style="color: #008080;">41</span> <span style="color: #000000;">        DoDispatchedAction(() </span><span style="color: #000000;">=&gt;</span><span style="color: #000000;"> </span><span style="color: #0000FF;">base</span><span style="color: #000000;">.InsertItem(index, item));
</span><span style="color: #008080;">42</span> <span style="color: #000000;">    }
</span><span style="color: #008080;">43</span> <span style="color: #000000;">}</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Da die ObservableCollection das INotifyPropertyChanged Interface implementiert, brauch ich auch nicht mehr dafür Sorge tragen, dass sich bei jedem Zufügen eines Items die UI aktualisieren muss.</p>
<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6822" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>5. Mai 2010 -- <a href="http://www.biggle.de/blog/combobox-an-objectprovider-binden" title="ComboBox an ObjectDataProvider binden">ComboBox an ObjectDataProvider binden</a></li><li>22. Juli 2009 -- <a href="http://www.biggle.de/blog/cal-anwendung-in-3-minuten" title="CAL Anwendung in 3 Minuten">CAL Anwendung in 3 Minuten</a></li><li>16. Juli 2009 -- <a href="http://www.biggle.de/blog/menuitems-aus-xml-auslesen-und-binden-wpf-mvvm" title="MenuItems aus XML auslesen und binden &#8211; WPF / MVVM ">MenuItems aus XML auslesen und binden &#8211; WPF / MVVM </a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/asynchrones-befllen-einer-observablecollectiont-in-einem-viewmodel/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automatisiertes Ein- und Auschecken im Buildprozess</title>
		<link>http://www.biggle.de/blog/automatisiertes-ein-und-auschecken-im-buildprozess</link>
		<comments>http://www.biggle.de/blog/automatisiertes-ein-und-auschecken-im-buildprozess#comments</comments>
		<pubDate>Thu, 12 Jan 2012 12:36:58 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[tfs]]></category>
		<category><![CDATA[VisualStudio]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6816</guid>
		<description><![CDATA[Möchte man nach einem Build, die Assembly in ein dafür bereitgestelltes Verzeichnis kopieren, kann man das recht einfach im Prä- und Postbuild-Ereignis im Visual Studio definieren. Hat man die DLL jedoch im TFS eingecheckt, muss man vor dem Kopieren dafür Sorge tragen, dass die Datei ausgecheckt wurde, ansonsten kann die eben wegen dem Schreibschutz nicht [...]]]></description>
			<content:encoded><![CDATA[<p>Möchte man nach einem Build, die Assembly in ein dafür bereitgestelltes Verzeichnis kopieren, kann man das recht einfach im Prä- und Postbuild-Ereignis im Visual Studio definieren. Hat man die DLL jedoch im TFS eingecheckt, muss man vor dem Kopieren dafür Sorge tragen, dass die Datei ausgecheckt wurde, ansonsten kann die eben wegen dem Schreibschutz nicht überschrieben werden.</p>
<p>Unter “<em>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE</em>” findet man die tf.exe, die es einem erlaubt, den TFS über den Kommandozeileninterpreter zu verwenden. Wie man die einzelnen Parameter verwendet, findet man ganz leicht über die Hilfe (tf help [command]) heraus : )</p>
<p>Um hier aber nicht händisch vorgehen zu müssen, kann man die über folgende Einträge in den Buildereignissen diese Aufgabe automatisieren. Diese findet man in den Eigenschaften vom Projekt.</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS8yMDEyLTAxLTEyLTEzaDI2XzQ0LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2012-01-12 13h26_44" border="0" alt="2012-01-12 13h26_44" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/2012-01-12-13h26_44_thumb.png" width="504" height="375" /></a></p>
<p>Im Prä- und im Postbuildereignis, kann man Befehle verknüpft mit Makros, Pfade und Dateinamen angeben. </p>
<p>Unter dem Button Makros, findet man einige vordefinierte Makros, die man verwenden kann.</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS8yMDEyLTAxLTEyLTEzaDM1XzQ0MS5wbmc="><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2012-01-12 13h35_441" border="0" alt="2012-01-12 13h35_441" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/2012-01-12-13h35_441_thumb.png" width="504" height="330" /></a></p>
<p>Jedoch gibt es da noch einige mehr. Eine Liste verfügbarer Makros findet man in der <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21zZG4ubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5LzQyeDVrZnc0KFZTLjgwKS5hc3B4">MSDN</a>.</p>
<p>Im Präbuildereignis checken wir die entsprechende Datei aus:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:d2be0313-90ad-420f-9950-bae140cee521" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #800000;">&quot;</span><span style="color: #800000;">$(DevEnvDir)tf</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> checkout </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">$(SolutionDir)../Bin/$(TargetFileName)</span><span style="color: #800000;">&quot;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>und nach dem Erstellen, also im Postbuild kopieren wir die Datei und checken diese wieder ein. Hier kann man auch einen notwendigen Kommentar hinterlassen.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:5b41c114-ce61-437f-9cc0-e4cdafdbccd9" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 75px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">copy </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">$(TargetPath)</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">$(SolutionDir)../Bin/$(TargetFileName)</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">
</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">$(DevEnvDir)tf</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> checkin </span><span style="color: #000000;">/</span><span style="color: #000000;">noprompt </span><span style="color: #000000;">/</span><span style="color: #000000;">comment:</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">automatic build checkin</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">$(SolutionDir)../Bin/$(TargetFileName)</span><span style="color: #800000;">&quot;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Das Ganze sieht dann wie folgt aus:</p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMi8wMS8yMDEyLTAxLTEyLTEzaDMyXzI5LnBuZw=="><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2012-01-12 13h32_29" border="0" alt="2012-01-12 13h32_29" src="http://www.biggle.de/blog/wp-content/uploads/2012/01/2012-01-12-13h32_29_thumb.png" width="504" height="382" /></a></p>
<p>&#160;</p>
<p>Nach einem erfolgreichen Build, wird die Assembly nun ausgecheckt, durch den neuen Build ersetzt und wieder in den TFS eingecheckt.</p>
<p>&#160;</p>
<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6816" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>13. September 2011 -- <a href="http://www.biggle.de/blog/visual-studio-makro-fr-shoulda-methoden-erstellen" title="Visual Studio Makro f&uuml;r Shoulda Methoden erstellen">Visual Studio Makro f&uuml;r Shoulda Methoden erstellen</a></li><li>4. Juli 2011 -- <a href="http://www.biggle.de/blog/neuer-ordner-im-projekt-per-hotkey" title="Neuer Ordner im Projekt per Hotkey">Neuer Ordner im Projekt per Hotkey</a></li><li>9. Juni 2011 -- <a href="http://www.biggle.de/blog/visual-studio-2010-test-tooling" title="Visual Studio 2010 Test-Tooling">Visual Studio 2010 Test-Tooling</a></li><li>21. Mai 2011 -- <a href="http://www.biggle.de/blog/kopieren-einer-leerzeile-in-visual-studio-verhindern" title="Kopieren einer Leerzeile in Visual Studio verhindern">Kopieren einer Leerzeile in Visual Studio verhindern</a></li><li>29. November 2010 -- <a href="http://www.biggle.de/blog/ordner-oder-datei-im-explorer-offnen-shortcut" title="Ordner oder Datei im Explorer öffnen &#8211; Shortcut">Ordner oder Datei im Explorer öffnen &#8211; Shortcut</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/automatisiertes-ein-und-auschecken-im-buildprozess/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

