与 Windows 7 相比,在 Windows Server 2008 R2 上开发 .NET Web 应用程序的主要优点和缺点是什么?
我的问题是关于使用 MS 开发工具和 IIS 进行轻松开发的情况。
直接在 Windows Server 2008 R2 而不是 Windows 7 上进行开发有哪些优缺点?
My question is in the context of ease of development with MS development tools and IIS.
What are the pros and cons to developing directly on Windows Server 2008 R2 instead of Windows 7?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我都使用过,到目前为止只注意到细微的差别。
Server 2008 R2 的优点之一是拥有服务器管理器。这使您可以访问经常需要的功能和服务。在 Windows 7 中,需要多点击几次鼠标。
Server 2008 R2 的另一个优点是您的开发环境更像生产环境。我没有遇到任何问题。
Windows 7 的一个小优点是默认启用了一些养眼的功能。有些人可能认为这是一个骗局。如果您愿意,可以在服务器 2008 R2 中启用 Aero。我发现快照和摇动功能每次都会派上用场。
附注:
如果您想要进行 WP7 开发,您可能需要选择 Windows 7。根据此MSDN 博客文章。
I've used both and only noticed a slight difference so far.
One pro of server 2008 R2 is you have the Server Manager. This gives you access to frequently needed features and services. In Windows 7 it takes a few more mouse clicks.
Another pro for Server 2008 R2 is your development environment is more like production. I haven't run into any issues.
One small pro for Windows 7 is you have some eye candy features enabled by default. Some might see this as a con. If you want you can enable Aero in the server 2008 R2. I find the snap and shake features come in handy once every blue moon.
Side Note:
If you want to do WP7 development you might want to choose Windows 7. The Windows Phone Developer Tools are not officially supported on operating systems other than Windows Vista or Windows 7 according to this MSDN blog post.
除非您正在编写代码来配置 IIS7 的特定功能(例如,您正在编写网站配置应用程序),而这些功能在 Windows 7 中不可用或无法通过 IIS 管理控制台显示,
否则 我会坚持使用 Windows 7。如果您只是编写标准 Web 应用程序,那么在 Windows 2008/R2 环境上进行编码并没有真正的专业人士。
我 95% 的代码(实际上托管配置系统)是在 Windows 7 上编写的。我有一个装有 Windows 2008 的虚拟机,并安装了 Visual Studio,用于处理我无法在 Windows 7 上轻松测试或配置的部分。例如 IIS远程管理位(管理服务、IIS 管理器用户等)不会出现在 Windows 7 IIS MMC 中,即使它位于引擎盖下。
Unless you're writing code to configure specific features of IIS7 (for example you're writing a website provisioning application) that aren't available or not surfaced via the IIS management console in Windows 7, I'd stick with Windows 7.
If you're just writing bog standard web applications then there aren't really any pro's with regard to coding on a Windows 2008/R2 environment.
I write 95% of my code (which is actually hosting provisioning systems) on Windows 7. I have a VM with Windows 2008 and Visual Studio installed for the bits that I can't easily test or configure on Windows 7. For example the IIS Remote Management bits (Management Service, IIS Manager Users etc) aren't surfaced in Windows 7 IIS MMC even though it's there under the bonnet.
我在 Windows 7 中开发并在 Windows Server 2008 上部署应用程序,但我从未感受到这有任何优点/缺点。我坚信,从发展的角度来看,没有什么利弊。
I develop in Windows 7 and deploy applications on Windows Server 2008 and I never felt any advantages/disadvantages on that. I really believe that there are no pro and cons from a development perspective.