entity framework - Switching databases as Azure Project Develops, but Azure Website Keeps pointing to Linked resource -


i think may missing , hope can advise

i have been developing project using vs2013 ef6. use visual studio each time want deploy latest version of system azure website.

the azure website has linked database resource (sql azure database).

this has been going great. however, yesterday decided create virtual machine , move sql database dedicated azure virtual machine. did , have new database old linked resource one

so, i'm ready publish app , set new database settings on vm.

i changed connection string in publish wizard , published being sure have right settings, i.e. use connection string @ runtime , execute code first migrations etc

however, took me while realise app on cloud server published still pointing old linked resource azure database

i'm not sure else have to, thought changing publish setting database connection string

am missing something, should delete linked resource in azure website settings, if make work. weird because i'm publishing site again new settings, or azure read portals publish settings , somehow overidde want point database wise

please advise, many thanks

john

ps can connect fine new database local management studio. have no errors i'm not sure how tell azure use connect string in publish profile other doing

the "linked resource" in windows azure management portal should have no impact on application's functionality. way understand / visualize resources application using.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -