Skip to content
What I Broke

Let's take a look at what I've broken today

BlogAboutArchivesLinkedIn
16 March 2014Chris Owens

Redirect to Root - C# MVC4

ASP.NETGuidesWeb Development

Hey everyone,

Just a quick one, how to redirect to root from a controller:

return Redirect(Url.Content("~/"));

For more info, checkout this Stackoverflow post: http://stackoverflow.com/a/10292039/522859

TagsC#guideMVCMVC4Redirectredirect_toRootASP.NET
Previous postTwitter Bootstrap - Carousel Only CSS
Next postRails Flash Messages in MVC4

Find a fix

Topics

  • AWS35
  • Azure13
  • Errors146
  • Guides154
  • Robotics45
  • Web Development258
All categories

Archives

  • 20251
  • 20241
  • 202313
  • 202215
  • 202122
  • 202022
  • 201931
  • 201854
  • 201722
  • 20164
  • 201513
  • 201434
  • 201340
  • 201251
  • 201132

Chris Owens

Notes on programming, web development, and robotics.

Connect on LinkedIn
What I Broke · Chris Owens
RSSTagsLinkedIn