<?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>andreas-schlapsi.at &#187; ASP.NET MVC</title>
	<atom:link href="http://www.andreas-schlapsi.at/tag/aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreas-schlapsi.at</link>
	<description>Software-Entwicklung, .NET &#38; Co.</description>
	<lastBuildDate>Sat, 17 Sep 2011 16:28:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>ASP.NET MVC für Fortgeschrittene</title>
		<link>http://www.andreas-schlapsi.at/2010/11/07/asp-net-mvc-fur-fortgeschrittene/</link>
		<comments>http://www.andreas-schlapsi.at/2010/11/07/asp-net-mvc-fur-fortgeschrittene/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 00:02:56 +0000</pubDate>
		<dc:creator>Andreas Schlapsi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Wien]]></category>

		<guid isPermaLink="false">http://www.andreas-schlapsi.at/?p=1089</guid>
		<description><![CDATA[Nächsten Dienstag, am 9. November 2010, gibt es das nächste Open-Space-Treffen in Wien. Dieses Mal erzählt Jörg, wie man den Code in den Controllern einer ASP.NET MVC-Anwendung minimieren kann. Details dazu gibt es wie immer auf den Seiten der .NET-Community &#8220;.Net Open Space Austria&#8221; auf Ning.]]></description>
			<content:encoded><![CDATA[<p>Nächsten Dienstag, am 9. November 2010, gibt es das nächste Open-Space-Treffen in Wien. Dieses Mal erzählt Jörg, wie man den Code in den Controllern einer ASP.NET MVC-Anwendung minimieren kann. </p>
<p><a href="http://dotnetopenspace.ning.com/forum/topics/open-space-treffen-im-november">Details dazu</a> gibt es wie immer auf den <a href="http://dotnetopenspace.ning.com/">Seiten der .NET-Community &#8220;.Net Open Space Austria&#8221; auf Ning</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreas-schlapsi.at/2010/11/07/asp-net-mvc-fur-fortgeschrittene/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RenderAction und SubControllers in ASP.NET MVC</title>
		<link>http://www.andreas-schlapsi.at/2008/10/31/renderaction-und-subcontroller-in-aspnet-mvc/</link>
		<comments>http://www.andreas-schlapsi.at/2008/10/31/renderaction-und-subcontroller-in-aspnet-mvc/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 23:51:11 +0000</pubDate>
		<dc:creator>Andreas Schlapsi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[MvcContrib]]></category>

		<guid isPermaLink="false">http://www.andreas-schlapsi.at/?p=120</guid>
		<description><![CDATA[Letzte Woche habe ich mir einige Videos über ASP.NET MVC angesehen. In Folge 11 der Reihe &#8220;ASP.NET MVC Storefront&#8221; erstellt Rob Conery eine ASP.NET-MVC-Komponente. Dabei geht es darum, aus der View eine Action-Methode auf einem ComponentController aufzurufen und das Ergebnis in die View einzufügen. Mike Bosch erklärt das Konzept in einem Blogartikel. In ASP.NET MVC [...]]]></description>
			<content:encoded><![CDATA[<p>Letzte Woche habe ich mir einige <a href="http://www.asp.net/learn/mvc-videos/">Videos über ASP.NET MVC</a> angesehen. In <a href="http://www.asp.net/learn/mvc-videos/video-364.aspx">Folge 11 der Reihe &#8220;ASP.NET MVC Storefront&#8221;</a> erstellt Rob Conery eine ASP.NET-MVC-Komponente. Dabei geht es darum, aus der View eine Action-Methode auf einem ComponentController aufzurufen und das Ergebnis in die View einzufügen. Mike Bosch erklärt das Konzept in <a href="http://weblogs.asp.net/mikebosch/archive/2008/03/10/using-the-componentcontroller-in-asp-net-mvc.aspx">einem Blogartikel</a>.</p>
<p>In ASP.NET MVC Preview 4 wurden ComponentController entfernt und die Methode RenderComponent, die aus der View die Controller-Action aufgerufen hat, durch die Methode RenderAction ersetzt, die eine Action auf einem normalen MVC-Controller aufrufen kann. Da dieses Konzept dem Prinzip &#8220;<a href="http://en.wikipedia.org/wiki/Separation_of_Concerns">Separation of Concerns</a>&#8221; widerspricht, plant Microsoft, dieses Feature nicht in die RTM-Version von ASP.NET MVC aufzunehmen.</p>
<h3>ASP.NET MVC Futures</h3>
<p>Deshalb hat das ASP.NET-MVC-Team die RenderAction-Methode in die ASP.NET MVC Futures verschoben, die aus der Assembly Microsoft.Web.Mvc.dll besteht. Diese Assembly enthält Features, <a href="http://haacked.com/archive/2008/07/16/aspnetmvc-codeplex-preview4.aspx">die es nicht mehr in die RTM-Version geschafft haben</a>. Die zur Beta1-Version von ASP.NET MVC passende Release kann von <a href="http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=18459">Codeplex heruntergeladen werden</a>.</p>
<p>Um die ASP.NET MVC Futures in einem MVC-Projekt zu verwenden, referenzieren Sie die Assembly Microsoft.Web.Mvc.dll in Ihrem MVC-Projekt und fügen eine Zeile in die Web.config unter &#8220;configuration/system.web/pages/namespaces&#8221; ein:</p>
<p><a href="http://www.andreas-schlapsi.at/wp-content/uploads/2008/10/renderaction_mvcfutures_webconfig.png"><img src="http://www.andreas-schlapsi.at/wp-content/uploads/2008/10/renderaction_mvcfutures_webconfig.png" alt="Konfigurationseinstellungen um ASP.NET MVC in alle Views einzubinden" title="Konfigurationseinstellungen um ASP.NET MVC in alle Views einzubinden" width="455" height="287" class="size-full wp-image-185" /></a></p>
<p>Damit wird der Namespace &#8220;Microsoft.Web.Mvc&#8221; in alle Views automatisch eingebunden.</p>
<h3>SubControllers aus dem Projekt MvcContrib</h3>
<p>SubControllers erfüllen einen ähnlichen Zweck wie Components oder RenderAction. In einem <a href="http://mhinze.com/subcontrollers-in-aspnet-mvc/">Blogeintrag</a> hat <a href="http://mhinze.com/">Matt Hinze</a> dieses Feature aus dem <a href="http://mvccontrib.org">MvcContrib-Projekt</a> vorgestellt. SubController-Actions können als Delegate in die View-Daten eingebracht werden. Die Views können dann diese Delegates aufrufen und die mit der jeweiligen Subcontroller-Action verbundenen View rendern lassen.</p>
<p>Der Host-Controller kann Objekte an einen SubController übergeben. Dieses Feature beschreibt Matt Hinze <a href="http://mhinze.com/passing-objects-to-subcontrollers/">in einem weiteren Blogeintrag</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreas-schlapsi.at/2008/10/31/renderaction-und-subcontroller-in-aspnet-mvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC auf Mono</title>
		<link>http://www.andreas-schlapsi.at/2008/03/16/aspnet-mvc-auf-mono/</link>
		<comments>http://www.andreas-schlapsi.at/2008/03/16/aspnet-mvc-auf-mono/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 16:29:19 +0000</pubDate>
		<dc:creator>Andreas Schlapsi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Mono]]></category>

		<guid isPermaLink="false">http://www.andreas-schlapsi.at/2008/03/16/aspnet-mvc-auf-mono/</guid>
		<description><![CDATA[Ich hab hier einen interessanten Link gefunden: How to Run ASP.Net MVC on Mono. Wenn ich mal Zeit habe, werde ich das mal ausprobieren.]]></description>
			<content:encoded><![CDATA[<p>Ich hab hier einen interessanten Link gefunden: <a href="http://nickandgrace.com/code/archive/2008/03/12/how-to-run-asp.net-mvc-on-mono.aspx">How to Run ASP.Net MVC on Mono</a>. Wenn ich mal Zeit habe, werde ich das mal ausprobieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreas-schlapsi.at/2008/03/16/aspnet-mvc-auf-mono/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links zu ASP.NET MVC</title>
		<link>http://www.andreas-schlapsi.at/2008/02/04/links-zu-aspnet-mvc/</link>
		<comments>http://www.andreas-schlapsi.at/2008/02/04/links-zu-aspnet-mvc/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 22:14:20 +0000</pubDate>
		<dc:creator>Andreas Schlapsi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://www.andreas-schlapsi.at/2008/02/04/links-zu-aspnet-mvc/</guid>
		<description><![CDATA[Am Wochenende hatte ich ein wenig Zeit, um mich mal mit ASP.NET&#160;MVC zu beschäftigen. Wer noch nicht weiß, was ASP.NET&#160;MVC ist, kann sich in einem Blogartikel von Scott Guthrie informieren. Ein Vorteil von ASP.NET&#160;MVC ist die klare Trennung der Präsentations-, Geschäfts- und Datenzugriffslogik, wodurch sich Unit-Tests einfacher entwickeln lassen. Web-Forms klassischer ASP.NET-Applikation sind ja nicht [...]]]></description>
			<content:encoded><![CDATA[<p>
Am Wochenende hatte ich ein wenig Zeit, um mich mal mit ASP.NET&nbsp;MVC zu beschäftigen. Wer noch nicht weiß, was ASP.NET&nbsp;MVC ist, kann sich in einem <a href="http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx">Blogartikel von Scott Guthrie</a> informieren. Ein Vorteil von ASP.NET&nbsp;MVC ist die klare Trennung der Präsentations-, Geschäfts- und Datenzugriffslogik, wodurch sich Unit-Tests einfacher entwickeln lassen. Web-Forms klassischer ASP.NET-Applikation sind ja nicht so einfach testbar.
</p>
<p>
ASP.NET&nbsp;MVC ist Teil der Microsoft&nbsp;ASP.NET Extensions 3.5 Preview, die <a href="http://asp.net/downloads/3.5-extensions/">hier</a> heruntergeladen werden kann. Technische Dokumentation gibt&#8217;s <a href="http://quickstarts.asp.net/3-5-extensions/mvc/default.aspx">hier</a> und wer Unterstützung braucht, findet sie im <a href="http://forums.asp.net/1146.aspx">ASP.NET&nbsp;MVC-Forum</a>.
</p>
<p>
Alle, die Visual&nbsp;Web&nbsp;Developer&nbsp;2008&nbsp;Express&nbsp;Edition verwenden, finden <a href="http://geekswithblogs.net/jwhitehorn/archive/2007/12/10/117569.aspx">hier</a> eine Schablone für ASP.NET&nbsp;MVC&nbsp;Web&nbsp;Sites.
</p>
<p>
Bei meinen ersten Experimenten mit ASP.NET&nbsp;MVC ist besonders die Artikelreihe von <a href="http://weblogs.asp.net/scottgu/default.aspx">Scott Guthrie</a> hilfreich:
</p>
<ul>
<li><a href="http://weblogs.asp.net/scottgu/archive/2007/11/13/asp-net-mvc-framework-part-1.aspx">ASP.NET&nbsp;MVC&nbsp;Framework (Part 1): Building an MVC Application</a></li>
<li><a href="http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx">ASP.NET&nbsp;MVC&nbsp;Framework (Part 2): URL Routing</a></li>
<li><a href="http://weblogs.asp.net/scottgu/archive/2007/12/06/asp-net-mvc-framework-part-3-passing-viewdata-from-controllers-to-views.aspx">ASP.NET&nbsp;MVC&nbsp;Framework (Part 3): Passing ViewData from Controllers to Views</a></li>
<li><a href="http://weblogs.asp.net/scottgu/archive/2007/12/09/asp-net-mvc-framework-part-4-handling-form-edit-and-post-scenarios.aspx">ASP.NET&nbsp;MVC&nbsp;Framework (Part 4): Handling Form Edit and Post Scenarios</a></li>
</ul>
<p>
Einige Blogartikel beschäftigen sich bereits damit, wie man AJAX-Applikationen mit ASP.NET&nbsp;MVC entwickeln kann:
</p>
<ul>
<li><a href="http://www.nikhilk.net/Ajax-MVC.aspx">Ajax with the ASP.NET&nbsp;MVC&nbsp;Framework</a></li>
<li><a href="http://blogs.msdn.com/simonince/archive/2008/01/23/ajax-support-in-the-asp-net-mvc-framework.aspx">AJAX support in the ASP.NET&nbsp;MVC&nbsp;Framework</a></li>
<li><a href="http://blogs.msdn.com/simonince/archive/2008/01/28/to-ajax-or-not-to-ajax-rendering-in-asp-net-mvc.aspx">To AJAX, or not to AJAX &#8211; rendering in ASP.NET&nbsp;MVC</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.andreas-schlapsi.at/2008/02/04/links-zu-aspnet-mvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Model-View-Controller und ASP.NET</title>
		<link>http://www.andreas-schlapsi.at/2007/10/23/model-view-controller-und-aspnet/</link>
		<comments>http://www.andreas-schlapsi.at/2007/10/23/model-view-controller-und-aspnet/#comments</comments>
		<pubDate>Tue, 23 Oct 2007 21:36:40 +0000</pubDate>
		<dc:creator>Andreas Schlapsi</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://www.andreas-schlapsi.at/2007/10/23/model-view-controller-und-aspnet/</guid>
		<description><![CDATA[Scott Guthrie hat auf seinem Blog interessante Neuigkeiten: Eine Public Preview des ASP.NET MVC Frameworks wird noch dieses Jahr erscheinen. Nächstes Jahr wird ASP.NET MVC ein offizielles ASP.NET-Feature. Scott Hanselmann hat Videos von den Präsentationen auf der ALT.NET-Konferenz veröffentlicht.]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblogs.asp.net/scottgu/default.aspx">Scott Guthrie</a> hat auf seinem Blog <a href="http://weblogs.asp.net/scottgu/archive/2007/10/14/asp-net-mvc-framework.aspx">interessante Neuigkeiten</a>: Eine Public Preview des ASP.NET MVC Frameworks wird noch dieses Jahr erscheinen. Nächstes Jahr wird ASP.NET MVC ein offizielles ASP.NET-Feature. <a href="http://www.hanselman.com/blog/">Scott Hanselmann</a> hat <a href="http://www.hanselman.com/blog/ScottGuMVCPresentationAndScottHaScreencastFromALTNETConference.aspx">Videos von den Präsentationen</a> auf der ALT.NET-Konferenz veröffentlicht.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreas-schlapsi.at/2007/10/23/model-view-controller-und-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

