ASP.NET Core Documentation

Getting Started with ASP.NET Core

Installation

Welcome to ASP.NET Core! This guide will walk you through the essential steps to get ASP.NET Core installed on your development machine. ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud-enabled applications.

Windows Installation

For Windows, we recommend installing the .NET SDK, which includes ASP.NET Core.

1. Download the .NET SDK

Visit the official .NET download page and download the latest LTS (Long-Term Support) or current version of the .NET SDK. For most users, the LTS version is recommended for stability.

2. Run the Installer

Once the download is complete, run the installer package. Follow the on-screen instructions. The installer will add the necessary tools and environment variables to your system.

3. Verify Installation

Open a new Command Prompt or PowerShell window and run the following command:

dotnet --version

This should display the installed .NET SDK version. You can also verify the ASP.NET Core runtime:

dotnet --info

Important: After installing, it's a good practice to close and reopen your terminal or IDE to ensure that all environment variables are loaded correctly.

Next Steps

Once you have the .NET SDK installed, you're ready to create your first ASP.NET Core application! You can use the `dotnet new` command to scaffold new projects.

Explore the following resources: