asp.net-mvc-futures

What is the MVC Futures Library ?

On Stack Overflow, I've seen a few people referring to the MVC Futures library What is this project? How do I use it? Where is the documentation? ...

Is ASP.NET MVC 1.0 Futures beta/preview code?

I understand that the "1.0" in "ASP.NET MVC 1.0 Futures" means that it is the ASP.NET MVC Futures built against the ASP.NET MVC 1.0 RTW (final/release to web). What I'd like to know is whether the Futures code is solid enough to treat as 1.0 / gold quality? We're about to jump into ASP.NET MVC for the first time and it came up that we s...

Would you recommend using the MVC Futures library?

Using magic strings in C# really unsettles me, so I'm thinking of using the MVC Futures library. Are there any reasons why I might not want to do this, or any gotchas I should be aware of? ...

How to integrate axd (Elmah) as component in ASP.NET MVC site

I have Elmah up and running in my ASP.NET MVC site and I would like to integrate its interface with the administration pages of the site. By default, you invoke the interface with the url ~/elmah.axd, which runs outside the MVC system. The installation requires you to tell MVC to ignore the route, so there's no controller or anything tha...

ActionLink within RenderAction

Hello, I'm using RenderAction to include the output of several "components" in my view. But everytime I use RenderAction calls to ActionLink within the nested action produce wrong routes. (Same for RouteLink.) If the action is called directly the correct routes are produced. So I call the action several times in the index action of my ...

ASP.NET MVC CookieTempDataProvider.DeserializeTempData returns null

I've been trying to use CookieTempDataProvider to pass a basic message between a post (entity update) and a get (entity list) using the RedirectToAction method. When using the default TempData implementation this works fine, however when I use the cookie-based version from the MVC Futures project, the TempData dictionary is empty after t...

ASP.NET MVC RequireHttps

How do I use the ASP.NET MVC 2 Preview 2 Futures RequireHttps attribute? I want to prevent unsecured HTTP requests from being sent to an action method. I want to automatically redirect to HTTPS. MSDN: RequireHttpsAttribute RequireHttpsAttribute Members RequireHttpsAttribute.HandleNonHttpsRequest Method How do I use this feature?...

Strongly typed Html.ActionLink<T>() helper extension from MVC Futures doesn't do well with areas

Hi, I noticed some odd behaviour when using the strongly typed HtmlHelper.ActionLink() extension method from ASP.NET MVC 2 Futures. When I use it to link to a controller in an area I have to use the following attribute on this controller [ActionLinkArea("SomeArea")] It links properly to the actions of the controller located in SomeAr...

ASP.NET MVC Futures 2 and MVCContrib 2 in the same web app / project

I have referenced both Microsoft.Web.Mvc.dll (MVC Futures 2) and MVCContrib.dll (from MVC Contrib 2), both current releases from Codeplex and I have a problem with strongly-typed RedirecToAction<>() function of Controller. It worked fine until I referenced Futures 2.. This is the compile time error. Apparently this function is implemen...

MVC2 and MVC Futures causing RedirectToAction issues

I've been trying to get the strongly typed version of RedirectToAction from the MVC Futures project to work, but I've been getting no where. Below are the steps I've followed, and the errors I've encountered. Any help is much appreciated. I created a new MVC2 app and changed the About action on the HomeController to redirect to the Inde...

ASP.Net MVC Futures Refresh For MVC2

With the release of MVC2, what noteworthy features are included in the refresh of the MVC Futures library? ...

Does the DataAnnotations.DisplayAttribute.Order property not work with ASP.NET MVC 2?

I set values for the Order property of the Display attribute in my model metadata. [MetadataType(typeof(OccasionMetadata))] public partial class Occasion { private class OccasionMetadata { [ScaffoldColumn(false)] public object Id { get; set; } [Required] [Display(Name = "Title", Order = 0)] ...

using mvc futures renderaction modelstate.isvalid is never false

I'm using MVC 2 and MVC Futures 2.0.50217.0. I started with a view which repeatedly calls RenderAction(...) to include some external content implemented by another controller within my application. This is from the containing view: <% foreach (var subModel in Model.SubModels) { %> <h3><%: subModel.Title %></h3> <% Html.RenderAc...

How do I install ASP.NET MVC 2 Futures?

I want to use the DataAnnotations.DisplayAttribute.Order property to arrange my fields when using the DisplayForModel and EditorForModel methods. Related question: Does the DataAnnotations.DisplayAttribute.Order property not work with ASP.NET MVC 2? I think that I need to use the ASP.NET MVC 2 Futures. But I can't get it to...

ASP.NET MVC 2 Futures documentation

Is there any documentation for ASP.NET MVC 2 Futures? ...

S#arp built from the trunk - problem with Microsoft.Web.Mvc

Hi, I’m not sure if i’m doing this the right way so i’m reaching out for a little help...there are some new features in the trunk that I want to take advantage of in my current s#arp project. I’ve downloaded the project from the trunk and run the go.bat file which succeeded, i then took the DLL files from the ‘build’ directory and over...