I used to do standard MVC3/EF4, and took a few years out... and it seems so much has changed.
I created a new app using MVC5 - it started fast and works, I then added my EF models and I got a warning that the schema had changed and I need to use Migrations (looks exciting!).... I am a little confused as I hadn't launched a controller so I don't understand when/how it built the EF model.
Anyway, I figured out that the new MVC5 authentication uses EF out the box, and I figured it was related to that (so much to learn now!) - as I only had one test user, I thought I would just drop the database and allow the application to rebuild everything.
So, I deleted it and relaunched...
In my main Chrome session, I had the logged in cookie, and it is now coming up with a "Object reference not set to an instance of an object."
The moment I clear my cookies or use incognito, it clears it - and I can create users again/the models get created as expected.
My debugger isn't firing and I can't figure out what is actually breaking here...
Can anyone shed any light on this?