使网站/项目变得可移植 - 检查清单

发布于 2024-07-15 05:57:03 字数 779 浏览 6 评论 0原文

晚上好/早上好/下午好。

我有一个 ASP.net 3.5 网站,我在 VWD 2008 Express 中使用 vb.net,我还使用 MS SQL Server 2008 Express,我使用了 ajax 选项卡和由 https://web.archive.org/web/20211020202742/https://www.4guysfromrolla .com/ 数据库附带 MS SQL Server Management Studio Express,文件存储在 SQL 默认的“Data”文件夹中。

整个项目的代码和表单都存放在我E盘的一个文件夹中。 我需要将整个项目交给另一位必须完成它的同事,请按步骤描述我如何使我的网站可移植(就像我可以将其全部放在他可以随身携带的闪存盘中的文件夹中)。

另一件事,我已经完成了我的项目,我需要将其发送给另一位程序员。

任何人都可以建议类似:清单或必须做的清单来实现这一目标吗?

PS:我在尝试将项目从一台服务器移动到另一台服务器时遇到了问题,该项目似乎在寻找 AJAX 控件的 dll 和文本框计数器,我最初在其中解压缩了它们所在的文件夹,我认为在我的桌面上,尽管当我将这些控件添加到“工具”选项卡时,我创建了一个新选项卡,然后我从解压缩控件源代码的位置选择了 dll,这还不够吗?

提前致谢

Good evening/morning/after/noon.

I have an ASP.net 3.5 website and I am using vb.net in VWD 2008 Express, I am also using MS SQL Server 2008 Express, I used ajax tabs and a textBox characters counter control developed by https://web.archive.org/web/20211020202742/https://www.4guysfromrolla.com/ The database is attached with MS SQL Server Management Studio Express and the files are stored in the SQL default "Data" folder.

The whole project's code and forms are stored in a folder in my E drive. I need to hand the whole project to another coworker who have to finish it, please describe in steps how can i make my website portable (like i can put it all in a folder that he can carry around in his flash disk).

One more thing, I already finished my side of the project, I need to ship it out to this other programmer.

Can anyone suggest something like a: Checklist or Must Do list to achieve this?

PS: I have had a problem trying to move the project from one server to the other, the project seems to look for the dlls of the AJAX control and the textBox counter where i originally unzipped the folders in which they cam in, which i think was on my desktop, although when i added those controls to the Tools tab, i created a new tab, then i choose the dll from the where i unzipped the controls source code, aint that enough?

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

俏︾媚 2024-07-22 05:57:03

我对所有解决方案使用以下文件夹结构

  • 解决方案

    • 文档

    • 脚本

    • sql

    • src

docs - 包含所有文档

libs - 包含所有解决方案使用的非 GAC 框架 dll。 您应该首先将 dll 复制到此处,然后以这种方式引用它们,它们是 src 文件夹中的重新引用。

脚本 - 为未安装 VS 和构建服务器的设计人员构建脚本

sql - 用于创建数据库的所有 sql 脚本

src - 全部 我们将此文件夹分解为以下文件/文件夹结构

  • 解决方案的源代码,
  • solution.slnproject1project2website1website2
  • 当您复制解决方案文件
  • 现在

夹时,一切都是相对的,因此将起作用。

我建议您将项目添加到源代码管理中,我建议 Subversion/SVNTortoiseSVN 客户端

I use the following folder structure for all my solutions

  • solution

    • docs

    • libs

    • scripts

    • sql

    • src

docs - contains all documentation

libs - contains all non GAC'ed framework dlls that the solution uses. You should copy the dlls in here first then reference them this way they are a relivive reference from the src folder.

scripts - build scripts for designers who don't have VS installed and the build server

sql - all sql scripts for creating your database

src - all source for the solution we break this folder up into the following file/folder structure

  • solution.sln
  • project1
  • project2
  • website1
  • website2

etc

Now when you copy the solution folder everything is relative so will work.

I'd advise that you add your project to source control, I'd recommend Subversion/SVN and the TortoiseSVN client

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文