How to choose a backend technology

Lesson 8 of 8 · Web basics

Once you know how the web works, the next step is choosing a language and a framework for the server. This site offers two paths – Python (Flask and Django) and C# (ASP.NET Core) – and here are their differences, other popular options and advice on where to start.

Before you start: required prior knowledge – frontend and backend, API.
How to learn: try every example in the browser or on the command line and do the exercises from the lesson. The examples are in HTML, JavaScript and Python; for most of them a browser is enough, and for the Python examples you need Python 3 installed.

Python or C#?

Python: Flask / DjangoC#: ASP.NET Core
languagePython – short, easy to readC# – stricter, with types
for beginnersan easier start, you see the result quicklymore concepts at the start
typical useschools, start-ups, science and AI, quick prototypescompanies, large business systems, Windows environments
server speedenough for most applicationsvery fast
toolsVS Code, PyCharmVisual Studio, VS Code
on this sitePython for the web (Flask, Django)ASP.NET Core

Other popular options

TechnologyWhenNote
Node.js (JavaScript/TypeScript)when you already know JavaScriptthe same language on the frontend and the backend
Java (Spring Boot)large companies, bankssimilar to C#
PHP (Laravel, WordPress)content sites, blogsa large part of older websites
Gofast services in the clouda simple language
"no backend" (Firebase, Supabase)small projects, prototypesa ready-made database and sign-in as a service

How to choose

If…Recommendation
you are just starting and know a little PythonFlask (a small framework – you see every part), then Django
you are making a project for school or a creative programming competitionFlask or Django
you already know C# or Java, or you are interested in working in a companyASP.NET Core
you want one language for everythingJavaScript/TypeScript (Node.js)
Tip: the principles are the same in all technologies – paths (routes), handling requests, templates, a database, user sign-in, an API. Whoever learns one framework well masters another in a few weeks. It is more important to finish one project than to start three.

A suggested learning path

  1. Web basics – this area.
  2. HTML, CSS and JavaScript – a course with a project.
  3. A backend of your choice: Python for the web or ASP.NET Core.
  4. A database and user sign-in.
  5. Putting the application on the internet (deployment).
Common mistakes and tips
  • Do not choose a technology only by its popularity – choose by what you already know and what you are making.
  • For your first project choose a small framework (Flask) – it is easier to see how everything works.
  • Do not learn two frameworks at the same time.

Check your knowledge

Open the quiz

Choosing a backend technology

1. Which framework is good for a first Python backend project?




2. Which language is ASP.NET Core written in?




3. What do all backend frameworks have in common?