Questions tagged [asp.net-mvc-futures]

The futures project contains features that the ASP.NET MVC team is considering for a future release of ASP.NET MVC.

The futures project contains features that the ASP.NET MVC team is considering for a future release of ASP.NET MVC. Available at http://aspnet.codeplex.com/

35 questions
36
votes
3 answers

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?
Palani
  • 8,962
  • 11
  • 53
  • 62
13
votes
1 answer

What is the syntax for a strongly-typed ActionLink in MVC 4 with MVC 4 Futures?

I am using a new MVC 4 Internet application template with Visual Studio 2012. I have installed the Nuget package for MVC 4 Futures. In my _Layout.cshtml I am building the navigation menu. This works and builds the correct…
shanabus
  • 12,989
  • 6
  • 52
  • 78
12
votes
2 answers

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…
Zack Peterson
  • 56,055
  • 78
  • 209
  • 280
8
votes
1 answer

T4MVC, is it outdated? Still good? If not what else to use?

Folks, As of today should I introduce T4MVC in my project or use strongly typed goodness from MvcContrib? return RedirectToAction(MVC.MyController.MyAction()); or return RedirectToAction(c => c.MyAction()); Trying to stick with…
7
votes
1 answer

Strongly Typed RedirectToAction (Futures) using async Controllers

having this code it gives me a warning : Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. public async Task
Bart Calixto
  • 19,210
  • 11
  • 78
  • 114
7
votes
2 answers

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…
keithm
  • 2,813
  • 3
  • 31
  • 38
6
votes
1 answer

ASP.NET MVC 3 RESTful Routing: RouteData must contain an item named Action?

We are using the ASP.NET MVC Futures project (Microsoft.Web.Mvc) to enable an MVC 3 application to use RESTful routes. This application has been working perfectly under MVC 1 and its related System.Web.Mvc.Resources.dll assembly for the same…
6
votes
1 answer

ASP.net MVC Action URLs with lambda expression

I'm sure I have seen this syntax <%= Url.Action((MyController c) => c.MyMethod("a")) %> or something like it as a way to generate action URLs in ASP.net MVCs without magic strings. However, I can't find that Action overload. I have ASP.NET MVC 1.0.…
erikkallen
  • 33,800
  • 13
  • 85
  • 120
5
votes
3 answers

MVC3 ActionLink with images (but without MvcFutures)?

I was wondering if anyone knows if it possible to use any of the "out of the box" ASP.NET MVC3 helpers to generate a "link button"...I currently use following:
zam6ak
  • 7,229
  • 11
  • 46
  • 84
4
votes
1 answer

MvcContrib vs. MvcFutures

What is the relation between MvcContrib and MvcFutures? Looks like MvcFutures contains code that will be part of future ASP.NET MVC releases and MvcContrib is less official library which contains some features from community. Am I right?
SiberianGuy
  • 24,674
  • 56
  • 152
  • 266
4
votes
2 answers

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?
Steve Horn
  • 8,818
  • 11
  • 45
  • 60
4
votes
1 answer

Cannot find Html.Serialize helper in MVC 5 futures

I just installed MVC 5 futures in my solution using Package Manager, but I cannot find this helper method Html.Serialize, which was there in previous MVC Futures releases. My Question: What namespace I need to include to start using Html.Serialize…
Sunil
  • 20,653
  • 28
  • 112
  • 197
4
votes
1 answer

Is there an official page for ASP.NET MVC Futures?

I am planning to integrate Mvc.Futures in my project, but am unable to find any official documentation for this library. Official project page on nuget.org points to old asp.net project page on codeplex and even there is not so clear where…
ljubomir
  • 1,495
  • 1
  • 21
  • 40
4
votes
1 answer

MVC 4 / Entity Framework 5 / Code First - Persisting a collection (list of objects) in a view - a few questions

My project has several models, some with 1:many relationships with other models. A user has a profile page, this is split up into several partial views - each grouping/representing specific attributes of the given model. If for example, I want to…
MattSull
  • 5,514
  • 5
  • 46
  • 68
4
votes
1 answer

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…
jimr
  • 191
  • 1
  • 6
1
2 3