c# - Change DB from local to azure not working -


i have created mvc 5 project in visual studio 2013 work against local db , working expected,now want replace localdb(v11) new db have created in azure (same data structure) ,how should ? guess need replace connection string server , db name since connection string long dont know should remove , add,please assist .

in azure can @ front-screen database , click 'view sql database connection strings.' bring pop-up shows ado.net connection string.

azure - find connection strings

once you've got azure string can insert config file so:

<add name="connectionstring" connectionstring="<azure connection string>" providername="system.data.sqlclient" /> 

you can configure azure db server allow connections local machine. enable connect database while running locally.

azure db firewall


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -