How to check asp.net version of the website ?

Venkat 1 Reputation point
2021-07-21T01:14:41.887+00:00

Please let me is there any way to find the ASP.Net version of Asp.net website and .Net Core websites?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,212 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,293 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points
    2021-07-21T06:04:09.83+00:00

    Hi @Venkat ,
    About the asp.net version,you could create a new page and write below codes:

    Response.Write("Version: " + System.Environment.Version.ToString());  
    

    About the asp.net core version,what do you want of .NET Core SDK version,.NET Core information,the installed runtimes or the installed SDKs. You could write following commands.

    dotnet --version      // Display .NET Core SDK version.  
      
    dotnet --info          //Display .NET Core information.  
      
    dotnet --list-runtimes   // Display the installed runtimes.  
      
    dotnet --list-sdks       // Display the installed SDKs.  
    

    You can view all .NET Core versions Installed on the system by navigating to the installation folder on below path.

    %ProgramFiles%\dotnet\sdk  
    

    Also you could check in Solution Explorer. Open the right-click menu for the project that you want to check, and choose Properties, then select Application tab > Target framework.

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Sreeju Nair 11,621 Reputation points
    2021-09-14T05:40:24.163+00:00
    0 comments No comments

  3. Rijwan Ansari 746 Reputation points MVP
    2022-02-03T10:02:32.63+00:00

    HI @Venkat
    You can use a third party browser plugin to find the ASP.NET version.
    Plugin
    http://builtwith.com/toolbar
    This plugin is available for most of the popular browsers like Firefox, Chrome and Safari except IE, when I write this post. Just include this on your browsers, and you can find out the technology behind with the currently rendered on the browser.

    Sample Image
    170992-builtwith-addon-for-chrome.jpg

    Using Developer Toolbar:

    IE doesn’t require any plugins or add-ons. You can find the technology behind this using the built-in tool called “IE Developer Toolbar”. This toolbar, contains a tab called “Network”. In this tab, you can find the necessary details.

    170890-ie-developer-toolbar-network-tab.png

    0 comments No comments