如何托管asp.net网站和数据库脚本 [英] how to host asp.net website and database scripts

查看:72
本文介绍了如何托管asp.net网站和数据库脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友您好,我有一个托管asp.net网站的问题。我有用于托管域名和数据库脚本的用户名和密码。由于我没有托管任何网站,直到约会,我可以有人告诉我有关过程或一些很好的链接,我可以找到相关的教程。

请尽快帮助。

Hello friends, I have a problem of hosting the asp.net website. I have username and password for hosting with domain name and a database script . Since i havenot hosted any website till date, can i have someone to tell me about the process or some good links where i can find the relevant tutorials.
Please help asap.

推荐答案

查看此链接



http://www.w3schools.com/hosting/ [ ^ ]


您好karkiB123,



请在服务器上托管您的网站。

更改web.config文件连接字符串。



< connectionStrings>

< add name =Connection_NameconnectionString =Data Source = IP_Address eg。(123.456.789.23); Initial Catalog = DatabaseName; Integrated Security = TrueproviderName =System.Data.SqlClient/>

< / connectionStrings>





谢谢!
Hi karkiB123,

Please host your website on server.
Change the web.config file connection string.
like
<connectionStrings>
<add name="Connection_Name" connectionString="Data Source=IP_Address eg.(123.456.789.23);Initial Catalog=DatabaseName;Integrated Security=True"providerName="System.Data.SqlClient" />
</connectionStrings>


Thanks!


这篇关于如何托管asp.net网站和数据库脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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