none
Do I need to install .NET framework on production server for hosting a asp.net website. RRS feed

  • Question

  • Do I need to install .NET framework on production server for hosting a asp.net website.

    or is IIS just enough to host and run the asp.net websites

    Tuesday, March 29, 2016 10:04 PM

Answers

  • Hi Aryaa,

    You can install and run multiple versions of the .NET Framework on the server.
    Note that the .NET Framework consists of two main components, which are versioned separately:

    A set of assemblies, which are collections of types and resources that provide the functionality for your apps. The .NET Framework and assemblies share the same version number.

    The common language runtime (CLR), which manages and executes your app's code. The CLR is identified by its own version number.

    For example, to run a .NET 4.6 application on IIS, install .NET Framework 4.6 on the machine and choose v4.0 for the application pool.

    More information about versions, please check the below link.

    .NET Framework Versions and Dependencies

    Best Regards,

    Chris

    • Marked as answer by Aryaa Monday, June 4, 2018 8:24 PM
    Wednesday, March 30, 2016 2:31 AM
    Moderator
  • Hi Aryaa,

    If you purchase your own server, then the answer is yes. You need to install your .net version on the server. If you purchase from shared hosting provider, then you just need to upload all your files inside your root folder. 

    • Marked as answer by Aryaa Monday, June 4, 2018 8:24 PM
    Friday, April 8, 2016 5:59 AM

All replies

  • Hi Aryaa,

    You can install and run multiple versions of the .NET Framework on the server.
    Note that the .NET Framework consists of two main components, which are versioned separately:

    A set of assemblies, which are collections of types and resources that provide the functionality for your apps. The .NET Framework and assemblies share the same version number.

    The common language runtime (CLR), which manages and executes your app's code. The CLR is identified by its own version number.

    For example, to run a .NET 4.6 application on IIS, install .NET Framework 4.6 on the machine and choose v4.0 for the application pool.

    More information about versions, please check the below link.

    .NET Framework Versions and Dependencies

    Best Regards,

    Chris

    • Marked as answer by Aryaa Monday, June 4, 2018 8:24 PM
    Wednesday, March 30, 2016 2:31 AM
    Moderator
  • Hi Aryaa,

    If you purchase your own server, then the answer is yes. You need to install your .net version on the server. If you purchase from shared hosting provider, then you just need to upload all your files inside your root folder. 

    • Marked as answer by Aryaa Monday, June 4, 2018 8:24 PM
    Friday, April 8, 2016 5:59 AM