⌁toca
For every level

Review C#
the way a team does.

Start the Learning Path from zero or from where you are. Then train a failing kata, a pull request and a C4 diagram. Rufa says why, without handing you the answer.

Learning Path is free. Professional practice is Premium.
await curiosity;+ 1 good habit
Rufa / bug hunter
10 min / day ↗
C# / .NET5 units20 lessons6 exercise typesEN / PT-PT
A real review

What would you do with this pull request?

UserSearch.csFree-text search

Input is untrusted and must never change SQL structure.

public Task<List<User>> Search(string name){    return db.Users        .FromSqlRaw("SELECT * FROM Users WHERE Name = '" + name + "'")        .ToListAsync();}

The name is concatenated into the SQL string. Whoever controls the text controls the query. I say why. The fix is yours.

HOW IT WORKS

One idea per step. Instant feedback.

1 · Learn
var total = 10;

A short explanation with an example, before any question.

2 · Practise

Tap blocks, order lines, find the bug or write a line.

3 · UnderstandNice! +15 XP

Green or red, always with the why, a hint and crowns to earn.

01 — ONE HABIT, FOUR WAYS TO GROW

Your path, one discovery at a time.

SUBSCRIBE MONTHLY

Train now. Monthly is the plan that counts.

The Learning Path stays free. Katas, reviews and C4 diagrams are Premium. Most people stay on Plus. Yearly includes two months free.

Free

Learn C# step by step.

  • Full Learning Path
  • Progress, crowns and streak
  • Profile and diagnosis
Keep learning free
Start here

Plus

4,99 €/month

  • Katas, Architecture and Code Review
  • 40 Rufus questions/day
  • 15 lives per period
Create account · Plus

Pro

8,99 €/month

  • Katas, Architecture and Code Review
  • 150 Rufus questions/day
  • 30 lives per period
Create account · Pro

Monthly renews every month. Yearly charges ten months at once and renews after one year. If you already have a plan, the change stays on that subscription and Stripe charges only the difference.

PRODUCTION C#

Come in. There’s room in the den.

Start now