托管网站Asp.net MVC和SQL Server Compact 4 [英] Hosting site Asp.net MVC and SQL Server Compact 4
问题描述
在我的ISP,他们必须雇用服务的SQL Server来承载SQL Server精简框架?
这MVC要求主机的事实有一些额外的服务?或一个简单的托管计划已经支持asp.net MVC?
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?
推荐答案
您可以斌部署 SQL CE 4.只要确保你正在使用 RTM版本的原因是因为在测试版斌部署的一个问题。另请参阅<一个href=\"http://weblogs.asp.net/scottgu/archive/2010/06/30/new-embedded-database-support-with-asp-net.aspx\"相对=nofollow>斯科特谷的博客文章一下吧。
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,也可以斌部署,如果你的托管服务提供商没有安装在GAC大会。所有这一切的需要就是.NET 4.0。
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.
这是说的SQL CE是一个嵌入式数据库,而不是设计一个沉重的多线程环境,如ASP.NET工作。这是良好的发展空间和光的使用场景。对于大批量的网站和应用程序,你可能会想迁移它使用SQL Server防爆preSS或SQL Server。
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.
这篇关于托管网站Asp.net MVC和SQL Server Compact 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!