32-bit build server and 64-bit production server for .NET Web Apps

Our workstations run 64-bit Vista, and the production servers for our ASP.NET MVC web applications are 64-bit Server 2008 servers. However, our build server running TeamCity is a 32-bit Server 2008 server. We we will take these assemblies and deploy them on 64-bit production servers. Applications are written in C #. Should I worry about assembling in a 32-bit environment? Do we need to update our build server?

+3
source share
2 answers

Technically, there should not be any problems, since the compiler will generate IL code that is platform independent.

The .NET application will run on the x64 CLR in a production environment. At run time, the JIT compiler will generate x64 code.

+7
source

In my experience, compiling an application with a 32-bit machine and deploying it to a 64-bit version will make the application run slowly. However, for web applications this can be different.

-2
source

Source: https://habr.com/ru/post/1702874/


All Articles