<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET MVC Storefront Starter Kit</title><link>http://forums.asp.net/1165.aspx</link><description>This forum is for any and all questions pertaining to the ASP.NET MVC Storefront Starter Kit. The Storefront  is a sample ASP.NET MVC Commerce application which was developed using Test-driven Development, Inversion of Control (IoC), and Dependency Injection.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Does shopping cart use sessions ?</title><link>http://forums.asp.net/thread/3294109.aspx</link><pubDate>Wed, 15 Jul 2009 07:39:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3294109</guid><dc:creator>zielony</dc:creator><author>zielony</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3294109.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3294109</wfw:commentRss><description>&lt;p&gt;When user isn&amp;#39;t registered he can add items to shopping cart or not ? Because I can&amp;#39;t find in this project nothing with sessions.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Master/Detail new order &amp; order detail entry page with ASP.NET MVC-Entity Framework (Order &amp; OrderDetail)</title><link>http://forums.asp.net/thread/3251005.aspx</link><pubDate>Mon, 22 Jun 2009 15:49:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3251005</guid><dc:creator>ammarg52</dc:creator><author>ammarg52</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3251005.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3251005</wfw:commentRss><description>&lt;p&gt;I want to create a web page for order entry using ASP.NET MVC- Entity Framework. This page contains Order and Order Entry information. For each Order, I can have multiple Order details. If you know how to do this Master/Detail with ASP.NET MVC-Entity Framework please let me know. The user should be able to enter new order with one or many order detail. this should be on one single page.&lt;/p&gt;</description></item><item><title>Using Entity Framework with MVC Storefront</title><link>http://forums.asp.net/thread/3046987.aspx</link><pubDate>Sun, 29 Mar 2009 21:50:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3046987</guid><dc:creator>smithym</dc:creator><author>smithym</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3046987.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3046987</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;div class="post-text"&gt;
                

&lt;p&gt;can anyone give a helping hand, I been watching the videos for the
mvc storefront and have create my own website using these techniques
i.e. DDD, Repository pattern but i wish to use Entity Framework.&lt;/p&gt;

&lt;p&gt;In the Interfaces it returns IQueryable but with the entity
framework i should return ObjectQuery instead? - I will be using LINQ.&lt;/p&gt;

&lt;p&gt;Also in the storedfront example it goes something like this IQueryable&amp;lt;Category&amp;gt; GetCategories();&lt;/p&gt;

&lt;p&gt;As in the mvc stored the Category class was a build entity class
(standard class) but with the entity framework these classes are
prebuilt in the object context - are they not?&lt;/p&gt;

&lt;p&gt;So i should need to build them.&lt;/p&gt;

&lt;p&gt;I am a little confused, if anyone has any helpful example or code it would be really helpful. &lt;/p&gt;

&lt;p&gt;As i say i have watched the videos from THe mvc storefront using linq2sql but really would like to use the entity framework.&lt;/p&gt;

&lt;p&gt;Any ideas?&lt;/p&gt;

&lt;p&gt;Thanks &lt;/p&gt;

&lt;p&gt;Smithy&lt;/p&gt;

            &lt;/div&gt;</description></item><item><title>Extensions and namespaces conventions...</title><link>http://forums.asp.net/thread/3178753.aspx</link><pubDate>Thu, 21 May 2009 15:31:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3178753</guid><dc:creator>eriera1@gmail.com</dc:creator><author>eriera1@gmail.com</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3178753.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3178753</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I start looking at the code (build 22882) and I didn&amp;#39;t see all related videos yet. So sorry if the question is discussed in some of them. Moreover it is the first time I&amp;nbsp;see&amp;nbsp;the extension method functionality.&amp;nbsp;And I guess that&amp;nbsp;having MVC in the middle make things worse...&lt;/p&gt;
&lt;p&gt;But let&amp;#39;s focus on the question... &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;
&lt;p&gt;About the creation of extension methods, I found it extremely powerful but in large projects it doesn&amp;#39;t seem easy to manage (Dll references and using statements takes another meaning) I don&amp;#39;t understand very well the folder structure and&amp;nbsp;the namespace naming convention&amp;nbsp;regarding extension methods and how did you plan to further &amp;quot;extend&amp;quot; the solution.&lt;/p&gt;
&lt;p&gt;1) Sometimes&amp;nbsp;(for example StringExtensions) the static class containing the methods is defined under Kona.Infrastructure namespace&amp;nbsp;but in other cases (for example UrlHelperExtensions) the class is defined under System.Web.Mvc. Additionally is a good practice to use System.Web.Mvc namespace for custom coding?&lt;/p&gt;
&lt;p&gt;2) Naming classes:&amp;nbsp;For StringExtensions or UrlHelper you use the type you are extending&amp;nbsp;for naming the class. I found it very useful. But in other cases (DBExtensions or Gravatar) you don&amp;#39;t use the type&amp;#39;s name.&lt;/p&gt;
&lt;p&gt;3) Some extensions are under Extensions folder but some are outside like Extensibilty\Modules\ModuleLoader&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Eduard.&lt;/p&gt;</description></item><item><title>Httpcontext is null Exception ocurr</title><link>http://forums.asp.net/thread/2925865.aspx</link><pubDate>Mon, 09 Feb 2009 00:59:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2925865</guid><dc:creator>badend</dc:creator><author>badend</author><slash:comments>13</slash:comments><comments>http://forums.asp.net/thread/2925865.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2925865</wfw:commentRss><description>&lt;p&gt;Casually it doesnt work.&lt;/p&gt;
&lt;p&gt;site.Master&amp;nbsp;&lt;/p&gt;
&lt;p&gt;code this&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%Html.RenderAction&amp;lt;PersonalizationController&amp;gt;(x =&amp;gt; x.Summary());%&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Message=&amp;quot;value could not be null,\r\n parameter name: httpContext&amp;quot;&lt;br /&gt;&amp;nbsp; Source=&amp;quot;System.Web.Routing&amp;quot;&lt;br /&gt;&amp;nbsp; ParamName=&amp;quot;httpContext&amp;quot;&lt;br /&gt;&amp;nbsp; StackTrace:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : System.Web.Routing.RequestContext..ctor(HttpContextBase httpContext, RouteData routeData)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.Web.Mvc.ViewExtensions.RenderRoute(HtmlHelper helper, RouteValueDictionary values)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Microsoft.Web.Mvc.ViewExtensions.RenderAction[TController](HtmlHelper helper, Expression`1 action)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ASP.app_views_shared_site_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer)&amp;nbsp;file d:\svn\private\test\mvssamApps\MVCStore_Preview1A\MVCStore_Preview1A\Commerce.Web\App\Views\Shared\Site.Master:line 20&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderControl(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Page.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Control.RenderControl(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;&amp;nbsp; InnerException: &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;please give me solution..&lt;/p&gt;</description></item><item><title>Errors in references and else.</title><link>http://forums.asp.net/thread/3136173.aspx</link><pubDate>Sun, 03 May 2009 09:27:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3136173</guid><dc:creator>xyligan</dc:creator><author>xyligan</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3136173.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3136173</wfw:commentRss><description>
&lt;p&gt;Good day.&lt;/p&gt;

&lt;p&gt;I downloaded the latest version of Kona today, installed db-files, changed connstring to&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&amp;nbsp; &amp;lt;add name=&amp;quot;ApplicationServices&amp;quot; connectionString=&amp;quot;data source=.\SQLEXPRESS;Initial Catalog=aspnetdb;User ID=Oleg;Password=pass&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;add name=&amp;quot;KonaConnectionString&amp;quot; connectionString=&amp;quot;Data Source=.\SQLEXPRESS;Initial Catalog=Kona;IUser ID=Oleg;Password=pass&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;add name=&amp;quot;ObjectStore&amp;quot; connectionString=&amp;quot;data source=.\SQLEXPRESS;User ID=Oleg;Password=pass;Initial Catalog=Kona&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;/i&gt; &lt;/p&gt;

&lt;p&gt;Compiled and got an error:&lt;/p&gt;


&lt;p&gt;&amp;nbsp;if you can`t see images:&lt;/p&gt;
&lt;p&gt;error in&lt;/p&gt;&lt;p&gt;&lt;img src="http://img.picbite.com/2009/05/04/99790frila.jpg" width="1280" height="800" alt="" /&gt;&amp;nbsp;&lt;/p&gt;
&amp;nbsp;
&lt;pre class="coloredcode"&gt; Kona.Web {&lt;br /&gt;&lt;br /&gt;&lt;span class="kwd"&gt;public&lt;/span&gt; partial &lt;span class="kwd"&gt;class&lt;/span&gt; _Default: Page&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&lt;span class="kwd"&gt;public void&lt;/span&gt; Page_Load(..)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;here =&amp;gt; httphander.ProcessRequest(HttpContext.Current);&lt;br /&gt;&lt;br /&gt;Compiler says: InvalidOperationException, &lt;span class="kwd"&gt;if&lt;/span&gt; the controller doesn`t have a controller factory, ensure that &lt;span class="kwd"&gt;is&lt;/span&gt; has a parametrless &lt;span class="kwd"&gt;public&lt;/span&gt; contsructor/&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;} &lt;/pre&gt;&amp;nbsp;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Help, please&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
</description></item><item><title>Store with "difficult" articles</title><link>http://forums.asp.net/thread/3122077.aspx</link><pubDate>Mon, 27 Apr 2009 14:23:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3122077</guid><dc:creator>silveraxe</dc:creator><author>silveraxe</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3122077.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3122077</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;first I&amp;#39;d like to thank Rob for the great demo app and the tutorials for it. I really love it and it&amp;#39;s a great way to get into MVC!&lt;/p&gt;&lt;p&gt;So I started to work on my own MVC app (also kind of a store) and ran into some difficulties regarding the architecture. The products in the store are expertises for machines. For a expertise the user has to enter some data of it&amp;#39;s machine. It takes about 4-5 pages to ask the user about the details (geographic location with Live Maps and lots of data).&lt;/p&gt;&lt;p&gt;I started working on the application and created a single action &amp;quot;Create&amp;quot; in my controller. Then I have multiple Views for that action and select by a hidden form element (&amp;quot;next step&amp;quot;) which is the next view to return. This way it works but I&amp;#39;m not sure if it&amp;#39;s the best idea. In Web Forms it would be a simple Wizard. Any ideas how to build such a wizard in MVC?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Hilmar &lt;br /&gt;&lt;/p&gt;</description></item><item><title>What Is Going On With This Project</title><link>http://forums.asp.net/thread/3079084.aspx</link><pubDate>Fri, 10 Apr 2009 15:21:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3079084</guid><dc:creator>geomar</dc:creator><author>geomar</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3079084.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3079084</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve really appreciated these videos.&amp;nbsp; Thank you.&amp;nbsp; But at some point the videos stopped and the downloaded code changed completely.&amp;nbsp; When I first began watching, I thought the purpose of the videos was to demonstrate how to use MVC to create a storefront application while using best practices.&amp;nbsp;&amp;nbsp;As things progressed, so many things were discarded that a large number of earlier videos no longer apply.&amp;nbsp;&amp;nbsp; Shouldn&amp;#39;t the best tools and best practices be known before the application starts.&amp;nbsp; Yes I realize software is an iterative process. But the huge changes in architecture aren&amp;#39;t very practical and are disastrous when creating actual applications under time constraints.&lt;/p&gt;</description></item><item><title>CompiledQuery.Compile and repository</title><link>http://forums.asp.net/thread/3059610.aspx</link><pubDate>Fri, 03 Apr 2009 03:54:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3059610</guid><dc:creator>Ruffone</dc:creator><author>Ruffone</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3059610.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3059610</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;
&lt;div&gt;&lt;font size="2" face="Arial"&gt;I am reading about compile queries (CompiledQuery.Compile) and was wondering if it would add anything to the repository and if it would&amp;nbsp;what might be the best way to&amp;nbsp;implemented it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size="2" face="Arial"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/bb399335.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb399335.aspx&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;&lt;/font&gt;</description></item><item><title>RunError: System.NullReferenceException was unhandled by user code</title><link>http://forums.asp.net/thread/3047433.aspx</link><pubDate>Mon, 30 Mar 2009 04:42:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3047433</guid><dc:creator>HyperPan</dc:creator><author>HyperPan</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3047433.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3047433</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As I run,there is a error as bellow.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s the wrong? How to sove it ? Thanks!&lt;/p&gt;
&lt;p&gt;[&lt;/p&gt;
&lt;p&gt;System.NullReferenceException was unhandled by user code&lt;br /&gt;&amp;nbsp; Message=&amp;quot;未将对象引用设置到对象的实例。&amp;quot;&lt;br /&gt;&amp;nbsp; Source=&amp;quot;App_Web_ixredb1d&amp;quot;&lt;br /&gt;&amp;nbsp; StackTrace:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 ASP.views_themes_blue_index_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) 位置 d:\aspStores\mvcsamples-22681\trunk\Kona.Web\Views\Themes\Blue\Index.aspx:行号 4&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 ASP.views_themes_blue_theme_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) 位置 c:\Users\HyperBrain\AppData\Local\Temp\Temporary ASP.NET Files\root\da41a4e5\29a3e57d\App_Web_btt2_nq2.0.cs:行号 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Page.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;&amp;nbsp; InnerException: &lt;br /&gt;]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>What happened to SEO?</title><link>http://forums.asp.net/thread/3046911.aspx</link><pubDate>Sun, 29 Mar 2009 20:52:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3046911</guid><dc:creator>russellshome</dc:creator><author>russellshome</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3046911.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3046911</wfw:commentRss><description>&lt;p&gt;I got version 22681 to run &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;.&lt;/p&gt;
&lt;p&gt;I was disappointed immediately when I clicked on a boot and saw &lt;a href="http://localhost:41854/home/show?sku=Boots4"&gt;http://localhost:41854/home/show?sku=Boots4&lt;/a&gt;&amp;nbsp;&lt;img src="http://forums.asp.net/emoticons/emotion-6.gif" alt="Sad" /&gt;&lt;/p&gt;
&lt;p&gt;What was this about MVC having nice urls? &lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t that have been something like&amp;nbsp;&lt;a href="http://localhost:41854/Boots/Adirondak%20Fur-lined%20Hiking%20Boots"&gt;http://localhost:41854/Boots/Adirondak Fur-lined Hiking Boots&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;And then I tried another link &lt;a href="http://localhost:41854/Home/Index/boots"&gt;http://localhost:41854/Home/Index/boots&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is not what I was expecting!&amp;nbsp;What went wrong?&lt;/p&gt;</description></item><item><title>Error compiling - Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element'  with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastruc</title><link>http://forums.asp.net/thread/3044773.aspx</link><pubDate>Sat, 28 Mar 2009 11:27:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3044773</guid><dc:creator>crosscompiler</dc:creator><author>crosscompiler</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3044773.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=3044773</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Have just downloaded the sample, added the missing references, but am getting the following error.&amp;nbsp; Can anyone help?&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt; 
&lt;h1&gt;Server Error in &amp;#39;/&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Error in line 1 position 145. Expecting element &amp;#39;PluginSetting&amp;#39; from namespace &amp;#39;http://schemas.datacontract.org/2004/07/Kona.Infrastructure&amp;#39;.. Encountered &amp;#39;Element&amp;#39; &amp;nbsp;with name &amp;#39;PluginSetting&amp;#39;, namespace &amp;#39;http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastructure&amp;#39;. &lt;/i&gt;&lt;/h2&gt;
&lt;p&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;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. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.Runtime.Serialization.SerializationException: Error in line 1 position 145. Expecting element &amp;#39;PluginSetting&amp;#39; from namespace &amp;#39;http://schemas.datacontract.org/2004/07/Kona.Infrastructure&amp;#39;.. Encountered &amp;#39;Element&amp;#39; &amp;nbsp;with name &amp;#39;PluginSetting&amp;#39;, namespace &amp;#39;http://schemas.datacontract.org/2004/07/Microsoft.Web.Infrastructure&amp;#39;. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;Line 29:             //IFormatter formatter = new BinaryFormatter();
Line 30:             using (MemoryStream ms = new MemoryStream(bits)) {
&lt;font color="red"&gt;Line 31:                 result = (TResult)dc.ReadObject(ms);
&lt;/font&gt;Line 32:             }
Line 33: &lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Storefront &amp; ASP.NET MVC RC1</title><link>http://forums.asp.net/thread/2969784.aspx</link><pubDate>Thu, 26 Feb 2009 23:33:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2969784</guid><dc:creator>TobiR</dc:creator><author>TobiR</author><slash:comments>10</slash:comments><comments>http://forums.asp.net/thread/2969784.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2969784</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not sure if anyone is interested but I have got the project working&amp;nbsp;on the latest MVC code drop - RC1. I guess everyone is waiting for&amp;nbsp;the MIX09 version (everyone has gone quiet! very busy I guess?). Anyhow it was a good exercise to get up to speed with the changes. If there is any demand maybe Rob could upload this.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tobi&lt;/p&gt;</description></item><item><title>NullReferenceException on linq extensions to html helper</title><link>http://forums.asp.net/thread/2985957.aspx</link><pubDate>Thu, 05 Mar 2009 21:56:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2985957</guid><dc:creator>joepo5</dc:creator><author>joepo5</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2985957.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2985957</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;I have read the posts about nullreference exceptions having to do with routing issues but none of these apply to me. I am running on IIS 7.0 but still get this error in some storefront code.&lt;/p&gt;&lt;p&gt;This line in ProductDisplay.ascx is throwing a NullReferenceException when the controller attempts to render this view.&lt;br /&gt;I know that the issue is not Model.ProductCode because I can replace with any string literal and same exception. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;a href=&amp;quot;&amp;lt;%= Html.BuildUrlFromExpression&amp;lt;CatalogController&amp;gt;(x =&amp;gt; x.Show(Model.ProductCode)) %&amp;gt;&amp;quot;&amp;nbsp; &lt;/p&gt;&lt;p&gt;If anyone has any idea about this, I would sincerely appreciate it. I don&amp;#39;t know how to go about debugging this.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;-Joe&lt;/p&gt;&lt;p&gt;IIS 7.0 (Vista)&lt;br /&gt;ASP.NET MVC RC 2&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>RenderPartial Problem</title><link>http://forums.asp.net/thread/2963704.aspx</link><pubDate>Tue, 24 Feb 2009 18:41:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2963704</guid><dc:creator>TobiR</dc:creator><author>TobiR</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2963704.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2963704</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When clicking on a catalog item the following code RenderPartial&amp;nbsp; in ViewExtentions.cs is crashing out with {&amp;quot;Parameter count mismatch.&amp;quot;} I have updated to RC of MVC and MVC futures and it seems to all compile ok.&lt;/p&gt;
&lt;p&gt;Any help, much appreciated.&lt;/p&gt;
&lt;p&gt;&lt;span class="kwd"&gt;public static void&lt;/span&gt; RenderPartial(&lt;span class="kwd"&gt;this&lt;/span&gt; HtmlHelper helper, &lt;span class="kwd"&gt;string&lt;/span&gt; partialName, &lt;span class="kwd"&gt;object&lt;/span&gt; model, &lt;span class="kwd"&gt;object&lt;/span&gt; viewData)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ViewDataDictionary viewDictionary = &lt;span class="kwd"&gt;new&lt;/span&gt; ViewDataDictionary();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Reflection.PropertyInfo[] props = viewData.GetType().GetProperties();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="kwd"&gt;foreach&lt;/span&gt; (PropertyInfo pi &lt;span class="kwd"&gt;in&lt;/span&gt; props)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="kwd"&gt;if&lt;/span&gt; (!viewDictionary.ContainsKey(pi.Name))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; viewDictionary.Add(pi.Name, pi.GetValue(viewData, &lt;span class="kwd"&gt;null&lt;/span&gt;));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; helper.RenderPartial(partialName, model, viewDictionary);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Toby.&lt;/p&gt;</description></item><item><title>Avoiding duplicate domain objects</title><link>http://forums.asp.net/thread/2950595.aspx</link><pubDate>Wed, 18 Feb 2009 22:53:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2950595</guid><dc:creator>Paul Linton</dc:creator><author>Paul Linton</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2950595.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2950595</wfw:commentRss><description>&lt;p&gt;I have looked very closely at the screen shots in the last few storefront episodes (since Rob contracted a mild case of DDD fever).&amp;nbsp; I have modeled my own application repositry very closely on the one I see in the screenshots.&amp;nbsp; I have written a test which fails and I don&amp;#39;t know how to go about fixing the problem. Any suggestions would be welcomed.&lt;/p&gt;
&lt;p&gt;Using the SqlOrderRepository as an example I could write a test something like this&lt;/p&gt;&lt;pre class="coloredcode"&gt;[TestMethod]
&lt;span class="kwd"&gt;public void&lt;/span&gt; Order_shouldHave_Constant_Identity()
{
   OrderProcessing.Order order1 = orderRepository
                                  .GetOrders()
                                  .Where(o=&amp;gt;o.OrderID == 1)
                                  .SingleOrDefault();
   OrderProcessing.Order order2 = orderRepository
                                  .GetOrders()
                                  .Where(o=&amp;gt;0.OrderID == 1)
                                  .SingleOrDefault();
   Assert.AreSame(order1, order2, &lt;span class="st"&gt;&amp;quot;Getting the same order twice should return the same object&amp;quot;&lt;/span&gt;);
}
&lt;/pre&gt;
&lt;p&gt;Note that I attempt to retrieve the same OrderId both times.&amp;nbsp; The Assert.AreSame fails as the two objects are not the same.&amp;nbsp; This obviously opens the door to all sorts of nasty things happening.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m guessing that I need to introduce some kind of identity map for the domain objects but I don&amp;#39;t know how to go about it.&amp;nbsp; Any suggestions?&amp;nbsp; (Hey Rob, an answer of &amp;#39;Wait until after MIX, all will be revealed&amp;quot; would do for me)&lt;/p&gt;
&lt;p&gt;thanks for any help&lt;/p&gt;</description></item><item><title>MVC RC1 and Storefront</title><link>http://forums.asp.net/thread/2946311.aspx</link><pubDate>Tue, 17 Feb 2009 09:10:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2946311</guid><dc:creator>TobiR</dc:creator><author>TobiR</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2946311.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2946311</wfw:commentRss><description>&lt;p&gt;Can anyone Help.&amp;nbsp;I have been working though the expample code (Part 8) and bringing it upto date with RC1 of the MVC and there is some code for RenderCommerceControl in AppHelpers.cs&amp;nbsp;that uses RenderUserControl that I cannot find anywhere as it has been removed from RC1. &lt;/p&gt;
&lt;p&gt;I have tried to use&amp;nbsp;RenderPartial but the extension methods never show up (even though they are in System.Web.Mvc) and nothing in Microsoft.Web.Mvc. &lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;&lt;br /&gt;Tobi&lt;/p&gt;</description></item><item><title>Where did the services go</title><link>http://forums.asp.net/thread/2908439.aspx</link><pubDate>Mon, 02 Feb 2009 07:07:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2908439</guid><dc:creator>Ruffone</dc:creator><author>Ruffone</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2908439.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2908439</wfw:commentRss><description>&lt;p&gt;I have a question. In episode 26 there is the introduction of the ViewModel. Is that in addition to the service classes? If the answer&amp;nbsp;is yes. Where did the services go? What do you know, I had 2 questions.&lt;/p&gt;</description></item><item><title>404 - Page cannot be found</title><link>http://forums.asp.net/thread/2923153.aspx</link><pubDate>Sat, 07 Feb 2009 04:20:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2923153</guid><dc:creator>mrnd</dc:creator><author>mrnd</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/2923153.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2923153</wfw:commentRss><description>&lt;p&gt;I use sample of MVC when test with VS 2008 on run mode is ok (http://localhost/TestMVC/Home/About) &lt;/p&gt;&lt;p&gt;but when i setup this website on IIS ver 5 (at the same computer) error 404 (- Page cannot be found) is happen  (http://localhost/TestMVC/Home/About)&lt;/p&gt;&lt;p&gt;after that i must be modify code in Global.asax like this&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;public static void&lt;/span&gt; RegisterRoutes(RouteCollection routes)
        {
            routes.IgnoreRoute(&lt;span class="st"&gt;&amp;quot;{resource}.axd/{*pathInfo}&amp;quot;&lt;/span&gt;);
            routes.MapRoute(&lt;span class="st"&gt;&amp;quot;Default&amp;quot;&lt;/span&gt;, &lt;span class="st"&gt;&amp;quot;{controller}.aspx/{action}/{id}&amp;quot;&lt;/span&gt;, &lt;span class="kwd"&gt;new&lt;/span&gt; { action = &lt;span class="st"&gt;&amp;quot;Index&amp;quot;&lt;/span&gt;, id = &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt; });
            routes.MapRoute(&lt;span class="st"&gt;&amp;quot;Root&amp;quot;&lt;/span&gt;, &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt;, &lt;span class="kwd"&gt;new&lt;/span&gt; { controller = &lt;span class="st"&gt;&amp;quot;Home&amp;quot;&lt;/span&gt;, action = &lt;span class="st"&gt;&amp;quot;Index&amp;quot;&lt;/span&gt;, id = &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt; });
        }
        &lt;span class="kwd"&gt;protected void&lt;/span&gt; Application_Start()
        {
            RegisterRoutes(RouteTable.Routes);
        }  &lt;/pre&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;it run, but url like this http://design3/TestMVC/Home&lt;b&gt;.aspx&lt;/b&gt;/About how can change to http://localhost/TestMVC/Home/About&lt;/p&gt;&lt;p&gt;Pls help me to fix this error??&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;*** I&amp;#39;m sorry, I don&amp;#39;t know english well :) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>HELP, cant compile (</title><link>http://forums.asp.net/thread/2924423.aspx</link><pubDate>Sat, 07 Feb 2009 21:42:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2924423</guid><dc:creator>xyligan</dc:creator><author>xyligan</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/2924423.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2924423</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;img src="http://phone.km.ua/error_list.png" width="1280" height="800" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Soft:&lt;/p&gt;&lt;p&gt;Visual Studio 2008 SP1, MVC RC1, .NET 3.5&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Downloaded version&amp;nbsp; - 17126 &lt;/p&gt;&lt;p&gt;Full image : http://phone.km.ua/error_list.png &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks a lot &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Timing for releases?</title><link>http://forums.asp.net/thread/2827221.aspx</link><pubDate>Tue, 23 Dec 2008 14:32:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2827221</guid><dc:creator>wtpatterson</dc:creator><author>wtpatterson</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2827221.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2827221</wfw:commentRss><description>&lt;p&gt;I have a good friend that I&amp;#39;m helping with her eCommerce site that is based upon PHP and MySQL.&amp;nbsp; It was something that was custom developed four or five years ago, when someone else owned the company.&lt;/p&gt;
&lt;p&gt;I have recommended that she switch to either&amp;nbsp;a MVC Storefront or CSK 3.0 based system.&amp;nbsp; This is anxious to make a bunch of changes to her site and I keep telling her she has to be a bit patient and wait until this new technology becomes available.&amp;nbsp; She is working with someone at a new hosting company what is urging her to let him make all of these modifications to her web site.&amp;nbsp; Of course, he is also going to charge her for these updates.&amp;nbsp; I think some changes and page additions can easily be done and then the HTML code can be moved to pages on a new site.&lt;/p&gt;
&lt;p&gt;What can I tell this person about the availability of a system that is stable enough to be put into production?&lt;/p&gt;
&lt;p&gt;I am donating my time to help her and developing a results-based management, evaluation and tracking system to assist in the management of at-risk people in various programs and provide the necessary analysis of results to justify the use of grant funds.&amp;nbsp; This will complement her eCommerce site because the people in the programs may use some of the resources she sells.&amp;nbsp; She needs both systems.&lt;/p&gt;
&lt;p&gt;Thanks so very much for doing these eCommerce sites.&amp;nbsp; One&amp;nbsp;of them will be just what we need!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Bill Patterson&lt;/p&gt;
&lt;p&gt;Madison, WI&lt;/p&gt;</description></item><item><title>Question about Commerce.Data.SqlRepository.Transactions class.</title><link>http://forums.asp.net/thread/2807409.aspx</link><pubDate>Sun, 14 Dec 2008 06:02:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2807409</guid><dc:creator>pure.krome</dc:creator><author>pure.krome</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2807409.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2807409</wfw:commentRss><description>&lt;p&gt;Hi Rob &amp;amp; storefront friends!&lt;/p&gt;&lt;p&gt;I&amp;#39;m wondering how you would impliment in your SqlRepository namespace (eg. the Transaction class) a unique field during a save.&lt;/p&gt;&lt;p&gt;So image the class Commerce.Data.SqlRepository.Transactions has a new, make believe property called ReceiptNumber, and it&amp;#39;s a string that can contain .. um .. lets say numbers and characters. Nothing to complex. Eg. ReceiptNumber: CA0001Ax4&lt;/p&gt;&lt;p&gt;&amp;nbsp;Ok. now in the database, that table has a Unique Key Index on the new ReceiptNumber field (on that Transaction table). This is because we want to make sure that the receipt number is always unique in the system, and the user had made that &amp;#39;number&amp;#39; up on the fly .. lets say.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So when you now save a new order (SqlOrderRepository.cs line 339) ... what do we need to do to make sure that the receipt doesn&amp;#39;t exist in the system BEFORE the save?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Do we do a simple&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="kwd"&gt;int&lt;/span&gt; id = (from t &lt;span class="kwd"&gt;in&lt;/span&gt; db.Transactions&lt;br /&gt;    where t.ReceiptNumber.Equals(receiptNumber)&lt;br /&gt;    select t.Id).SingleOrDefault() ?? 0;&lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&lt;p&gt;then save if it&amp;#39;s 0, otherwise throw an exception or something?&lt;/p&gt;&lt;p&gt;I know i can just set it and then save and allow the database to throw the error and i sorta bubble that back up .. but i was hoping to be a bit more proactive.&lt;/p&gt;&lt;p&gt;thoughts? Or ... should we worry about these type of database constraints in the repository level if we have prior-knowledge of it?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;NOTE: this is against the MVC Storefont Preview 1A code from codeplex.&lt;/p&gt;&lt;p&gt;thanks folks! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>CommerceDB</title><link>http://forums.asp.net/thread/2848798.aspx</link><pubDate>Tue, 06 Jan 2009 05:55:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2848798</guid><dc:creator>D.G</dc:creator><author>D.G</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2848798.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2848798</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;From where should I get the commerce db at my localhost?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Parser error on start</title><link>http://forums.asp.net/thread/2791067.aspx</link><pubDate>Sun, 07 Dec 2008 13:01:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2791067</guid><dc:creator>Tonny Christiansen</dc:creator><author>Tonny Christiansen</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2791067.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2791067</wfw:commentRss><description>&lt;p&gt;&lt;font color="#ff0000"&gt;Linje 1:&amp;nbsp; &amp;lt;%@ Application Codebehind=&amp;quot;Global.asax.cs&amp;quot; Inherits=&amp;quot;Commerce.MVC.Web&amp;quot; Language=&amp;quot;C#&amp;quot; %&amp;gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;I get a parser error on starting up the MVC Storefront, seemingly everything compiles and the majority of the testcases can be run.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;&amp;nbsp;Any suggestions as to how to get on&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000"&gt;I use VS2008 professional.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Br. Tonny&lt;/p&gt;</description></item><item><title>Compilation Error with ActionLink.</title><link>http://forums.asp.net/thread/2708275.aspx</link><pubDate>Mon, 27 Oct 2008 13:43:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2708275</guid><dc:creator>yma</dc:creator><author>yma</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2708275.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1165&amp;PostID=2708275</wfw:commentRss><description>&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;pre&gt;&amp;nbsp;Hi All.&lt;/pre&gt;&lt;pre&gt;Can anyone help me with a little problem? &lt;/pre&gt;&lt;pre&gt;I&amp;#39;m getting compillation error in Site.Master file (I&amp;#39;m using MVC Beta and mvcsamples-17126 build)&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&lt;strong&gt;Source Error:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;table class="" bgcolor="#ffffcc"&gt;&lt;tr&gt;&lt;td class=""&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=""&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;Line 21:       &amp;lt;div id=&amp;quot;main-nav&amp;quot;&amp;gt;
Line 22:         &amp;lt;ul&amp;gt;
&lt;font color="red"&gt;Line 23:           &amp;lt;li class=&amp;quot;first&amp;quot;&amp;gt;&amp;lt;%= Html.ActionLink(&amp;quot;Home&amp;quot;, &amp;quot;Index&amp;quot;, &amp;quot;Home&amp;quot;)%&amp;gt;&amp;lt;/li&amp;gt;
&lt;/font&gt;Line 24:           &amp;lt;li&amp;gt;&amp;lt;%= Html.ActionLink(&amp;quot;About Us&amp;quot;, &amp;quot;About&amp;quot;, &amp;quot;Home&amp;quot;)%&amp;gt;&amp;lt;/li&amp;gt;
Line 25:         &amp;lt;/ul&amp;gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;/font&gt;</description></item></channel></rss>