问题描述
我没有,因为VB 3使用Visual Studio中,我试图给它与ASP.NET的一个镜头。看来,它应该是能够连接到一个网站(通过某种协议一样我想FTP的),并允许无需手动上传/下载文件进行编辑。这是它应该工作还是我错理解的方式吗?我一直在使用创建新网站和开放式网站使用我的测试域(GoDaddy代管,不知道是不是这个问题为好)尝试,每次它给我的错误。我不知道如果我做错了什么,或试图做一些这并不意味着
I haven't used Visual Studio since VB 3 and am trying to give it a shot with ASP.NET. It seems that it should be able to connect to a website (via some sort of ftp like protocol I figure) and allow to edit without having to manually upload/download the files. Is this the way it is supposed to work or am I mis-understanding? I have tried using 'create new website' and 'open website' using my testing domain (hosted by godaddy, wondering if that may be the issue as well), each time it gives me errors. I'm not sure if I'm doing something wrong or trying to do something it wasn't meant to.
推荐答案
您真的不想直接在Live网站的工作,你呢?这只是疯狂。一个小错误,你大清洗的部位。
You really don't want to be working directly on a live web site, do you? That's just crazy. One little mistake and you've hosed the site.
Visual Studio中现在有它自己的内置Web服务器。您可以使用该测试。如果你真的不想使用,你可以把IIS在本地计算机上,或成立一个开发/ QA服务器的某个地方。在这种情况下,你会通过文件共享进行编辑。
Visual Studio now has it's own built in web server. You use that for testing. If you really don't want to use that you can put IIS on your local machine or set up a Dev/QA server somewhere. In that case, you'd edit it via a file share.
您应该使用某种形式的源代码控制。即使是一个单一的开发是非常重要的。当与编程会话结束后,您检查更新回源代码管理。
You should be using some kind of source control. Even for a single developer it's very important. When finished with a programming session, you check your updates back into source control.
最后,该网站的通过合适的QA流程只走了之后,生产服务器从源头控制更新,而不是从Visual Studio中。
Finally, only after the site's gone through a suitable QA process, the production server is updated from source control, not from within visual studio.
这篇关于如何使用ASP.NET与Visual Studio 2008的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!