English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I know how to set the framework version for the Internet Explorer browser, but I want to set it programmically for each individual web page

2007-03-18 17:10:33 · 3 answers · asked by hdhdht t 2 in Computers & Internet Programming & Design

3 answers

The .NET version is on an application basis. You need to create a new application (in IIS, by creating a new application virtual directory) with the different .NET version. So, you can have different .NET versions in the same site, but not in the same folder.

2007-03-18 17:13:57 · answer #1 · answered by Rex M 6 · 0 0

You can set the framework version for your browser? I would love to know how you did that.

This is an application wide setting. The application either targets .NET 1.0/1 or .NET 2.0.

You can set which version your application uses as the posts above me state (from IIS)

2007-03-19 09:36:17 · answer #2 · answered by Smutty 6 · 0 1

Are you even sure? that you can set the .net framework version from your browser
So far I know, it can be set through the IIS Settings since the .net framework gets registered with IIS.
Perhaps you can ask the experts in www.asp.net forums
But since it can be registered through the command line:
aspnet _regiis -i
Of course you have to browse to your framework directory as:
C:\WINDOWS\Microsoft.NET\Framework\[version of your .net framework]
and from here you type your command;
so let's say you create a batch file that would execute:
C:\WINDOWS\Microsoft.NET\Framework\[version of your .net framework]\aspnet _regiis -i
So perhaps it could work this way by manually calling this batch file. which will run this script to register the iis with the current version of .net you have chosen.
Not sure if this would work, but it's worth the try
good luck

2007-03-19 00:24:50 · answer #3 · answered by Coosa 2 · 0 1

fedest.com, questions and answers