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

12,195

Solution 1

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.

Solution 2

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

Share:
12,195

Related videos on Youtube

amod
Author by

amod

I am a software developer with strong desire to learn and work on new technologies and solve complex problems with my solid programming knowledge and analytical skills. Currently, I am a Software Developer at Honeywell, Atlanta. I did Master in Computer Science from Lamar University, USA. I had worked as a Senior R&D Engineer in Nokia Networks for 2+ years and before that, I was a software developer in Persistent Systems Ltd for 2 years. In Nokia Networks I was part of core R&D team which design and implement complex telecommunication related algorithms to optimize the mobile network. While working, along with honing my programming skills, I became adept at analytical thinking, debugging, troubleshooting and team working. My core responsibilities also contain guiding junior developer to complete the task provided to them. I like writing code to make day to day life easier. Apart from coding my hobby is to write Blogs I used to write Blogs on various technology available on internet, games, gadgets, social networking, software, Cloud-based applications. I like reading blogs as well, exploring software products and gadgets. I am also a founding member of website CampFestiva.com which publish college events happening all over India. I have been working hard on this for more than 3+ years to make it what it is now. Campfestiva is a non-profitable attempt to provide information about various opportunities to students in India.

Updated on June 04, 2022

Comments

  • amod
    amod almost 2 years

    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.

  • Lucero
    Lucero almost 13 years
    .NET Framework != CLR - See Guffa's list.
  • amod
    amod almost 13 years
    so can i conclude that asp.net version and clr version has the same value. can u give me any link where its officially available. U also said that some asp.net version are different can u give me some name.
  • amod
    amod almost 13 years
    so can i conclude that asp.net version and clr version has the same value. can u give me any link where its officially available.
  • amod
    amod almost 13 years
    @ Lucero yaa i know that clr version and .net framework version are not same. but is asp.net version and .net version are same???
  • Guffa
    Guffa almost 13 years
    @amod0017: Look at the table above, where for example ASP.NET 3.5 uses CLR 2.0. You can find that information for example on this Microsoft page: msdn.microsoft.com/en-us/library/a99txfy5.aspx
  • Lucero
    Lucero almost 13 years
    Yes, ASP.NET is part of the .NET Framework, so their version is always in sync. Bot not each version of the .NET Framework has its own CLR, specifically the framework versions from V2.0 up to and including V3.5 do all use the same CLR (V2.0).
  • Grant Thomas
    Grant Thomas almost 13 years
    @Lecero: I didn't say they were equal. But that each .NET version is run by a corresponding runtime.
  • amod
    amod almost 13 years
    thnx for the help. this is quite near to what i wanted.
  • amod
    amod almost 13 years
    i have some confusion thats y edited the question can u help me out regarding it.
  • Guffa
    Guffa almost 13 years
    @amod0017: I added a clarification above.