Piranha.core: Any Advise Deploying Piranha in Azure App Service

Created on 28 Dec 2020  路  3Comments  路  Source: PiranhaCMS/piranha.core

Hi There, Any advise deploying Piranha 8.4.0 with SQLLite DB on Azure App Service?
I'm using default connection string with piranha.mvc template. When I test locally everything is fine but it seems Azure doesn't see Piranha.db and redirects to initial Default page with Seed data.
Thanks.

"ConnectionStrings": {
"piranha": "Filename=./piranha.db"
}

question

Most helpful comment

But as always we generally advice against using SQLite as production database, especially if you expect a lot of traffic. As soon as you need to scale up your application so it runs in a cluster, having a disk based database is not 100% reliable. Azure has cheap entry level plans for other database such as SQLServer as well!

Regards

All 3 comments

If you want to include your local SQLite database in your deploy, make sure you鈥檝e added the db file to you csproj!

https://stackoverflow.com/questions/54762744/net-core-include-folder-in-publish/54762901

Regards

But as always we generally advice against using SQLite as production database, especially if you expect a lot of traffic. As soon as you need to scale up your application so it runs in a cluster, having a disk based database is not 100% reliable. Azure has cheap entry level plans for other database such as SQLServer as well!

Regards

Thank you very much.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tidyui picture tidyui  路  6Comments

baibhavs picture baibhavs  路  3Comments

stefanolsenn picture stefanolsenn  路  3Comments

codesoroush picture codesoroush  路  6Comments

SamBray picture SamBray  路  3Comments