Hosting site Asp.net MVC and SQL Server Compact 4

為{幸葍}努か 提交于 2020-01-02 22:15:18

问题


In my ISP, they must hire service SQL Server to host a sql server compact framework? The fact that MVC requires the host to have some extra service? Or a simple hosting plan already supports asp.net MVC?


回答1:


You can bin-deploy SQL CE 4. Just make sure you are using the RTM version because there was a problem with bin-deployment in betas. Also see Scott Gu's blog post about it.

ASP.NET MVC 3 can also be bin-deployed if your hosting provider doesn't have the assemblies installed in the GAC. All that's need is .NET 4.0.

This being said SQL CE is an embedded database and not designed to work in a heavy multithreaded environments such as ASP.NET. It is good for development and light-usage scenarios. For high-volume sites and applications you'll probably want to migrate it to use SQL Server Express or SQL Server.



来源:https://stackoverflow.com/questions/5398937/hosting-site-asp-net-mvc-and-sql-server-compact-4

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