<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: HowTo: Basics of ASP.NET MVC or why MVC?</title>
	<atom:link href="http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/</link>
	<description>Blogging about ASP.NET, .NET &#38; C#</description>
	<lastBuildDate>Sun, 29 Jan 2012 02:42:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Fresh Links November 26th, 2008 &#124; Server-Side Magazine</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-21409</link>
		<dc:creator>Fresh Links November 26th, 2008 &#124; Server-Side Magazine</dc:creator>
		<pubDate>Tue, 08 Mar 2011 23:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-21409</guid>
		<description>[...] HowTo: Basics of ASP.NET MVC or why MVC? [...]</description>
		<content:encoded><![CDATA[<p>[...] HowTo: Basics of ASP.NET MVC or why MVC? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Muehsig</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-2999</link>
		<dc:creator>Robert Muehsig</dc:creator>
		<pubDate>Sat, 20 Dec 2008 11:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-2999</guid>
		<description>You are right - the controller should be very light weight. But the word &quot;model&quot; is a bit unspecific. Model is for me only simple classes that contain your application objects, e.g. :

public class User
{
 public string Name { get; set; }
}

I have 4 C# projects in my solution:
MyProject.Data for data access
MyProject.Services for business logic
MyProject.WebApp the MVC Website 
MyProject.Model for my simple application classes like the user class

The last project contains no business logic - and in the MVC &quot;Model&quot; folder is nothing. The whole business logic is inside the services layer. ThatÂ´s why I said, that in the model is no business logic.

See at Rob Conerys MVCStorefront project - itÂ´s much like that :)</description>
		<content:encoded><![CDATA[<p>You are right &#8211; the controller should be very light weight. But the word &#8220;model&#8221; is a bit unspecific. Model is for me only simple classes that contain your application objects, e.g. :</p>
<p>public class User<br />
{<br />
 public string Name { get; set; }<br />
}</p>
<p>I have 4 C# projects in my solution:<br />
MyProject.Data for data access<br />
MyProject.Services for business logic<br />
MyProject.WebApp the MVC Website<br />
MyProject.Model for my simple application classes like the user class</p>
<p>The last project contains no business logic &#8211; and in the MVC &#8220;Model&#8221; folder is nothing. The whole business logic is inside the services layer. ThatÂ´s why I said, that in the model is no business logic.</p>
<p>See at Rob Conerys MVCStorefront project &#8211; itÂ´s much like that <img src='http://code-inside.de/blog-in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-2992</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 20 Dec 2008 04:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-2992</guid>
		<description>Umm, from what I&#039;ve read the business logic should all be in the model (which could infact be a web service and not necessarily a just a database). For example, the ASP.NET MVC screencasts at http://www.asp.net/mvc/ and Rob Conery&#039;s storefront all state that the controllers should be kept lightweight and really are there just for flow control. Apparently they should contain logic for directing between views and little more. Conversly, the model should contain the domain logic, constraints, data access and everything else because it is easy to test and easy to reuse (with other front ends).
Can you explain why you said in your post that the model should contain no(!) business logic?</description>
		<content:encoded><![CDATA[<p>Umm, from what I&#8217;ve read the business logic should all be in the model (which could infact be a web service and not necessarily a just a database). For example, the ASP.NET MVC screencasts at <a href="http://www.asp.net/mvc/" rel="nofollow">http://www.asp.net/mvc/</a> and Rob Conery&#8217;s storefront all state that the controllers should be kept lightweight and really are there just for flow control. Apparently they should contain logic for directing between views and little more. Conversly, the model should contain the domain logic, constraints, data access and everything else because it is easy to test and easy to reuse (with other front ends).<br />
Can you explain why you said in your post that the model should contain no(!) business logic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Interesting Finds: 2008.11.31 - gOODiDEA.NET</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-2717</link>
		<dc:creator>Interesting Finds: 2008.11.31 - gOODiDEA.NET</dc:creator>
		<pubDate>Mon, 01 Dec 2008 05:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-2717</guid>
		<description>[...] HowTo: Basics of ASP.NET MVC or why MVC? - HowTo: First steps with ASP.NET MVC [...]</description>
		<content:encoded><![CDATA[<p>[...] HowTo: Basics of ASP.NET MVC or why MVC? &#8211; HowTo: First steps with ASP.NET MVC [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fresh Links November 26th, 2008 &#124; News &#124; Server-Side Magazine</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-2640</link>
		<dc:creator>Fresh Links November 26th, 2008 &#124; News &#124; Server-Side Magazine</dc:creator>
		<pubDate>Wed, 26 Nov 2008 07:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-2640</guid>
		<description>[...] HowTo: Basics of ASP.NET MVC or why MVC? [...]</description>
		<content:encoded><![CDATA[<p>[...] HowTo: Basics of ASP.NET MVC or why MVC? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HowTo: First steps with ASP.NET MVC &#124; Code-Inside Blog International</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-2622</link>
		<dc:creator>HowTo: First steps with ASP.NET MVC &#124; Code-Inside Blog International</dc:creator>
		<pubDate>Tue, 25 Nov 2008 22:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-2622</guid>
		<description>[...] my last post I wrote about why you should take a look at ASP.NET MVC. With this blogpost I want to go a little [...]</description>
		<content:encoded><![CDATA[<p>[...] my last post I wrote about why you should take a look at ASP.NET MVC. With this blogpost I want to go a little [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop - November 25, 2008 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/comment-page-1/#comment-2620</link>
		<dc:creator>Dew Drop - November 25, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Tue, 25 Nov 2008 16:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://code-inside.de/blog-in/2008/11/25/howto-basics-of-aspnet-mvc-or-why-mvc/#comment-2620</guid>
		<description>[...] HowTo: Basics of ASP.NET MVC or Why MVC? (Robert Muehsig) [...]</description>
		<content:encoded><![CDATA[<p>[...] HowTo: Basics of ASP.NET MVC or Why MVC? (Robert Muehsig) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

