Showing posts with label web. Show all posts
Showing posts with label web. 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.

Wednesday, 27 November 2013

Domain transfer gotcha

So I decided to move www.thirdprize.org from GoDaddy to NetCetera when my original hosting expired.  GoDaddy doen not support MVC4 and I fancied learning it.  They had it locked so the original attempt to transfer the domain failed.  I unlocked it, did the paperwork and tried again.  This time it seemed to work and my URL started to point at my newly created, newly hosted web site.  I used it quite happily for about a month, even rewriting my apps to use it to retrieve data.

So you can imagine my suprise when on the day of the original expiration, my URL started to point to a GoDaddy holding page.  It seems the original transfer did not go through and I had to initiate it all over again.  This meant my website and my apps were out of order for a good day or so.

As of time of writing, either the apps are working or the web site is working.  Not both at the same time.

So, moral of the story?  Always make sure your transfere went through successfully, even if it looks like it has.