difference between keeping database in app_data and connecting to an external database

放肆的年华 提交于 2020-02-04 18:45:32

问题


I want to know what is the difference between creating a database in app_data and connecting to a external database.

i went through this question.but i am not clear idea.

What's the difference between the database inside App_Data folder vs connecting to SQL Server?

what is the advantages/disadvantage of using each type.


回答1:


while developing, you will not see a big difference between both of them, but as many know, SQL server express has some limitations ( like supporting only 1 CPU) and this with intensive websites will affect the overall performance.

if your model is to develop locally using SQL express, then take the DB from your App_Data folder to a full SQL server instance( say on your hosting server) then no worries, but hosting your website and let SQL server express manage your end users, may result in bad performance solution.



来源:https://stackoverflow.com/questions/5728467/difference-between-keeping-database-in-app-data-and-connecting-to-an-external-da

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!