How to create a 32-bit C # MVC application to run on x64 Server 2008

We have an MVC application that depends on a number of third-party products (e.g. Crystal, Topaz). The Topaz signature device has only 32-bit .dlls. Therefore, I assume that I need to create and deploy an application on IIS 7 in a 32-bit application pool.

If this assumption is correct, then I need to create an MVC application with the VS2008 compiler set to "x86" (now I use "Any processor"?

Also, should all referenced assemblies also be 32-bit? If so, how do I get 32-bit MVC files to x64 Server 2008?

Finally, how do I make x86 inetpub / directories friendly, or does it magically happen as a result of something else?

+3
source share
3 answers

If this assumption is correct, then do it. I need to create an MVC application using Configuring the VS2008 compiler to "x86" (now I use "Any processor"?

you can install it on any processor, and it will work at a 32-bit or 64-bit level, depending on the settings of your application pool and until your other dependent dlls are also compiled with "any processor"

Also, should all referenced assemblies also be 32-bit? If so, how do I get 32-bit MVC files on x64 Server 2008?

( ), 32- 64- . 32- 32- , WoW64

: http://blogs.msdn.com/gauravseth/archive/2006/03/07/545104.aspx

x64, 64-

Topaz 32- .dll. IIS 7 32- .

? Corflags.exe? . PE- (PE32 PE32 +), 32BIT 0, 64- . 1 , 0 ( ) 64-

+1

, MVC 32-? , 64-?

32-, x86. IIS x64 2008, " " - " 32- " true.

+1

, MVC VS2008 "x86" ( " "?

, .

, 32-? , 32- MVC x64 Server 2008?

, , .Net 32 , 32 .

Finally, how do I make the inetpub / x86 directories friendly or do they magically happen due to something else?

It is just magical.

0
source

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


All Articles