Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is asp.net and .net framework version are same? or asp.net or clr version are same?

this was my previous question hi i am new to net framework. can u tell me is .net framework version and asp.net version are different. is clr version and asp.net version has some relation. How can i get asp.net version from the registry. Can any one give me the version list. but i am confused with this link on SO- see the Varun's answer

he said that asp.net version and clr version is same and the .net framework version is different. i also tried to see the installed version of asp in my machine using aspnet_regiis.exe it gives the same version number as of clr (2.0 and 4.0). i also saw the aspnet_isapi.dll only in version 2.0 and 4.0 folder. does that means clr and asp.net version number are same. there is no asp.net version 3.0 and 3.5??? i was quite relaxed with guffa answer, but after seeing this i am confused can anyone help me in knowing is asp.net version and .netframework version are same? or asp.net version and clr version are same? answer with official link will be quite helpful.

Thanks in advance.

like image 210
amod Avatar asked Jun 20 '11 09:06

amod


2 Answers

Yes, and no.

Most versions of ASP.NET and the CLR correspond, but there are some versions of ASP.NET that comes without a new version of the CLR:

 ASP.NET     CLR
-----------------
  1.0        1.0
  1.1        1.1
  2.0        2.0
  3.0        2.0
  3.5        2.0
  4.0        4.0

Edit:

ASP.NET versions and .NET framework versions are the same. The usage of the ASP.NET versions does however differ a bit depending on what you do.

When you create a web application in Visual Studio, you can specify the target framework. This determines what libraries you can use, so ASP.NET 2.0 and ASP.NET 3.5 have different capabilities. In that sense all the above versions exist.

When you install the application on a web server, all applications in the same application pool have to run the same version of the framework, but it's actually the version of the CLR that is relevant. An ASP.NET 2.0 application can run in the same application pool as an ASP.NET 3.5 application. When you select ASP.NET/framework version in IIS it's actually only the CLR versions that you choose from, so in that sense the ASP.NET version 3.0 and 3.5 does not exist.

like image 187
Guffa Avatar answered Nov 09 '22 13:11

Guffa


Yes, ASP.NET solutions, Console applications, Windows Forms and WPF applications and such-and-so, all use the same CLR (according to their version.)

like image 40
Grant Thomas Avatar answered Nov 09 '22 15:11

Grant Thomas