IIS7 and .NET 3.5

D

Dylan Parry

Hi,

I installed Visual Studio 2008 Express earlier today, but I am not sure
that IIS7 has been correctly configured to be able to use the 3.5 Framework.

When I look at the AppPools listed in IIS7, I see two AppPools that are
both set to use v2.0, and when attempting to create a new one, v3.5
simply isn't shown as an available Framework.

Am I missing something (ie. the plot!), or is this just how it is?

Cheers,

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.
 
R

Rory Becker

When I look at the AppPools listed in IIS7, I see two AppPools that
are both set to use v2.0, and when attempting to create a new one,
v3.5 simply isn't shown as an available Framework.

Am I missing something (ie. the plot!), or is this just how it is?

I *think* this should be correct. The version you talk about is the CLR version
which is still v2.0 with the 3.5 framework.
 
D

Dylan Parry

Rory said:
I *think* this should be correct. The version you talk about is the CLR version
which is still v2.0 with the 3.5 framework.

Ah. Then I'm not losing the plot :) Cheers. So presumably, although I am
writing code in C# 3.0, the resulting DLL files are "ran" in the same
CLR as was installed for .NET 2.0 (and then 3.0)?

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.
 
R

Rory Becker

I *think* this should be correct. The version you talk about is the
Ah. Then I'm not losing the plot :) Cheers. So presumably, although I
am writing code in C# 3.0, the resulting DLL files are "ran" in the
same CLR as was installed for .NET 2.0 (and then 3.0)?

Thats the way I understand it.

It's also this that allows you to use many of the new language features (extention
methods etc) and still target 2.0.

The exceptions to this are things like linq which require library support
as well.
 
J

Jon Skeet [C# MVP]

Dylan Parry said:
Actually I meant C# 3 without the point-oh. Fingers going faster than
the brain.

Some people do put the ".0" in for various versions of C#. In theory
the version of C# in VS2003 was actually 1.2, believe it or not.

Personally I like to stick to 1, 2, 3 :)
 
A

AlieN

Jon Skeet said:
Some people do put the ".0" in for various versions of C#. In theory
the version of C# in VS2003 was actually 1.2, believe it or not.

Personally I like to stick to 1, 2, 3 :)

confused here.
do we already use c# 3 (as language version) on the Orca?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top