我应该如何为Sharepoint 的.Net 开发创造一个良好的环境? [英] How should I create a good environment for .Net development for Sharepoint?

查看:17
本文介绍了我应该如何为Sharepoint 的.Net 开发创造一个良好的环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司已经使用外部公司进行所有软件开发和基础架构,但现在我们想将其转移到内部.该公司在适用的情况下使用 Microsoft 产品来标准化环境.Sharepoint 将用作管理人员、销售人员等所需的所有工具的门户.Sharepoint 在一台服务器上运行,而我们的数据库在另一台服务器上运行.他们都位于国外.现在问题来了:

My company have used external companies for all software development and infrastructure but now we want to move it inhouse. The company uses Microsoft products where applicable to standardize the enviroment. Sharepoint will be used as a portal to all tools needed by management, sales personal etc. Sharepoint runs on one server and our databases on another. They are both located abroud. Now to the question:

我如何为开发和测试我们的软件设置一个良好的环境.即定制的 Web 部件、外部定位的 Web 服务的集成等?

How can I setup a good environment for developing and testing our software. i.e. customized Web Parts, integration of externally located web sevices etc?

一个好的开发/测试服务器应该如何配备(硬件和软件)?

How would a good development / test server be equipped (hardware and software)?

购买功能强大的服务器或运行我们服务器的虚拟副本的更好装备的工作站更好吗?

Is it better to buy a powerful server or better equipped workstations running virtual copies of our servers?

贵公司是如何解决这个问题的,您会在设置中做出哪些改变?

How have your companies solved it, and what would you change in your setup?

关于马库斯

推荐答案

我目前在做 MOSS 开发,我目前使用的设置由一个 Windows Server 2008 Standard 系统组成(以前是一个虚拟机,现在是一个物理机,但我没有任何个人偏好):

I do MOSS development at the moment, and the setup I use currently consists of a single Windows Server 2008 Standard system (used to be a VM, now its a physical machine but I have no personal preference one way or the other) with:

  • Visual Studio 2008 标准版
  • 2008 年的 WSS 3 Visual Studio 扩展(链接)
  • SmartPart 模板(链接)
  • 使用自己的域配置和设置 Active Directory
  • Exchange 配置和设置(非常适合访问 AD 配置文件中的 customAttributes,您可以使用它来管理用户数据并导入 SharePoint)
  • WSPBuilder(链接)
  • SQL Server 2005 标准版

硬件方面,我可以在带有 4GB 内存的双核 2.5Ghz 系统上运行上述所有内容 - 但最重要的是它必须是一个 32 位系统,这必须受到很大的压力.您的开发环境必须是 32 位,SharePoint 中有很多东西可以在 64 位下正常运行,但您不能在 64 位上针对它进行开发.

Hardware wise, I am fine running all of the above on a dual core 2.5Ghz system with 4GB ram - but the most important thing is that it has to be a 32bit system, that has to be stressed significantly. Your development environment must be 32bit, there is so much in SharePoint which will run fine under 64bit, but you cannot develop against it in 64bit.

我再次强调 - 你必须使用 32 位环境进行开发.

I will stress that again - you must use a 32bit environment for developing.

最后,永远不要在代码中假设文档库、列表或其他 SharePoint 功能的设置 GUID - 如果您需要以某种方式设置某些内容,请将其作为部署脚本的一部分.这样,您用于维护开发、UAT 和生产环境的管理开销将大大减少.

Lastly, never assume in code a set GUID for a document library, list or other SharePoint feature - if you need something setup in a certain way, make it part of your deployment script. This way, your admin overhead for maintaining the development, UAT and production environments is reduced drastically.

关于我当前的设置,我唯一要改变的是将 SQL Server 移到它自己的硬件上,因为这减少了开销,并且还允许您调查与 SQL Server 等独立服务相关的 NTLM/Kerberos 双跳问题Reporting Services 和业务数据目录.

The only thing I would change about my current setup is moving the SQL Server off to its own hardware, as that reduces overhead and also allows you to investigate the NTLM/Kerberos double hop issue with regard to separate services such as SQL Server Reporting Services and the Business Data Catalog.

这篇关于我应该如何为Sharepoint 的.Net 开发创造一个良好的环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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