部署基于SQL Server 2005的应用程序 [英] Deploy sql server 2005 based application
本文介绍了部署基于SQL Server 2005的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲人,
我正在使用C#应用程序并将sql server 2005用于数据库.
我如何部署应用程序?
我不知道是否应该更改数据库的连接字符串, 是的,我该怎么做?
谢谢
hi Folks,
I am working on C# Application and using sql server 2005 for databases.
how i can deploy the Application?
i don''t know if i should change the connection string of database , if yes how i can do that?
thank you
推荐答案
将连接字符串保留在web.config/app.config文件中.
要部署ASP.NET应用程序,请选中它或用Google搜索.
http://www.beansoftware.com/asp.net-tutorials/deploy-asp. net.aspx [ ^ ]
要部署Windows应用程序,请选中此选项或在Google上对其进行搜索
http://www.beansoftware.com/Windows-Forms-Tutorials/Deploy- NET-Windows-Application.aspx [ ^ ]
部署应用程序后,您只需找到配置文件并相应地更改连接字符串.
Keep your connection string in the web.config/app.config file.
To deploy ASP.NET Application check this or google it.
http://www.beansoftware.com/asp.net-tutorials/deploy-asp.net.aspx[^]
To deploy a windows application check this or google it
http://www.beansoftware.com/Windows-Forms-Tutorials/Deploy-NET-Windows-Application.aspx[^]
Once your application is deployed you just locate the configuration file and change the connection string accordingly.
这篇关于部署基于SQL Server 2005的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文