[英]LocalDb in asp.net project require some configurations to run on other machine? VS2012
I need to send a asp.net demo using SQL Server database. 我需要使用SQL Server数据库发送一个asp.net演示。 Is local db something require no configuration to run on other machine ?
本地数据库是否不需要配置即可在其他计算机上运行? Is it something if I include in project, on other machine other person will just run application in Visual Studio and LocalDb will be available there ?
如果我将其包含在项目中,在别人的机器上其他人将只在Visual Studio中运行应用程序,那里会提供LocalDb吗? or it will require some configurations on other machine as well ?
还是需要在其他机器上进行一些配置?
I m looking for a way there I can just add a database in my asp.net application and on other machine having visual studio should open and run it without any configuration. 我正在寻找一种方法,可以在asp.net应用程序中添加数据库,而在其他装有Visual Studio的计算机上,则无需任何配置即可打开并运行该数据库。 Please guide is LocalDb for this purpose or I should use any other solution ?
请为此指导LocalDb还是我应该使用其他解决方案?
Yes, the target machine should have SQL Sever Express 2012/2014 LocalDB installed. 是的,目标计算机应已安装SQL Sever Express 2012/2014 LocalDB 。 It comes with VS 2012 (as long as it was not deselected in the advanced options during setup).
它随VS 2012一起提供(只要在安装过程中未在高级选项中取消选择它)。
Read more at confusion about SQL Server Express and localdb 了解更多关于SQL Server Express和localdb的困惑
If you provide a demo for developers, you should list all requirements for the system, such as 如果为开发人员提供演示,则应列出系统的所有要求,例如
and they should take that into account when setting the demo. 他们在设置演示时应该考虑到这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.