<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-484603982297434662.post3463586476118261438..comments</id><updated>2008-11-03T14:11:38.977Z</updated><category term='Weekly roundup'/><category term='Unit testing'/><category term='LINQ'/><category term='SmartBag'/><category term='Architecture'/><category term='REST'/><category term='Open Rasta'/><category term='Rails'/><category term='Replication'/><category term='Build'/><category term='Gotchas'/><category term='Refactoring'/><category term='ASP.NET MVC'/><category term='Quality'/><category term='Community'/><category term='RSpec'/><category term='Functional'/><category term='Ruby'/><category term='BDD'/><category term='MbUnit'/><category term='NHibernate'/><category term='BDD from scratch'/><category term='Ubuntu'/><category term='Rant'/><category term='Mentoring'/><category term='notttuesday'/><category term='Extension methods'/><title type='text'>Comments on Robust Software: ASP.NET MVC: Strongly typing form methods with inp...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.robustsoftware.co.uk/feeds/3463586476118261438/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html'/><author><name>Garry Shutler</name><uri>http://www.blogger.com/profile/02687238400432537215</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_GAonj6z3iqg/R59tOnxMzQI/AAAAAAAAAAM/7jnUhXWU7BQ/S220/smallred.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-6374236400314960404</id><published>2008-11-03T14:11:00.000Z</published><updated>2008-11-03T14:11:00.000Z</updated><title type='text'>Your blog is very nice...&lt;br&gt;visit my blog &lt;a href...</title><content type='html'>Your blog is very nice...&lt;BR/&gt;visit my blog &lt;A HREF="http://asp-net-example.blogspot.com" REL="nofollow"&gt;asp.net example&lt;/A&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/6374236400314960404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/6374236400314960404'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1225721460000#c6374236400314960404' title=''/><author><name>Rem</name><uri>http://www.blogger.com/profile/16938645337644875643</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/_P3ZJmNYimyo/SPRyey-2OzI/AAAAAAAAAJ0/TKzgrAujsnU/S220/asp.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1956279970'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-1380638123148015782</id><published>2008-08-16T06:59:00.000+01:00</published><updated>2008-08-16T06:59:00.000+01:00</updated><title type='text'>this is very helpful and attractive biog.&lt;br&gt;visit...</title><content type='html'>this is very helpful and attractive biog.&lt;BR/&gt;visit for asp.net help &lt;A HREF="http://asp-net-help.blogspot.com/" REL="nofollow"&gt;asp.net help&lt;/A&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/1380638123148015782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/1380638123148015782'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1218866340000#c1380638123148015782' title=''/><author><name>Mokul</name><uri>http://www.blogger.com/profile/06240144512635932427</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1593624462'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-4855597819084054625</id><published>2008-07-25T17:46:00.000+01:00</published><updated>2008-07-25T17:46:00.000+01:00</updated><title type='text'>You'd have to use a mocking framework such as Rhin...</title><content type='html'>You'd have to use a mocking framework such as RhinoMocks or Moq to create a mock controller context. Then you can replace the Form object with a regular NameValueCollection that you have control of (give or take mocking out a few other parts of the context).&lt;BR/&gt;&lt;BR/&gt;It's not that simple I'm afraid.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/4855597819084054625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/4855597819084054625'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1217004360000#c4855597819084054625' title=''/><author><name>Garry Shutler</name><uri>http://www.blogger.com/profile/02687238400432537215</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_GAonj6z3iqg/R59tOnxMzQI/AAAAAAAAAAM/7jnUhXWU7BQ/S220/smallred.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2124490724'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-5136899136499472732</id><published>2008-07-25T17:11:00.000+01:00</published><updated>2008-07-25T17:11:00.000+01:00</updated><title type='text'>Kurt,&lt;br&gt;How do you easily test your controller me...</title><content type='html'>Kurt,&lt;BR/&gt;How do you easily test your controller method when you use values from Request.Form?&lt;BR/&gt;&lt;BR/&gt;Matt</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/5136899136499472732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/5136899136499472732'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1217002260000#c5136899136499472732' title=''/><author><name>Matt Cole</name><uri>http://mattcole.myopenid.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-496751396'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-8103125721515588002</id><published>2008-07-20T00:45:00.000+01:00</published><updated>2008-07-20T00:45:00.000+01:00</updated><title type='text'>I had this exact same problem.  One solution I rea...</title><content type='html'>I had this exact same problem.  One solution I read was not to pass parameters to the controller, but instead use the UpdateFrom extension with Request.Form:&lt;BR/&gt;&lt;BR/&gt;public ActionResult Update()&lt;BR/&gt;{&lt;BR/&gt;    Person p = new Person();&lt;BR/&gt;    p.UpdateFrom(Request.Form);&lt;BR/&gt;    /* more code... */&lt;BR/&gt;}&lt;BR/&gt;&lt;BR/&gt;This has the added benefit of being much more terse when the parameter list would be really large from a long form.&lt;BR/&gt;&lt;BR/&gt;Cheers!&lt;BR/&gt;&lt;BR/&gt;~ kurt</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/8103125721515588002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/8103125721515588002'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1216511100000#c8103125721515588002' title=''/><author><name>kurt bachtold</name><uri>http://www.blogger.com/profile/11954048584286186567</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-642085854'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-5560933965453777408</id><published>2008-07-02T18:57:00.000+01:00</published><updated>2008-07-02T18:57:00.000+01:00</updated><title type='text'>Hello,&lt;br&gt;would you be kind to send it to my email...</title><content type='html'>Hello,&lt;BR/&gt;would you be kind to send it to my email: mesacer@hotmail.com &lt;BR/&gt;Thanks in advance.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/5560933965453777408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/5560933965453777408'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1215021420000#c5560933965453777408' title=''/><author><name>Tomas E</name><uri>http://www.blogger.com/profile/01828731469355749984</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-405410512'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-7425324580313115008</id><published>2008-06-16T19:45:00.000+01:00</published><updated>2008-06-16T19:45:00.000+01:00</updated><title type='text'>@chris Thanks for your offer, I'm going to try ask...</title><content type='html'>@chris Thanks for your offer, I'm going to try asking my company first but if that isn't fruitful I'll drop you a line.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/7425324580313115008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/7425324580313115008'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1213641900000#c7425324580313115008' title=''/><author><name>Garry Shutler</name><uri>http://www.blogger.com/profile/02687238400432537215</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_GAonj6z3iqg/R59tOnxMzQI/AAAAAAAAAAM/7jnUhXWU7BQ/S220/smallred.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2124490724'/></entry><entry><id>tag:blogger.com,1999:blog-484603982297434662.post-6577137657845206084</id><published>2008-06-16T19:30:00.000+01:00</published><updated>2008-06-16T19:30:00.000+01:00</updated><title type='text'>Nice work!&lt;br&gt;&lt;br&gt;I'd be happy to host your source...</title><content type='html'>Nice work!&lt;BR/&gt;&lt;BR/&gt;I'd be happy to host your source files over at my server</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/6577137657845206084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/484603982297434662/3463586476118261438/comments/default/6577137657845206084'/><link rel='alternate' type='text/html' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html?showComment=1213641000000#c6577137657845206084' title=''/><author><name>Chris van de Steeg</name><uri>http://www.blogger.com/profile/15886221943235530689</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.robustsoftware.co.uk/2008/06/aspnet-mvc-strongly-typing-form-methods.html' ref='tag:blogger.com,1999:blog-484603982297434662.post-3463586476118261438' source='http://www.blogger.com/feeds/484603982297434662/posts/default/3463586476118261438' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-888023388'/></entry></feed>
