A few questions
-
Hi, I have a few questions reguarding .NET! I'm not posting in the other forum because this doesnt relate to programming. I really like programming in it but i have a few questions. 1. Is there a way of running .NET Web Apps on Apache Web Server either in Windows or Linux? 2. Is there a way of detecting the framework on the computer from the program, and if they havent got it possibly bring up a dialog box with a friendly dialog box explaining they need the .NET Framework and a link to a place to where they can download it. (I was thinking of detecting the Framework in a native C++ then executing the .NET app if the program detects it otherwise it will bring up the dialog box with a link label) Thanks Tom
-
Hi, I have a few questions reguarding .NET! I'm not posting in the other forum because this doesnt relate to programming. I really like programming in it but i have a few questions. 1. Is there a way of running .NET Web Apps on Apache Web Server either in Windows or Linux? 2. Is there a way of detecting the framework on the computer from the program, and if they havent got it possibly bring up a dialog box with a friendly dialog box explaining they need the .NET Framework and a link to a place to where they can download it. (I was thinking of detecting the Framework in a native C++ then executing the .NET app if the program detects it otherwise it will bring up the dialog box with a link label) Thanks Tom
Tom Moore wrote:
1. Is there a way of running .NET Web Apps on Apache Web Server either in Windows or Linux?
Yes. But you have to use Mono. (I'm not entirely sure whether ASP.NET 2.0 can be configured to run against Apache. There does seem to be more flexibility in version 2)
Tom Moore wrote:
Is there a way of detecting the framework on the computer from the program, and if they havent got it possibly bring up a dialog box with a friendly dialog box explaining they need the .NET Framework and a link to a place to where they can download it.
I'm sure there is, but I don't know offhand. Someone here will answer the question shortly I suspect. Kevin
-
Tom Moore wrote:
1. Is there a way of running .NET Web Apps on Apache Web Server either in Windows or Linux?
Yes. But you have to use Mono. (I'm not entirely sure whether ASP.NET 2.0 can be configured to run against Apache. There does seem to be more flexibility in version 2)
Tom Moore wrote:
Is there a way of detecting the framework on the computer from the program, and if they havent got it possibly bring up a dialog box with a friendly dialog box explaining they need the .NET Framework and a link to a place to where they can download it.
I'm sure there is, but I don't know offhand. Someone here will answer the question shortly I suspect. Kevin
When installed, Microsoft .NET Framework creates a folder in [WINDOWS FOLDER]\Microsoft.NET\Framework\vx.y where x.y stands for the currently installed version of the framework (there can be more than one.) Otherwise, there is also a registry key that you can look for : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework. You can also have a look at this page from CodeProject : http://www.codeproject.com/dotnet/DetectDotNet.asp Hope this helps! Simon