I'm using the free hosting service in a free plan. Until then, everything worked fine.
But after I've made some changes to my database, their database just does not work, it gets error:
The model backing the 'ContextEntities' context has changed since the database was created. Consider using Code First Migrations to update the database
This has already happened to me on my local machine and I resolved using the command line:
Update-Database -Verbose
that forces the database to be updated. And with that all worked out right.
I've done this several times on my local machine before uploading it, I've updated the database, but still their bank service says my context has changed and I have not updated it (I already have) / p>
Ok, searching I found this response from SOen which gives the proposed solution to add the following line in Global.asax :
Database.SetInitializer<YourDbContext>(null);
My questions are: How does this work? Is there another way I can resolve this problem (since I do not have access to the database because I'm using a free plan)?