<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>
			Comments at DigitallyCreated Blog (for blogs tagged: &quot;ASP.NET MVC&quot;)
		</title>
		<link>http://www.digitallycreated.net/Blog/Tags/ASP.NET%20MVC/CommentRss</link>
		<atom:link href="http://www.digitallycreated.net/Blog/Tags/ASP.NET%20MVC/CommentRss" rel="self" type="application/rss+xml" />
		<description>
			A feed of all comments that are posted on any blog at DigitallyCreated that is tagged with &quot;ASP.NET MVC&quot;.
		</description>
		<lastBuildDate>Sun, 05 Feb 2012 13:28:34 GMT</lastBuildDate>
		
		
			<item>
				<title>Robert Whane commented on &quot;ASP.NET MVC Compared to JSF&quot;</title>
				<link>http://www.digitallycreated.net/Blog/41/asp.net-mvc-compared-to-jsf#Comment58</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 58</guid>
				<dc:creator>Robert Whane</dc:creator>
				<pubDate>Mon, 17 Oct 2011 17:43:58 GMT</pubDate>
				<description>
					Hi, interesting to read your comparison. There are a few things not entirely correct, let me explain:&lt;br/&gt;&lt;br/&gt;&amp;gt;All of this goes into the one XML file.&lt;br/&gt;&lt;br/&gt;This is not true and never had been true. From the beginning one could use the javax.faces.CONFIG_FILES parameter to specify multiple different files. You could have one xml for your managed beans, one for your navigation rules etc.&lt;br/&gt;&lt;br/&gt;In JSF 2.x the faces-config.xml files are largely redundant. In JSF 2.1 (current version) there isn't any kind of XML configuration file required if you are satisfied with the defaults (not even web.xml). See e.g. &lt;a href=&quot;http://jdevelopment.nl/minimal-3tier-java-ee-app-xml-config/&quot;&gt;http://jdevelopment.nl/minimal-3tier-java-ee-app-xml-config/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Validators, managed beans, and a lot more are now recommended to be declared using a simple annotation (metadata) on the class in question. Navigation can make use of implicit rules, which means you don't define any rule but use the page (view) name directly.&lt;br/&gt;&lt;br/&gt;&amp;gt;JSF is a POST-&amp;gt;Redirect, GET-&amp;gt;Response.&lt;br/&gt;&lt;br/&gt;Well, there always has been the h:outputLink, and you could of course use the plain html a href. The downside of these were that you had to specify the full URL. In JSF 2.0 there's the h:link and h:button that support GET based navigation. There's also first-class support available to process GET based requests.&lt;br/&gt;&lt;br/&gt;&amp;gt;No Page Templating Support&lt;br/&gt;&lt;br/&gt;Also not entirely true. Facelets solves this and has been doing it for quite some time. Three years prior to writing your article, this one appeared: &lt;a href=&quot;http://www.ibm.com/developerworks/java/library/j-facelets/&quot;&gt;http://www.ibm.com/developerworks/java/library/j-facelets/&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;It was a separate download back then, but there was very little reason not to use it. Nowadays in JSF 2.0 JSP has been completely deprecated and Facelets is the default templating language.&lt;br/&gt;&lt;br/&gt;&amp;gt;In JSF, it is awkward and difficult to communicate data between pages.&lt;br/&gt;&lt;br/&gt;For communication between requests to the same page, there is now the view scope. For communication between different pages there are various tools, like The Flash (inspired by RoR, like TempData), GET requests and because JSF can easily piggyback on CDI (new in Java EE 6), the conversation scope. Various extension projects (Seam 3, Apache CODI) allow you to very easily add additional scopes for communication between pages.&lt;br/&gt;&lt;br/&gt;&amp;gt;JSF doesn't really support URL query string parameters (since every link is a POST)&lt;br/&gt;&lt;br/&gt;As explained above, you could always use plain links or output links. The GET support in JSF 2.0 has first class support for query parameters and the redirect mechanism also allows one to use query parameters.&lt;br/&gt;&lt;br/&gt;Please see the updated version of the page you linked wrt communication between beans: &lt;a href=&quot;http://balusc.blogspot.com/2011/09/communication-in-jsf-20.html&quot;&gt;http://balusc.blogspot.com/2011/09/communication-in-jsf-20.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&amp;gt;JSF doesn't come with any of this stuff [AJAX/JS]ready and out of the box and due to its awkward page navigation system, makes it difficult to incorporate one of the existing technologies into it.&lt;br/&gt;&lt;br/&gt;Again not entirely true. Among others the a4j (ajax4jsf) library demonstrated very early on how AJAX could be used with JSF. This was actually quite easy. You just put the a4j:ajax tag around any existing non-ajax-aware component and it was ajaxified. This approach has been incorporated into the JSF standard in 2.0.&lt;br/&gt;&lt;br/&gt;You could also always use javascript on your JSF views. There was no specific restriction that prevented this.&lt;br/&gt;&lt;br/&gt;Hope this helped to clear up things a little ;)&lt;br/&gt;
				</description>
			</item>
		
		
			<item>
				<title>voidlogic commented on &quot;ASP.NET MVC Compared to JSF&quot;</title>
				<link>http://www.digitallycreated.net/Blog/41/asp.net-mvc-compared-to-jsf#Comment47</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 47</guid>
				<dc:creator>voidlogic</dc:creator>
				<pubDate>Thu, 04 Aug 2011 22:29:26 GMT</pubDate>
				<description>
					&amp;gt;&amp;gt;Faces-Config.xml&lt;br/&gt;&lt;br/&gt;IDE's like Netbeans but a GUI front end on this. Also, as of JSF 2.0 a lot of this can be done with annotations.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt;No Page Templating Support&lt;br/&gt;&lt;br/&gt;JSF has the &amp;lt;include that can be used to add your common headers, footers and navigation columns... If you are copy and pasting you are not using this directive right.&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt;Awkward Communication Between Pages and Between Objects&lt;br/&gt;&lt;br/&gt;This is just wrong. I have a very small facesLibrary class I wrote and use on every project that lets me access parameters and beans with nothing more than a getParam(&amp;quot;Param Name&amp;quot;);&lt;br/&gt;&lt;br/&gt;&amp;gt;&amp;gt; Visual Studio&lt;br/&gt;&lt;br/&gt;Its no Netbeans.... :(&lt;br/&gt;&lt;br/&gt; 
				</description>
			</item>
		
		
			<item>
				<title>Unknown (google) commented on &quot;ASP.NET MVC Compared to JSF&quot;</title>
				<link>http://www.digitallycreated.net/Blog/41/asp.net-mvc-compared-to-jsf#Comment40</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 40</guid>
				<dc:creator>Unknown (google)</dc:creator>
				<pubDate>Mon, 11 Jul 2011 11:17:03 GMT</pubDate>
				<description>
					Hi,&lt;br/&gt;&lt;br/&gt;Its been a very nice article comparing the 2 technologies based on logic and features.As JSF 2.0 is released now. Do you still believe asp.net mvc is better than jsf 2.0. If yes than pls. comment why?
				</description>
			</item>
		
		
			<item>
				<title>Source Code commented on &quot;Deep Inside ASP.NET MVC 2 Model Metadata and Validation&quot;</title>
				<link>http://www.digitallycreated.net/Blog/54/deep-inside-asp.net-mvc-2-model-metadata-and-validation#Comment39</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 39</guid>
				<dc:creator>Source Code</dc:creator>
				<pubDate>Fri, 08 Jul 2011 18:45:10 GMT</pubDate>
				<description>
					I have a question, When I apply a validation attribute (which is having associated validator to it) twice on a property,  for eg I have number1 which should be lesser than number2 and number3. so I apply something like below.&lt;br/&gt;[LessThan(&amp;quot;Number2&amp;quot;,ErrorMessage=)]&lt;br/&gt;[LessThan(&amp;quot;Number3&amp;quot;,ErrorMessage=)]&lt;br/&gt;public int Number1&lt;br/&gt;&lt;br/&gt;problem here is when it evaluates Number1 &amp;lt; Number3 to true, then it is not checking for Number1 &amp;lt;Number2, it assumes that validation for the whole field is passed. How can we ensure, we go through each validation (attribute rule) and make sure the correct Validation error is returned. 
				</description>
			</item>
		
		
			<item>
				<title>Arnab commented on &quot;Getting the Correct HTTP Status Codes out of ASP.NET Custom Error Pages&quot;</title>
				<link>http://www.digitallycreated.net/Blog/57/getting-the-correct-http-status-codes-out-of-asp.net-custom-error-pages#Comment27</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 27</guid>
				<dc:creator>Arnab</dc:creator>
				<pubDate>Mon, 10 Jan 2011 08:39:07 GMT</pubDate>
				<description>
					y, I was wrong, I don't need to do anything special.&lt;br/&gt;&lt;br/&gt;
				</description>
			</item>
		
		
			<item>
				<title>Daniel Chambers commented on &quot;Getting the Correct HTTP Status Codes out of ASP.NET Custom Error Pages&quot;</title>
				<link>http://www.digitallycreated.net/Blog/57/getting-the-correct-http-status-codes-out-of-asp.net-custom-error-pages#Comment26</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 26</guid>
				<dc:creator>Daniel Chambers</dc:creator>
				<pubDate>Sun, 09 Jan 2011 12:04:43 GMT</pubDate>
				<description>
					I'm not exactly sure what you're getting at Arnab, but no, you don't need to do anything special with your controllers. &lt;br/&gt;The ErrorController obviously has a public default constructor so that it can be easily newed up in the error handling code, but you don't have to do that... you could just as easily ask a dependency injection container to give you a new instance of the ErrorController, or hard code something there.
				</description>
			</item>
		
		
			<item>
				<title>Arnab commented on &quot;Getting the Correct HTTP Status Codes out of ASP.NET Custom Error Pages&quot;</title>
				<link>http://www.digitallycreated.net/Blog/57/getting-the-correct-http-status-codes-out-of-asp.net-custom-error-pages#Comment25</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 25</guid>
				<dc:creator>Arnab</dc:creator>
				<pubDate>Sun, 09 Jan 2011 08:59:41 GMT</pubDate>
				<description>
					But this would mean that all controllers need to have a public initializer, am I rt?&lt;br/&gt;&lt;br/&gt;controller.Execute(new RequestContext(new HttpContextWrapper(Context), routeData));&lt;br/&gt;&lt;br/&gt; 
				</description>
			</item>
		
		
			<item>
				<title>Daniel Chambers commented on &quot;Deep Inside ASP.NET MVC 2 Model Metadata and Validation&quot;</title>
				<link>http://www.digitallycreated.net/Blog/54/deep-inside-asp.net-mvc-2-model-metadata-and-validation#Comment19</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 19</guid>
				<dc:creator>Daniel Chambers</dc:creator>
				<pubDate>Mon, 15 Nov 2010 15:42:59 GMT</pubDate>
				<description>
					Thanks for clearing that one up Brad. :)
				</description>
			</item>
		
		
			<item>
				<title>Brad Wilson commented on &quot;Deep Inside ASP.NET MVC 2 Model Metadata and Validation&quot;</title>
				<link>http://www.digitallycreated.net/Blog/54/deep-inside-asp.net-mvc-2-model-metadata-and-validation#Comment18</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 18</guid>
				<dc:creator>Brad Wilson</dc:creator>
				<pubDate>Mon, 15 Nov 2010 12:17:47 GMT</pubDate>
				<description>
					Regarding your peanut gallery comment:&lt;br/&gt;&lt;br/&gt;Our validation system is designed to be very specific to MVC. The ControllerContext is present so that a validation library could be developed which used ambient information about the request in progress to make decisions about how validation will proceed. The fact that we don't currently use that information ourselves is irrelevant, as this is an extensibility point in the system that's designed to be consumed by others.&lt;br/&gt;&lt;br/&gt;If you are limiting yourself to DataAnnotations attributes and you want to consume them yourself from the business layer, I would suggest you use the DataAnnotations APIs yourself. In particular, you are looking for the static Validator class in System.ComponentModel.DataAnnotations.dll in .NET 4.
				</description>
			</item>
		
		
			<item>
				<title>Thanigainathan commented on &quot;Deep Inside ASP.NET MVC 2 Model Metadata and Validation&quot;</title>
				<link>http://www.digitallycreated.net/Blog/54/deep-inside-asp.net-mvc-2-model-metadata-and-validation#Comment15</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 15</guid>
				<dc:creator>Thanigainathan</dc:creator>
				<pubDate>Sun, 23 May 2010 16:55:07 GMT</pubDate>
				<description>
					Hi,&lt;br/&gt;&lt;br/&gt;Your article is really very good. But its really surprising why Microsoft doesn't provide any documents on inner workings of MVC framework. Is that because its maintained in Codeplex ?&lt;br/&gt;&lt;br/&gt;Please write a book on MVC which will be helpful for us .&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;Thani
				</description>
			</item>
		
		
			<item>
				<title>Troy Cox commented on &quot;Deep Inside ASP.NET MVC 2 Model Metadata and Validation&quot;</title>
				<link>http://www.digitallycreated.net/Blog/54/deep-inside-asp.net-mvc-2-model-metadata-and-validation#Comment11</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 11</guid>
				<dc:creator>Troy Cox</dc:creator>
				<pubDate>Mon, 10 May 2010 00:17:37 GMT</pubDate>
				<description>
					Nice post.&lt;br/&gt;&lt;br/&gt;@ERolnkcki, I don't, for one, like my business models ever making it to the UI. I use view models. My view models use the validation.&lt;br/&gt;&lt;br/&gt;--by the way Readability fixes your site so I can read it.
				</description>
			</item>
		
		
			<item>
				<title>E Rolnicki commented on &quot;Deep Inside ASP.NET MVC 2 Model Metadata and Validation&quot;</title>
				<link>http://www.digitallycreated.net/Blog/54/deep-inside-asp.net-mvc-2-model-metadata-and-validation#Comment8</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 8</guid>
				<dc:creator>E Rolnicki</dc:creator>
				<pubDate>Thu, 06 May 2010 13:17:38 GMT</pubDate>
				<description>
					good post.  since you are validating your model in the business layer (as you should), just override the default model binder's OnModelUpdated to remove the validation on binding.
				</description>
			</item>
		
		
			<item>
				<title>Snoopy commented on &quot;DigitallyCreated v4.0 Launched&quot;</title>
				<link>http://www.digitallycreated.net/Blog/50/digitallycreated-v4.0-launched#Comment4</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 4</guid>
				<dc:creator>Snoopy</dc:creator>
				<pubDate>Thu, 18 Feb 2010 15:36:37 GMT</pubDate>
				<description>
					Very green indeed. :)&lt;br/&gt;No really, job well done!!&lt;br/&gt;Any employer would be lucky to have you.
				</description>
			</item>
		
		
			<item>
				<title>Daniel Chambers commented on &quot;DigitallyCreated v4.0 Launched&quot;</title>
				<link>http://www.digitallycreated.net/Blog/50/digitallycreated-v4.0-launched#Comment3</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 3</guid>
				<dc:creator>Daniel Chambers</dc:creator>
				<pubDate>Mon, 15 Feb 2010 19:09:08 GMT</pubDate>
				<description>
					@Brent: Haha, being an Xbox fanboy is not something I can be accused of... I don't even own one; I'm a PC gamer through and through, a byproduct of the fact that I like FPSs and FPSs suck on consoles. Though, if I had to choose a console, it would be a 360! The Wii just feels pointless and stupid to me (or more accurately, I feel stupid using it; if I want to play tennis or bowl, I'll just go do that), and the PS3 is from Sony, who hold their customers in contempt.&lt;br/&gt;&lt;br/&gt;@LuckySword: See whether DigitallyCreated Utilities (&lt;a href=&quot;http://dcutilities.codeplex.com&quot;&gt;http://dcutilities.codeplex.com&lt;/a&gt;) has anything that can help you with those sites. Over the next few weeks I'm going to work on getting a public release of that out with real doco, so for now, look in the repo.
				</description>
			</item>
		
		
			<item>
				<title>Brent commented on &quot;DigitallyCreated v4.0 Launched&quot;</title>
				<link>http://www.digitallycreated.net/Blog/50/digitallycreated-v4.0-launched#Comment2</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 2</guid>
				<dc:creator>Brent</dc:creator>
				<pubDate>Mon, 15 Feb 2010 13:17:54 GMT</pubDate>
				<description>
					Nice work.. Looks awesome even if the green make you look like an XBox fan..
				</description>
			</item>
		
		
			<item>
				<title>Dwain Bunker commented on &quot;DigitallyCreated v4.0 Launched&quot;</title>
				<link>http://www.digitallycreated.net/Blog/50/digitallycreated-v4.0-launched#Comment1</link>
				<guid isPermaLink="false">DigitallyCreated Comment ID: 1</guid>
				<dc:creator>Dwain Bunker</dc:creator>
				<pubDate>Sun, 14 Feb 2010 22:29:14 GMT</pubDate>
				<description>
					Awesome, dude. I'm going to re-write my blog too aswell as proxiteam.net. Going to take some lessons from your blog. :D Congratulations on going live :)
				</description>
			</item>
		
		
		
	</channel>
</rss>

