emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

Publishing to azure #15

Closed Lobonator closed 7 years ago

Lobonator commented 7 years ago

Hi, thanks a lot for this template it is really cool. Do you have issues when publishing to azure from VS 2017? VS does not detect any databases in the project so I guess when I try to uploading to azure it doesnt link database of this project to my newly created database. Do you any suggestions for me? Thanks in advance.

nkada commented 7 years ago

After publishing to Azure, add a App Setting with key = Data:DefaultConnection:ConnectionString and set the database connection string as value.

emonney commented 7 years ago

@Lobonator see @nkada comment for the solution. You have to do this configuration with Azure

emonney commented 7 years ago

Also you can change the connection string from "Data:DefaultConnection:ConnectionString" to "Data:DefaultConnection:ConnectionString" (Make sure you update all references). This format will be recognized by Azure. Future versions will use this format.

Closing.