Showing posts with label mvc. Show all posts
Showing posts with label mvc. Show all posts

Saturday, 16 May 2015

Upgrading from MVC4 to MVC5

So Googles login in feature broke in the standard MVC4 web app form M$.  The only option seemed to be to upgrade a few things.  In the end I made a new web app project in VS2013 and copied everything into that.  A couple of gotchas though.

  • Google Connect now requires HTTPS to work.  This meant getting a IP address for my web site and getting it signed.  HTTP seems to redirect to HTTPS without any hassle.
  • MVC5 now uses Bootstrap for all its responsive/CSS formatting.  This means you should probably recode your HTML a bit.  It looks much nicer than the old one though.
  • It appears to use new tables for storing its user admin data in.  
It took about a day of copying code and pages over from one solution to the other.  Not bad really.