<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>p2p.wrox.com Forums - BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</title>
		<link>http://p2p.wrox.com</link>
		<description>This is the forum to discuss the Wrox book ASP.NET MVC Website Programming Problem Design Solution by Nicholas Berardi, Al Katawazi, and Marco Bellinaso; ISBN: 9780470410950 Read more about ASP.NET MVC Website Programming Problem Design Solution or buy the book from your favorite retailerDownload the code for ASP.NET MVC Website Programming Problem Design Solution</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 22:37:44 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://p2p.wrox.com/images/misc/rss.jpg</url>
			<title>p2p.wrox.com Forums - BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</title>
			<link>http://p2p.wrox.com</link>
		</image>
		<item>
			<title>Specified cast is not valid.</title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/77010-specified-cast-not-valid.html</link>
			<pubDate>Fri, 13 Nov 2009 03:51:06 GMT</pubDate>
			<description><![CDATA[Line 5:  <% Html.RenderPartial("~/Views/Shared/Message.ascx"); %>
Line 6:  <% var userVote =(Int  )ViewData["userVote"]; %>
Line 7:  
Line 8:  <div...]]></description>
			<content:encoded><![CDATA[<div>Line 5:  &lt;% Html.RenderPartial(&quot;~/Views/Shared/Message.ascx&quot;); %&gt;<br />
<font color="red">Line 6:  &lt;% var userVote =(Int  )ViewData[&quot;userVote&quot;]; %&gt;<br />
</font>Line 7:  <br />
Line 8:  &lt;div id=&quot;posts&quot;&gt;                                                               <br />
<br />
This error is thrown when I try to view a particular forum post. ForumView.aspx. The ViewPost Action in page 338.<br />
 what's causing the Cast to fail? <br />
             <b> <br />
Source File: </b>Views\Forum\ViewPost.aspx<b>    Line: </b> 6</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>papalolo22</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/77010-specified-cast-not-valid.html</guid>
		</item>
		<item>
			<title><![CDATA[I can't invoke an action method via href]]></title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76988-i-cant-invoke-action-method-via-href.html</link>
			<pubDate>Wed, 11 Nov 2009 01:28:38 GMT</pubDate>
			<description>In the sample appl. the ManageUser.aspx contains a list of user in a table. (p. 142). Every row contains a href link to the User/EditUser action,...</description>
			<content:encoded><![CDATA[<div>In the sample appl. the ManageUser.aspx contains a list of user in a table. (p. 142). Every row contains a href link to the User/EditUser action, that picks up a memebership id parameter as querystring, and invokes the method with the parameter:<br />
<br />
p. 143.<br />
<br />
&lt;td&gt;&lt;a href=&quot;EditUser?id=&lt;%= membershipUser.UserName %&gt;&quot;&gt;&lt;img border=&quot;0&quot; alt=&quot;Edit User&quot; src=&quot;/content/images/EditSymbol.png&quot; title=&quot;Modify User&quot; align=&quot;middle&quot;/&gt;&lt;/a&gt;&lt;/td&gt;<br />
<br />
I tried to implement this code snippet in my own appl., but while this link is working in the TheBeerHouse application, doesn't in mine.<br />
<br />
In my application the link invokes EditUser method without the user id.<br />
<br />
Does anybody can explain me, what is missed in my application, that preclude the parameter pick up?<br />
<br />
The delete action method is working, that uses the same user id.<br />
<br />
I use the same web.config file.<br />
<br />
Thanks<br />
<br />
Gabriel</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>Gabor66</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76988-i-cant-invoke-action-method-via-href.html</guid>
		</item>
		<item>
			<title><![CDATA[The forgot password doesn't work]]></title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76918-forgot-password-doesnt-work.html</link>
			<pubDate>Thu, 05 Nov 2009 14:19:37 GMT</pubDate>
			<description>On p. 122. ForgotPassword action resets the password independently from the answer.

It seems likely, that...</description>
			<content:encoded><![CDATA[<div>On p. 122. ForgotPassword action resets the password independently from the answer.<br />
<br />
It seems likely, that Memebership.Provider.ResetPassword(username, secretAnswer) doesn't take into account the secret answer at all!<br />
<br />
Does anybody else experienced this error, and can propose a solution.<br />
<br />
What if the user forgot the username and password?<br />
<br />
It would be better to get the e-mail address from the user instead of user name.<br />
<br />
Thanks<br />
<br />
Gabriel</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>Gabor66</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76918-forgot-password-doesnt-work.html</guid>
		</item>
		<item>
			<title>Where can I download the latest version (2.1?) from</title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76912-where-can-i-download-latest-version-2-1-a.html</link>
			<pubDate>Thu, 05 Nov 2009 07:34:42 GMT</pubDate>
			<description>I tried to find the download site of the latest version of the TheBeerHouse MVC, but found only the WebForm 3.5 version.

The development of the MVC...</description>
			<content:encoded><![CDATA[<div>I tried to find the download site of the latest version of the TheBeerHouse MVC, but found only the WebForm 3.5 version.<br />
<br />
The development of the MVC version is terminated at all? I heard that the ver. 2.1 is the latest and test project is included. Anybody can me get some info?<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>Gabor66</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76912-where-can-i-download-latest-version-2-1-a.html</guid>
		</item>
		<item>
			<title><![CDATA[Html helpers doesn't work on site.master]]></title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76897-html-helpers-doesnt-work-site-master.html</link>
			<pubDate>Wed, 04 Nov 2009 10:51:12 GMT</pubDate>
			<description>I try to create a new web application on the basis of the TheBeerHouse.

I imported the site.master, the user controller and views and related files...</description>
			<content:encoded><![CDATA[<div>I try to create a new web application on the basis of the TheBeerHouse.<br />
<br />
I imported the site.master, the user controller and views and related files from the content.<br />
<br />
It is interesting, why in the register.aspx the html helpers work, but in the site.master doesn't.<br />
<br />
What am I missed.<br />
<br />
Thanks<br />
<br />
Gabriel</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>Gabor66</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76897-html-helpers-doesnt-work-site-master.html</guid>
		</item>
		<item>
			<title>Missing css for register.aspx?</title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76894-missing-css-register-aspx.html</link>
			<pubDate>Wed, 04 Nov 2009 10:33:56 GMT</pubDate>
			<description><![CDATA[Wich css file defines the "user-registration" class for the registration.aspx?

<form method="post" action="<%= Url.Action("Register", "User") %>"...]]></description>
			<content:encoded><![CDATA[<div>Wich css file defines the &quot;user-registration&quot; class for the registration.aspx?<br />
<br />
&lt;form method=&quot;post&quot; action=&quot;&lt;%= Url.Action(&quot;Register&quot;, &quot;User&quot;) %&gt;&quot; class=&quot;user-registration&quot;&gt;<br />
<br />
Thanks<br />
<br />
Gabriel</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>Gabor66</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76894-missing-css-register-aspx.html</guid>
		</item>
		<item>
			<title>DeleteShoppingCartItem error</title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76887-deleteshoppingcartitem-error.html</link>
			<pubDate>Tue, 03 Nov 2009 20:10:02 GMT</pubDate>
			<description><![CDATA[I get the following error in firefox.

[ArgumentException]: The parameters dictionary contains a null entry for parameter 'productId' of non-nullable...]]></description>
			<content:encoded><![CDATA[<div>I get the following error in firefox.<br />
<br />
[ArgumentException]: The parameters dictionary contains a null entry for parameter 'productId' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult DeleteShoppingCartItem(Int32)' in 'TheBeerHouse.Controllers.CommerceController'. To make a parameter optional its type should be either a reference type or a Nullable type.<br />
<br />
It seems like it's looking for a dictionary pair???<br />
This is similar to DeleteShippingMethod, except that works.<br />
I'm at my wit...................s end.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>ralphbethke</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76887-deleteshoppingcartitem-error.html</guid>
		</item>
		<item>
			<title>Bug on demo site</title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76828-bug-demo-site.html</link>
			<pubDate>Fri, 30 Oct 2009 12:42:14 GMT</pubDate>
			<description>The live demo site at www.thebeerhouseexample.com causes a server error when you try to make a forum post.  If I ignore the post and reload the page,...</description>
			<content:encoded><![CDATA[<div>The live demo site at <a href="http://www.thebeerhouseexample.com" target="_blank">www.thebeerhouseexample.com</a> causes a server error when you try to make a forum post.  If I ignore the post and reload the page, I can see the post.  The one I made is &quot;Which Becks is Best?&quot;.  Please advise.  Thanks.  <br />
<br />
&gt;&gt;&gt;<br />
<br />
Server Error in '/' Application.<br />
Specified cast is not valid.<br />
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.<br />
<br />
Exception Details: System.InvalidCastException: Specified cast is not valid.<br />
<br />
Source Error:<br />
<br />
Line 4:  <br />
Line 5:  &lt;% Html.RenderPartial(&quot;~/Views/Shared/Message.ascx&quot;); %&gt;<br />
Line 6:  &lt;% var userVote = (int)ViewData[&quot;userVote&quot;]; %&gt;<br />
Line 7:  <br />
Line 8:  &lt;div id=&quot;posts&quot;&gt;<br />
<br />
<br />
Source File: c:\Inetpub\wwwroot\TheBeerHouseExample\Views\Forum  \ViewPost.aspx    Line: 6</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>vsjc</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76828-bug-demo-site.html</guid>
		</item>
		<item>
			<title>New version, older technology?</title>
			<link>http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76806-new-version-older-technology.html</link>
			<pubDate>Thu, 29 Oct 2009 06:54:50 GMT</pubDate>
			<description><![CDATA[Hi, 

I'm a bit confused, when the new book "ASP.NET 3.5 Website Programming: Problem - Design - Solution" released, because it seems, a lot of new...]]></description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I'm a bit confused, when the new book &quot;ASP.NET 3.5 Website Programming: Problem - Design - Solution&quot; released, because it seems, a lot of new features included in the project, that uses the outdated ASP.net webform technology instead of MVC.<br />
<br />
So wich technology to use? I think, that MVC has many advanteges:<br />
<br />
-better organization of the project,<br />
-easily testable<br />
<br />
but because of the lack of the MVC controls yet, maybe less productive, but this is a temporary issue.<br />
<br />
Because we are before starting a new project, wich technology to use?<br />
<br />
Any opinion will be greatly appreciated.<br />
<br />
Thanks<br />
<br />
Gabriel</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950-472/">BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950</category>
			<dc:creator>Gabor66</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-mvc-website-programming-problem-design-solution-isbn-9780470410950/76806-new-version-older-technology.html</guid>
		</item>
	</channel>
</rss>
