Category: azure development
Nathan Power on Sat, 02 Mar 2013 19:38:15
I have been working on a personal project as a means to learn ASP.NET MVC, and Entity Framework. I have built a web application using Visual Studio 2012 / MVC 4 / Entity Framework 5 (Code First).
I used the Web Application template in VS 2012, as I wanted to use the default login / authentication behaviour.
Upon using the publish wizard in VS 2012 to deploy to Azure, I noticed that my database created using EF had been deployed correctly, but the database used for the user details was not.
Is this because the Azure Websites free trial only allows one database ?
What are my options here ? Perhaps put both DBContext classes in one database (seems to be not recommended, and anyway only supported by EF 6) ?
I am getting http 500 errors on some pages of the site (not sure if related to missing database), but it appears to be talking to the main database OK.
Qin Dian Tang - MSFT on Mon, 04 Mar 2013 03:25:46
Since the issue is related to Iaas, I have moved this thread to Web Sites forums for getting a better support.
Thanks for your understanding.
Jim Cheshire on Mon, 04 Mar 2013 14:05:00
Are you talking about the default membership database for ASP.NET?