如何发布我的Web应用程序? [英] How to Publish my Web Application?

查看:106
本文介绍了如何发布我的Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我在asp.net的第一个项目....现在我想学习发布...我的本地计算机连接局域网...我使用的是Windows XP-VS2010 ...



我的项目位置是C:\ WebSites \ First



我改变了我的连接字符串,如下所示[web。 config]



Its my first project in asp.net....Now I wish to learn about publishing...with my local computer connected with LAN... Iam using Windows XP- VS2010...

my project location is "C:\WebSites\First"

I changed my connectionstring as like below [web.config]

<add name="MyLearnProject"

         connectionString="Server=192.128.1.14, 3290; Integrated Security=SSPI;Database=MyTest_Management; User Id=codeproject; Password=xxxxxxx"

         providerName="System.Data.SqlClient" />



然后发布...



发布方法:Webdeploy ...

服务网址:http://localhost/default.aspx ...... ???????这是错误吗? />


网站申请:MyDomainName.com/C:\WebSites\First\MyLearn_publish\MyLearn_publish ........ ??????是不是错了?



另外我是否必须选择在目的地标记为IIS应用程序。 ... ????

谢谢


And then for publish...

Publish method : Webdeploy...
Service url : http://localhost/default.aspx ......??????? Is it mistake?

Site Application : MyDomainName.com/C:\WebSites\First\MyLearn_publish\MyLearn_publish ........?????? Is it mistake?

Also whether I have to select this "Mark as IIS application on destination".... ????
Thanks

推荐答案

如果你想托管网站,只需要在IIS上添加它,您可以提供您选择的任何物理路径。试试这些链接



http://msdn.microsoft.com/en-us/library/zwk103ab.aspx [ ^ ]



http://www.dotnetspider.com/forum/265644- How-deploy-asp.net-websit-local-PC.aspx [ ^ ]
if you want to host a website ,simply you need to add it on the IIS ,you can give any physical path of your choice. Try these links

http://msdn.microsoft.com/en-us/library/zwk103ab.aspx[^]

http://www.dotnetspider.com/forum/265644-How-deploy-asp.net-websit-local-PC.aspx[^]


这篇关于如何发布我的Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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