开发者

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.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜