Introduction to .NET Core
.NET Core is a free, cross-platform, open-source framework for building many types of applications. It runs on Windows, macOS, and Linux. .NET Core is the successor to .NET Framework and offers significant improvements in performance, modularity, and extensibility.
This section provides an overview of .NET Core, its architecture, and how to get started with developing modern applications.
Getting Started
Follow these steps to set up your development environment and build your first .NET Core application.
Install .NET Core SDK
Download and install the latest .NET Core SDK for your operating system.
Download SDKCreate Your First App
Learn how to create a simple "Hello, World!" console application.
Create App TutorialTutorials
Explore a variety of tutorials to learn specific .NET Core features and patterns:
- Build a Web API with ASP.NET Core
- Develop a Desktop Application
- Work with Databases using Entity Framework Core
- Deploying .NET Core Applications
Guides
In-depth guides covering essential aspects of .NET Core development:
Key Concepts
Understand the core building blocks of .NET Core applications:
Code Samples
Browse practical code examples to see .NET Core in action.
Basic Console App
using System;
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, .NET Core!");
}
}
Simple Web API Endpoint
using Microsoft.AspNetCore.Mvc;
[ApiController]
[Route("[controller]")]
public class GreetingController : ControllerBase
{
[HttpGet]
public string Get()
{
return "Hello from the API!";
}
}