EF Code First Migration throws StackOverflowException on Azure Web Role
问题 The issue occurs when executing EF 6.1.2 code first migrations in an Azure Web Role (WS 2012 R2). The same migrations run fine locally, even if I point the connection string to the (Azure) Sql Database. The StackOverflowException is thrown by Entity Framework code, and the first line of ANY of my migrations doesn´t even get hit. I have tried running the migrations in three different ways: DbMigrator migrator = new DbMigrator(configuration); migrator.Update(); // Here the exception is thrown