<?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>Search results matching tag 'Framework'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Framework&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'Framework'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>How Do I Switch From Framework 2.0 to 3.5 in VS2008?</title><link>http://forums.asp.net/thread/3286688.aspx</link><pubDate>Fri, 10 Jul 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3286688</guid><dc:creator>VBCoder60</dc:creator><description>&lt;p&gt;&amp;nbsp;I have Microsoft Visual Studio 2008 installed on my machine along with the latest version of Microsoft Windows SDK.&amp;nbsp; While studying for Exam 70-536 (Framework 2.0) I made a change in my environment so that all projects will be created in Framework 2.0.&amp;nbsp; I have passed the exam and now I need make the necessary confirguration change so that all new projects defaults to framework 3.5.&amp;nbsp; Please note that while creating a new project it gives you the option of chosing the which framework to use (2.0, 3.0, 3.5) but it does not matter what option you choose, only framework 2.0 is used.&lt;/p&gt;
&lt;p&gt;For example, I created a new ASP.net website and chose framework 3.5 from the dropdown&amp;nbsp;box when creating the site.&amp;nbsp; I then started the ASP.NET Configuration tool (Website| ASP.Net Configuration) and enabled tracing.&amp;nbsp; I then looked at the &amp;quot;trace.axd&amp;quot; page and noticed that 2.0 of the framework was used.&amp;nbsp; Below is the line in the trace which shows the framework version:&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074 &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe I need make the change within the Microsoft Windows SDK but I don&amp;#39;t remember how...I would appreciate help on this.&amp;nbsp; Also, there two versions of the SDK on my machine, which one should be active so that I am using the latest version?&amp;nbsp; Should I be using &amp;quot;V6.0A&amp;quot; or &amp;quot;v6.1&amp;quot;?&lt;/p&gt;</description></item><item><title>wha is the default .net  frame work  with visula studio 2008</title><link>http://forums.asp.net/thread/2756909.aspx</link><pubDate>Thu, 20 Nov 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2756909</guid><dc:creator>sujithukvl@gmail.com</dc:creator><description>&lt;p&gt;1)what is the default .net&amp;nbsp; frame work&amp;nbsp; with visula studio 2008?&lt;/p&gt;
&lt;p&gt;3 or 3.5 ?&lt;/p&gt;
&lt;p&gt;2)is there any advanced frame work avalible?&lt;/p&gt;</description></item><item><title>Error framework 3.5SP1 installation</title><link>http://forums.asp.net/thread/2740967.aspx</link><pubDate>Wed, 12 Nov 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2740967</guid><dc:creator>sosnix</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have trouble with installation framework.net 3.5 SP1.&lt;/p&gt;&lt;p&gt;This is image with error&lt;/p&gt;&lt;p&gt;&lt;img src="http://img520.imageshack.us/my.php?image=errorsh2.jpg" alt="" /&gt; &lt;a href="http://img520.imageshack.us/my.php?image=errorsh2.jpg"&gt;http://img520.imageshack.us/my.php?image=errorsh2.jpg&lt;/a&gt;&lt;/p&gt;&lt;p&gt;My OS: Win XP sp2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have installed Net Framework 2.0 SP1 with VS web express 2005.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Best Regards&lt;/p&gt;&lt;p&gt;Martin Sosna &lt;br /&gt;&lt;/p&gt;</description></item><item><title>.Net Framework 2.0 3.0 and now 3.5...can I remove some?</title><link>http://forums.asp.net/thread/2718585.aspx</link><pubDate>Sat, 01 Nov 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2718585</guid><dc:creator>uktimike</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi ASP.net&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been installing the Express editions and following the recommendations to install the latest .Net Frameworks...however I now have 4 of them and there not exactly light. Do I need ot keep all of them or can some be removed bevause the later version make them redundant.&lt;/p&gt;&lt;p&gt;I ask because I am trying to clean up my machine and get some space back...but if it&amp;#39;s not advisable then I can live with the weight.&lt;/p&gt;&lt;p&gt;Many thanks&lt;/p&gt;&lt;p&gt;Mike. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Compact .Net Framework</title><link>http://forums.asp.net/thread/2697851.aspx</link><pubDate>Tue, 21 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2697851</guid><dc:creator>User Experience</dc:creator><description>&lt;p&gt;I&amp;#39;ve heard rumblings of a compact .Net 3.5 framework, I need it for a Platform I&amp;#39;m currently using (PerfectMind) to build apps using WPF, I&amp;#39;m using WPF because I need my applications to be RUI and look very impressive. Is this compact framework out yet? Is it going to be that different from the original?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Project Properties... using 3.5 Framework instead of 2.0</title><link>http://forums.asp.net/thread/2598955.aspx</link><pubDate>Wed, 03 Sep 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2598955</guid><dc:creator>kmj2384</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Whenever I open a tutorial website using Visual Web Developer 2008, it says my current framework is 2.0 and asks if I would like to use 3.5 and that I can always go back to 2.0 from project properties.&lt;/p&gt;
&lt;p&gt;Where can I find project properties in VWD2008 so that I can change my framework to 3.5?&amp;nbsp; Thank you.&lt;/p&gt;</description></item><item><title>VS 2003 and .net framework 2.0 ?</title><link>http://forums.asp.net/thread/2513998.aspx</link><pubDate>Fri, 25 Jul 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2513998</guid><dc:creator>akhilkumars</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi all...&lt;/p&gt;&lt;p&gt;Does anyone have experience of using VS .NET 2003 and .NET framework 2.0? Is it possible to do so? I read that .net 2.0 came after VS 2003. So is there any plug ins available to incorporate both ? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>How change .net framework version VWD 2008 express edition is using</title><link>http://forums.asp.net/thread/2416519.aspx</link><pubDate>Wed, 11 Jun 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2416519</guid><dc:creator>jaqs</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi all =)&lt;/p&gt;&lt;p&gt;I wanna&amp;nbsp; change .net framework edition so visual studio will create a web.config including the assembly with another version&lt;/p&gt;&lt;p&gt;Right now my web.config is with this line:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;add tagPrefix=&amp;quot;asp&amp;quot; namespace=&amp;quot;System.Web.UI&amp;quot; assembly=&amp;quot;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&amp;quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;But i need it in another version and probably with a different publicKeyToken.&lt;/p&gt;&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;</description></item><item><title>Thoughts inspired by ASP.NET MVC Programming model</title><link>http://forums.asp.net/thread/2236880.aspx</link><pubDate>Mon, 17 Mar 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2236880</guid><dc:creator>AdarWesley</dc:creator><description>&lt;p&gt;I have been reading Scott Guthrie&amp;#39;s and Scott Hanselman&amp;#39;s posts on ASP.NET MVC and it got me thinking.&amp;nbsp; Here are a few points that I think would be interesting to discuss further:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Quite soon after I started developing &lt;strong&gt;Business Web Applications&lt;/strong&gt;, circa 2001, I came to the conclusion that the programming model offered at the time did not suite a &lt;strong&gt;Business Application&lt;/strong&gt; so well.&amp;nbsp; HTML, then ASP, and finally ASP.NET, had serious shortcomings as far as developing &lt;strong&gt;Business Applications&lt;/strong&gt;.&amp;nbsp; This is not to say that it was not possible to develop them.&lt;br /&gt;&lt;br /&gt;The programming model that came to my mind was as follows:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;UI happens in HTML in the Browser (no back and forth postbacks for updating the UI).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Navigation happens in the Browser (no need to go to the server to navigate to a&amp;nbsp;new page).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You only go to the server for &lt;strong&gt;Business&amp;nbsp;Processing&lt;/strong&gt; and &lt;strong&gt;Data&lt;/strong&gt;. (Well, this is kind of like AJAX)&lt;br /&gt;&lt;br /&gt;Wait a second; now that I think of it, this model reminds me of something!&amp;nbsp; Hmmm...&lt;br /&gt;This looks a lot like Smart Client Application, or Silverlight, but developed in HTML.&amp;nbsp; Wow, what do you know, the programming models for &lt;strong&gt;Business Applications&lt;/strong&gt; are merging ...&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Of course, none of the tools of the time supported the model I had in mind very well.&lt;br /&gt;&lt;br /&gt;In my opinion, &lt;strong&gt;ASP.NET MVC&lt;/strong&gt; takes a huge step in the right direction.&amp;nbsp; However, it is not quite there yet.&amp;nbsp; &lt;br /&gt;For instance, regarding Navigation, when you initiate a POST or a GET from the browser, it is the decision of the browser where to put the returning HTML.&amp;nbsp; This does not seem to sit so well with the notion that the &lt;strong&gt;ASP.NET MVC Controller&lt;/strong&gt; decides which &lt;strong&gt;View&lt;/strong&gt; to render on the server.&lt;br /&gt;Furthermore, if your navigation is done from the server by Rendering a new &lt;strong&gt;View&lt;/strong&gt;, does this mean that we will go back to whole pages refreshing every time you go to the server?&amp;nbsp; I thought we were on the verge of resolving this problem with AJAX.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ASP.NET MVC&lt;/strong&gt; is &lt;strong&gt;NOT&lt;/strong&gt; &lt;strong&gt;ASP.NET&lt;/strong&gt;!&amp;nbsp; In all the blog posts and presentations I saw coming out from Microsoft about &lt;strong&gt;ASP.NET MVC&lt;/strong&gt; they make a point to say that it is an extension on top of &lt;strong&gt;ASP.NET&lt;/strong&gt; and that the two models will play well together.&amp;nbsp; I think that in reality, this is not the case.&amp;nbsp; If the&amp;nbsp;&lt;strong&gt;ASP.NET MVC&lt;/strong&gt; programming model catches on, it will completely deprecate &lt;strong&gt;ASP.NET&lt;/strong&gt;.&amp;nbsp; &lt;strong&gt;ASP.NET&lt;/strong&gt; is about the controls and their event handling model.&amp;nbsp; But the &lt;strong&gt;ASP.NET&lt;/strong&gt; controls are a no no in &lt;strong&gt;ASP.NET MVC&lt;/strong&gt; because no Post Back is allowed (or supported).&amp;nbsp; This is just the same as the fact that you can still use &lt;strong&gt;ASP&lt;/strong&gt; style programming in your &lt;strong&gt;ASP.NET pages&lt;/strong&gt;, however, no one in their right mind does.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ASP.NET MVC&lt;/strong&gt; does a great job in regard to &lt;strong&gt;&amp;quot;Separation Of Concerns&amp;quot;&lt;/strong&gt;.&amp;nbsp; However, when I originally learned about the &lt;strong&gt;MVC Pattern&lt;/strong&gt; it was suggested that an implementation would allow&amp;nbsp;sharing the business part of the application between Web and WinForms based UI implementations of the same application.&amp;nbsp; I am not sure &lt;strong&gt;ASP.NET MVC&lt;/strong&gt; is suitable for this (or was intended to do this).&amp;nbsp; So, this brings up a couple of questions:&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Is it possible to share the business part of the application between a WinForms implementation and a Web implementation of the UI?&amp;nbsp; How much customization would that require?&lt;/li&gt;
&lt;li&gt;How much further does the model need to be changed to support this inherently?&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;In summary, I would l to say that these are just my thoughts.&amp;nbsp; I hope that they will contribute to a fruitful discussion and to a better implementation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;---&lt;/p&gt;
&lt;p&gt;Adar Wesley&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Web User Controls + Controllers?</title><link>http://forums.asp.net/thread/2120438.aspx</link><pubDate>Sun, 20 Jan 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2120438</guid><dc:creator>tgmdbm</dc:creator><description>
&lt;p&gt;Yeah. you can put a Controller class anywhere, even the root if you like, but i like \Controllers\Controls for a controller which renders a control as opposed to a page.&lt;/p&gt;

&lt;p&gt;Then when you want to render your control, you don&amp;#39;t use Html.RenderUserControl, what you do is call a method on a controller. I&amp;#39;ve written a helper method to do this but it&amp;#39;s a bit of a hack. I&amp;#39;ll show you my first attempt and then what that turned into.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;The following will be called like - &amp;lt;% Html.Call&amp;lt;MyController&amp;gt;( c =&amp;gt; c.Index() ); %&amp;gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;    &lt;span class="kwd"&gt;public static void&lt;/span&gt; Call&amp;lt;TController&amp;gt;(&lt;span class="kwd"&gt;this&lt;/span&gt; HtmlHelper helper, Action&amp;lt;TController&amp;gt; method) where TController : &lt;span class="kwd"&gt;class&lt;/span&gt;, IController&lt;br /&gt;&lt;b id="2"&gt;2    &lt;/b&gt;    {&lt;br /&gt;&lt;b id="3"&gt;3    &lt;/b&gt;      IHttpContext context = helper.ViewContext.HttpContext;&lt;br /&gt;&lt;b id="4"&gt;4    &lt;/b&gt;      RouteData routeData = helper.ViewContext.RouteData;&lt;br /&gt;&lt;b id="5"&gt;5    &lt;/b&gt;      RequestContext requestContext = &lt;span class="kwd"&gt;new&lt;/span&gt; RequestContext( context, routeData );&lt;br /&gt;&lt;b id="6"&gt;6    &lt;/b&gt;
&lt;b id="7"&gt;7    &lt;/b&gt;      TController controller = ControllerBuilder.Current.CreateController( requestContext, &lt;span class="kwd"&gt;typeof&lt;/span&gt;( TController ) ) &lt;span class="kwd"&gt;as&lt;/span&gt; TController;&lt;br /&gt;&lt;b id="8"&gt;8    &lt;/b&gt;
&lt;b id="9"&gt;9    &lt;/b&gt;      &lt;span class="kwd"&gt;if&lt;/span&gt;( controller == &lt;span class="kwd"&gt;null&lt;/span&gt; )&lt;br /&gt;&lt;b id="10"&gt;10   &lt;/b&gt;        &lt;span class="kwd"&gt;return&lt;/span&gt;;&lt;br /&gt;&lt;b id="11"&gt;11   &lt;/b&gt;
&lt;b id="12"&gt;12   &lt;/b&gt;      method( controller );&lt;br /&gt;&lt;b id="13"&gt;13   &lt;/b&gt;    }&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Fairly simple and easy to read. new up a request context, passing in the current values. Build a controller and call the action. But obviously this doesn&amp;#39;t work. It looks in the wrong folder for the view. the controller context is null. and TempData is null.&lt;/p&gt;

&lt;p&gt;So, we need to:&lt;br /&gt;copy the route data without modifying the original.&lt;br /&gt;set the new controller name in the route data.&lt;br /&gt;new up a controller context and pass that to the controller (This step prevents us from being able to act on an IController, and only works for instances of Controller, which is a shame).&lt;br /&gt;And pass TempData to the controller, even tho the setter is not public... &lt;/p&gt;

&lt;p&gt;Here&amp;#39;s the code.&amp;nbsp;&lt;/p&gt;

&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;    &lt;span class="kwd"&gt;public static void&lt;/span&gt; Call&amp;lt;TController&amp;gt;(&lt;span class="kwd"&gt;this&lt;/span&gt; HtmlHelper helper, Action&amp;lt;TController&amp;gt; method) where TController : Controller&lt;br /&gt;&lt;b id="2"&gt;2    &lt;/b&gt;    {&lt;br /&gt;&lt;b id="3"&gt;3    &lt;/b&gt;      IHttpContext context = helper.ViewContext.HttpContext;&lt;br /&gt;&lt;b id="4"&gt;4    &lt;/b&gt;      RouteData routeData = &lt;span class="kwd"&gt;new&lt;/span&gt; RouteData();&lt;br /&gt;&lt;b id="5"&gt;5    &lt;/b&gt;&lt;br /&gt;&lt;b id="6"&gt;6    &lt;/b&gt;      &lt;span class="cmt"&gt;// Copy RouteData&lt;/span&gt;&lt;br /&gt;&lt;b id="7"&gt;7    &lt;/b&gt;      &lt;span class="kwd"&gt;foreach&lt;/span&gt;( &lt;span class="kwd"&gt;string&lt;/span&gt; key &lt;span class="kwd"&gt;in&lt;/span&gt; helper.ViewContext.RouteData.Values.Keys )&lt;br /&gt;&lt;b id="8"&gt;8    &lt;/b&gt;      {&lt;br /&gt;&lt;b id="9"&gt;9    &lt;/b&gt;        routeData.Values[key] = helper.ViewContext.RouteData.Values[key];&lt;br /&gt;&lt;b id="10"&gt;10   &lt;/b&gt;      }&lt;br /&gt;&lt;b id="11"&gt;11   &lt;/b&gt;&lt;br /&gt;&lt;b id="12"&gt;12   &lt;/b&gt;      &lt;span class="cmt"&gt;// Replace controller name&lt;/span&gt;&lt;br /&gt;&lt;b id="13"&gt;13   &lt;/b&gt;      &lt;span class="kwd"&gt;string&lt;/span&gt; controllerName = &lt;span class="kwd"&gt;typeof&lt;/span&gt;( TController ).Name;&lt;br /&gt;&lt;b id="14"&gt;14   &lt;/b&gt;&lt;br /&gt;&lt;b id="15"&gt;15   &lt;/b&gt;      &lt;span class="kwd"&gt;if&lt;/span&gt;( controllerName.EndsWith( &lt;span class="st"&gt;&amp;quot;Controller&amp;quot;&lt;/span&gt;, StringComparison.OrdinalIgnoreCase ) )&lt;br /&gt;&lt;b id="16"&gt;16   &lt;/b&gt;        controllerName = controllerName.Remove( controllerName.Length - 10 );&lt;br /&gt;&lt;b id="17"&gt;17   &lt;/b&gt;&lt;br /&gt;&lt;b id="18"&gt;18   &lt;/b&gt;      routeData.Values[&lt;span class="st"&gt;&amp;quot;controller&amp;quot;&lt;/span&gt;] = controllerName;&lt;br /&gt;&lt;b id="19"&gt;19   &lt;/b&gt;&lt;br /&gt;&lt;b id="20"&gt;20   &lt;/b&gt;      &lt;span class="cmt"&gt;// Create the controller&lt;/span&gt;&lt;br /&gt;&lt;b id="21"&gt;21   &lt;/b&gt;      RequestContext requestContext = &lt;span class="kwd"&gt;new&lt;/span&gt; RequestContext( context, routeData );&lt;br /&gt;&lt;b id="22"&gt;22   &lt;/b&gt;      TController controller = ControllerBuilder.Current.CreateController( requestContext, &lt;span class="kwd"&gt;typeof&lt;/span&gt;( TController ) ) &lt;span class="kwd"&gt;as&lt;/span&gt; TController;&lt;br /&gt;&lt;b id="23"&gt;23   &lt;/b&gt;&lt;br /&gt;&lt;b id="24"&gt;24   &lt;/b&gt;      &lt;span class="kwd"&gt;if&lt;/span&gt;( controller == &lt;span class="kwd"&gt;null&lt;/span&gt; )&lt;br /&gt;&lt;b id="25"&gt;25   &lt;/b&gt;        &lt;span class="kwd"&gt;return&lt;/span&gt;;&lt;br /&gt;&lt;b id="26"&gt;26   &lt;/b&gt;&lt;br /&gt;&lt;b id="27"&gt;27&lt;/b&gt;        &lt;span class="cmt"&gt;// Set ControllerContext event tho CreateController had enough information to do so.&lt;/span&gt;&lt;br /&gt;&lt;b id="27"&gt;28   &lt;/b&gt;      controller.ControllerContext = &lt;span class="kwd"&gt;new&lt;/span&gt; ControllerContext( requestContext, controller );&lt;br /&gt;&lt;b id="28"&gt;29   &lt;/b&gt;
&lt;b id="29"&gt;30   &lt;/b&gt;      &lt;span class="cmt"&gt;// HACK HACK HACK&lt;/span&gt;
&lt;b id="30"&gt;31   &lt;/b&gt;      PropertyInfo tdProp = &lt;span class="kwd"&gt;typeof&lt;/span&gt;( TController ).GetProperty( &lt;span class="st"&gt;&amp;quot;TempData&amp;quot;&lt;/span&gt; );&lt;br /&gt;&lt;b id="31"&gt;32   &lt;/b&gt;      tdProp.SetValue( controller, helper.ViewContext.TempData, &lt;span class="kwd"&gt;null&lt;/span&gt; );&lt;br /&gt;&lt;b id="32"&gt;33   &lt;/b&gt;
&lt;b id="33"&gt;34   &lt;/b&gt;      &lt;span class="cmt"&gt;// Call method.&lt;/span&gt;
&lt;b id="34"&gt;35   &lt;/b&gt;      method( controller );&lt;br /&gt;&lt;b id="35"&gt;36   &lt;/b&gt;    }&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Another way to do this would be to change Action&amp;lt;TController&amp;gt; to Expression&amp;lt;Action&amp;lt;TController&amp;gt;&amp;gt; and build up the route data from that and then call Execute on the controller. But i think my first attempt is Ideal. It would be great if this was possible in a future release.&lt;br /&gt;&lt;/p&gt;
</description></item></channel></rss>