Guide · Web programming

ASP.NET Core – Web Applications in C#

ASP.NET Core is Microsoft's free framework for web applications and API services in the C# language. Through these lessons you build the Shop project: from a five-line server to a Web API with a database, a page in JavaScript, an MVC catalogue and publishing on the internet.

This is the second backend on the site, next to the Django project in Python – choose one. The code works with .NET 8 and newer.

  • 7 lessons
  • Grade 8 and advanced
  • C# + .NET
Before this part: the basics of C# (classes, lists, methods), Web basics and, for lessons 5–6, HTML, CSS and JavaScript.

Some lessons linked below are available only in Serbian for now. They are marked (SR).

1 First steps

Installing .NET, the smallest web server, static pages and simple services.

2 Web API and the database

The Shop project: a REST API with controllers and a database.

3 Showing data

Two ways for the user to see and change data.

4 Publishing

The application on the internet.

Suggested order

  1. Introduction and the first server
  2. Static pages and services
  3. Web API controllers
  4. The database: Entity Framework Core
  5. A JavaScript client
  6. MVC and Razor views (SR)
  7. Publishing (SR)