Top "Controller-action" questions

How to serve html file from another directory as ActionResult

I have a specialised case where I wish to serve a straight html file from a Controller Action. I want …

html asp.net-mvc actionresult controller-action
Enforce Action Filter on all Controller Actions (C# / ASP.NET MVC)

I made a new action filter (attribute, similar to [Authorize]) which authorizes access to a controller action based on a …

c# .net asp.net-mvc controller-action action-filter
Html.Action - Get versus Post

I do this very often: <div id='Product'> @Html.Action("Create", "Product") </div> it's convenient because …

asp.net-mvc-3 razor controller-action
Rails: Custom nested controller actions

I want to setup a custom nested controller actions but I can't figure out the routing. I keep getting the …

ruby-on-rails custom-action nested-routes controller-action