Tag: Flash Messages

  • Rails Flash Messages in MVC4

    Hey everyone, Coming from Rails I’d grown quite fond of flash messages. Unfortunately there isn’t a built in way of doing this in MVC4. Luckily, there’s a five minute solution posted on StackOverflow: http://stackoverflow.com/a/11809178/522859 Once implemented, it works just like in Rails: this.Flash(“We need you to login before you can edit anything.”, FlashEnum.Warning); Definitely worth…

Create a website or blog at WordPress.com