32位版本的服务器和64位生产服务器的.NET Web应用程序 [英] 32-bit Build Server and 64-bit Production Server for .NET Web Apps

查看:231
本文介绍了32位版本的服务器和64位生产服务器的.NET Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的工作站运行的是64位的Vista和生产服务器为我们的ASP.NET MVC的Web应用程序是64位Server 2008的服务器。但是,我们运行的TeamCity构建服务器是Server 2008的32位服务器。我们将采取这些构建和64位产品服务器上部署它们。该应用程序是用所有的C#。我应该关心做建立在32位环境?是否有必要升级我们构建服务器?

Our workstations are running 64-bit Vista, and the production servers for our ASP.NET MVC web apps are 64-bit Server 2008 servers. However, our build server running TeamCity is a Server 2008 32-bit server. We will taking these builds and deploying them on the 64-bit production servers. The applications are written all in C#. Should I be concerned about doing the builds in a 32-bit environment? Is it necessary to upgrade our build server?

推荐答案

从技术上讲,应该这样做,因为编译器将只产生IL code是不依赖于平台没有问题。

Technically, there should be no problem in doing so as the compiler will only generate IL code that is not platform dependent.

在.NET应用程序将运行在生产环境中的64位CLR。在运行时,JIT编译器将产生64 code。

The .NET application will run on x64 CLR in the production environment. At runtime, the JIT compiler will produce x64 code.

这篇关于32位版本的服务器和64位生产服务器的.NET Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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