Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Feature: Add support for "Server.Transfer" ("TransferToAction") [798]

$
0
0
Please add suppoort for changing the invoked MVC action method ( WITHOUT having to create a new http request, as RedirectToRouteResult does).
I think it should be possible to change/forward/transfer the targeted action method from an ActionFilterAttribute (and maybe also from some other kind of general hook point, for example maybe from within an implementation of IModelBinder).

It seems as people try to implement this kind of feature themselves with their own classes such as:
TransferToAction / TransferResult / TransferToRouteResult / MVCTransferResult
(
http://stackoverflow.com/questions/9559642/how-to-redirect-mvc-action-without-returning-301-using-mvc-4-beta
http://stackoverflow.com/questions/14447297/asp-net-mvc-4-how-to-access-modify-the-view-model-object-and-change-view-and-a
http://stackoverflow.com/questions/4174667/implementing-transferresult-in-mvc-3-rc-does-not-work?rq=1
http://stackoverflow.com/questions/799511/how-to-simulate-server-transfer-in-asp-net-mvc
http://stackoverflow.com/questions/847232/how-do-i-use-server-transfer-method-in-asp-net-mvc
)

It also seems as it tend to be difficult to keep up with that kind of code to make it keep working with new versions of MVC, so is it not now about time to implement real support for "Server.Transfer" in the core MVC code base ?

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>