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.
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 / Django | C#: ASP.NET Core | |
|---|---|---|
| language | Python – short, easy to read | C# – stricter, with types |
| for beginners | an easier start, you see the result quickly | more concepts at the start |
| typical use | schools, start-ups, science and AI, quick prototypes | companies, large business systems, Windows environments |
| server speed | enough for most applications | very fast |
| tools | VS Code, PyCharm | Visual Studio, VS Code |
| on this site | Python for the web (Flask, Django) | ASP.NET Core |
Other popular options
| Technology | When | Note |
|---|---|---|
| Node.js (JavaScript/TypeScript) | when you already know JavaScript | the same language on the frontend and the backend |
| Java (Spring Boot) | large companies, banks | similar to C# |
| PHP (Laravel, WordPress) | content sites, blogs | a large part of older websites |
| Go | fast services in the cloud | a simple language |
| "no backend" (Firebase, Supabase) | small projects, prototypes | a ready-made database and sign-in as a service |
How to choose
| If… | Recommendation |
|---|---|
| you are just starting and know a little Python | Flask (a small framework – you see every part), then Django |
| you are making a project for school or a creative programming competition | Flask or Django |
| you already know C# or Java, or you are interested in working in a company | ASP.NET Core |
| you want one language for everything | JavaScript/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
- Web basics – this area.
- HTML, CSS and JavaScript – a course with a project.
- A backend of your choice: Python for the web or ASP.NET Core.
- A database and user sign-in.
- 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?
