从共享文件夹运行.net sql数据库应用程序? [英] Running a .net sql database application from shared folder?

查看:64
本文介绍了从共享文件夹运行.net sql数据库应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个使用Sql Server Express LocalDB文件来存储数据的应用程序,但是现在我差不多完成了我的客户端说他们想让它被多个用户访问(我最多认为4个)时间。



我是.NET的新手(这是我写的第一个应用程序),对编写网络应用程序一无所知。除此之外,他们甚至没有服务器,虽然他们计划购买NAS,我也不能测试网络应用程序。



我正在考虑将数据库部署到目标PC中的Shared文件夹,但我不确定当多个用户同时尝试写入数据库时​​是否会导致问题。这是一个可行的解决方案吗?



任何建议都非常受欢迎。

I am developing an application that uses a Sql Server Express LocalDB file to store data, but now that I am almost done my client says that they want it to be accessed by multiple users (I think 4 at most) at the same time.

I am very new to .NET (this is the first application I write) and know nothing about writing a network application. On top of this they do not even have a server yet, though they are planning on getting a NAS, and neither do I so I couldn't test a network application.

I was thinking of deploying the database to a Shared folder in the target PCs, but I'm not sure if it would cause problems when more than one user tries to write to the database at the same time. Is this a viable solution?

Any suggestions would be very welcome.

推荐答案

http://streetrat.in/Articles/Content/Things-to-know- before-using-LocalDB100.aspx?RatHistory = 100 [ ^ ]



这个问题在这里详细阐述,我已经提到过为什么LocalDB不能用作服务器。
http://streetrat.in/Articles/Content/Things-to-know-before-using-LocalDB100.aspx?RatHistory=100[^]

This issue has been elaborated here, and i have mentioned why LocalDB cannot be used as server.


这篇关于从共享文件夹运行.net sql数据库应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆