Use the overloads that take the controller name too…
return RedirectToAction("Index", "MyController");
and
@Html.ActionLink("Link Name","Index", "MyController", null, null)
More Related Contents:
- Prevent Caching in ASP.NET MVC for specific actions using an attribute
- Restarting (Recycling) an Application Pool
- ASP.NET MVC: No parameterless constructor defined for this object
- Correct, idiomatic way to use custom editor templates with IEnumerable models in ASP.NET MVC
- Custom validation attribute that compares the value of my property with another property’s value in my model class
- Validation failed for one or more entities while saving changes to SQL Server Database using Entity Framework
- prevent property from being serialized in web API
- ASP.NET MVC Global Variables
- asp.net MVC 4 multiple post via different forms
- Razor: Declarative HTML helpers
- MVC web api: No ‘Access-Control-Allow-Origin’ header is present on the requested resource
- Adding your own HtmlHelper in ASP.NET MVC 3
- asp.net identity get all roles of logged in user
- asp.net-mvc: razor ‘@’ symbol in js file
- Visual Studio 2015 Broken Razor Intellisense
- LINQ to Entities does not recognize the method ‘System.Web.Mvc.FileResult’
- OWIN’s GetExternalLoginInfoAsync Always Returns null
- Client Id for Property (ASP.Net MVC)
- Determine Client’s Computer Name
- MVC 5 BeginCollectionItem with Partial CRUD
- Put content in HttpResponseMessage object?
- how to add querystring values with RedirectToAction method?
- MEF with MVC 4 or 5 – Pluggable Architecture (2014)
- Need an ASP.NET MVC long running process with user feedback
- Redirect to another page when user is not authorized in asp.net mvc3
- FileResult with MemoryStream gives empty result .. what’s the problem?
- Model binding with nested child models and PartialViews in ASP.NET MVC
- log4net with DI Simple Injector
- How to use SqlClient in ASP.NET Core?
- System.web.mvc missing