﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>JonW commented on Porting MVC Music Store to Raven: StoreManagerController</title><description>Keep up the good work!  :-)
  
  
Here's a tip for strongly typed Includes:
  
[blogs.msdn.com/.../...ment-include-strategies.aspx](http://blogs.msdn.com/b/alexj/archive/2009/07/25/tip-28-how-to-implement-include-strategies.aspx)  
  
</description><link>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment6</link><guid>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment6</guid><pubDate>Thu, 03 Jun 2010 08:50:32 GMT</pubDate></item><item><title>Ayende Rahien commented on Porting MVC Music Store to Raven: StoreManagerController</title><description>Paul,
  
Probably, but I don't like error handling like that.
  
Either it should catch ValidationException or it should use TryUpdateModel
</description><link>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment5</link><guid>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment5</guid><pubDate>Sun, 30 May 2010 07:18:53 GMT</pubDate></item><item><title>Paul Cox commented on Porting MVC Music Store to Raven: StoreManagerController</title><description>But UpdateModel will place the validation errors in ModelState before throwing an exception. Therefore catching the error and redisplaying the view will display those errors to the user. Won't the new code go to the generic error page as written?
</description><link>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment4</link><guid>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment4</guid><pubDate>Sat, 29 May 2010 21:14:49 GMT</pubDate></item><item><title>Ayende Rahien commented on Porting MVC Music Store to Raven: StoreManagerController</title><description>Paul,
  
No, I am not. try {} catch{} is evil, errors should be handled, not swept under the rug.
</description><link>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment3</link><guid>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment3</guid><pubDate>Sat, 29 May 2010 20:50:38 GMT</pubDate></item><item><title>Paul Cox commented on Porting MVC Music Store to Raven: StoreManagerController</title><description>Are you handling form validation errors somewhere else now that you no longer catch any exceptions from UpdateModel?
</description><link>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment2</link><guid>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment2</guid><pubDate>Sat, 29 May 2010 18:38:12 GMT</pubDate></item><item><title>Rafal commented on Porting MVC Music Store to Raven: StoreManagerController</title><description>Deleting orders together with album is not a RDBMS limitation but a design flaw (at least for an order processing software)
</description><link>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment1</link><guid>http://ayende.com/4529/porting-mvc-music-store-to-raven-storemanagercontroller#comment1</guid><pubDate>Sat, 29 May 2010 18:31:57 GMT</pubDate></item></channel></rss>