// code-maze-ai
New Mentor Unleashed — hear every answer, ask out loud
The .NET mentor that read your course.
Now it talks back.
Stuck on a design pattern, a LINQ query, or a compiler error you can't place? Ask right inside the lesson and get an answer drawn from your course — not the whole internet. With Mentor Unleashed, listen to it instead of reading, and ask your next question out loud.
// the problem
Learning .NET means getting stuck. Often.
Generic AI guesses
Ask ChatGPT and it may invent an API that doesn't exist or hand you advice from three .NET versions ago. You can't tell until it fails to compile.
Googling breaks flow
Every time you leave the lesson to search, you lose your place — and your momentum. The answer rarely maps back to what you were just reading.
Docs explain what, not this
Reference docs tell you what a method does. They don't tell you how it applies to the exercise in front of you, right now.
// what it is
Not ChatGPT. A mentor that actually read your course.
Code Maze AI is grounded in the lessons you're studying. Every answer is drawn from the course material, so it matches what you're being taught — the same patterns, the same conventions, the same examples you're working through.
Generic AI
- Trained on the whole internet
- May invent or outdate APIs
- Doesn't know your lesson
- Answers can contradict the course
Code Maze AI
- Grounded in your course's lessons
- Cites the lesson it drew from
- Speaks in the course's voice
- Stays on topic — .NET and this course
> How do I read the JSON request body in a Minimal API endpoint?
Generic AI
Read it from the stream and deserialize it yourself:
using var reader = new StreamReader(context.Request.Body);
var body = await reader.ReadToEndAsync();
var order = JsonConvert.DeserializeObject<Order>(body);
Reaches for Newtonsoft and manual stream reading — not how modern Minimal APIs work.
Code Maze AI
Bind the body straight to a parameter — Minimal APIs deserialize it for you:
app.MapPost("/orders", (Order order) =>
Results.Ok(order));
The order parameter is populated from the JSON body automatically, via System.Text.Json.
// see it in action
Watch it get you unstuck.
Real questions, answered from the course — it teaches you the why, then points you back to the exact lesson.
> CS0246: the type or namespace name 'DbContext' could not be found — what am I missing?
That error means the compiler can't see the type — almost always a missing using or an uninstalled package. DbContext lives in EF Core, so add:
using Microsoft.EntityFrameworkCore;
If it still won't resolve, the Microsoft.EntityFrameworkCore package isn't installed yet — we add it right at the start of the setup lesson.
> can you review this repository method?
public List<Product> GetAll()
{
var db = new AppDbContext();
return db.Products.ToList();
}
Two things, measured against how the course does it:
1. Don't new up the context. Inject AppDbContext through the constructor — the course registers it with DI in the dependency-injection lesson. Newing it here bypasses that and can leak connections.
2. Make it async. Use ToListAsync() and return Task<List<Product>> so you're not blocking a thread on database I/O.
> IEnumerable vs IQueryable — when does it actually matter?
It matters the moment a database is involved.
IEnumerable<T> filters in memory — EF pulls the rows first, then .Where() runs in C#. IQueryable<T> builds an expression tree, so .Where() becomes part of the SQL and the database does the filtering.
On a large table that's the difference between loading 10 rows and loading 10 million. Same LINQ, very different cost.
From the LINQ in EF Core lesson> wait, why does this even work?
Since you're on the Observer Pattern lesson: it works because the subject keeps a list of observers and calls each one's Update() whenever its state changes.
The observers never call the subject — they just wait to be notified. That inversion is the whole point: the subject doesn't need to know what the observers do, only that they implement IObserver.
// how it helps
Everything a good mentor does, in the corner of the page.
Ask in context
The assistant sits on every lesson page. No tab-switching, no losing your place mid-exercise.
Grounded answers
Pulled from the course you're in, so they line up with what you're actually learning.
Review your code
Paste a snippet and get feedback measured against the patterns the course teaches.
Compare concepts
"Strategy vs State?" — it pulls both lessons and explains exactly where they differ.
Follow-ups that remember
Ask for an example, then "now make it async" — it keeps the thread of the conversation.
Always available
2 a.m., mid-exercise, whenever the wall goes up — it's there and ready.
// getting started
Three steps to unstuck.
- 01
Open a lesson
Head into any lesson in a course you're enrolled in.
- 02
Click the bubble
Find the Code Maze AI bubble in the bottom corner and open it.
- 03
Ask anything
Type your question and get an answer drawn from the lesson — right away.
// mentor unleashed
One question. Five very different mentors.
Everyone learns differently. Pick the voice that actually gets through to you — then hear the answer read aloud while you keep your hands on the keyboard.
“I keep hearing I should use dependency injection, but my project is small. Do I actually need it?”
Good question. Let me be straight with you: it’s not really about project size — it’s about how your code will evolve. Even in a small project you hit the wall fast: if your controller creates its own PlayerGenerator, you can’t mock it in tests. ASP.NET Core has DI built in specifically because Microsoft treats it as foundational, not optional. So yes — use it. It takes about ten minutes and saves you technical debt immediately.
You don’t need it until you do, and then you’ll wish you’d started earlier. I’ve watched teams ship “quick and dirty” five-line scripts that became unmaintainable 50K-line monsters because they never bothered decoupling anything. ASP.NET Core ships with DI built in — you’re already paying for it. Small projects are when it’s easiest to build the habit.
Yes. Even small projects benefit, because DI solves real problems immediately: tight coupling, hard-to-test code, brittle changes. Small projects grow. It costs almost nothing to set up in ASP.NET Core — it’s built in — and skipping it now means refactoring later.
Think of it like this: a small kitchen works fine if you walk to three different drawers to grab a spatula, a knife and a spoon every time you cook. But the moment you rearrange those drawers — or someone else cooks in your kitchen — you’re frustrated. Dependency injection is just having everything handed to you when you start cooking. Does that make intuitive sense so far?
Short answer: yes, start now. Small projects grow, and bad habits compound faster than good ones. Architecturally, you’re trading short-term convenience for long-term flexibility and testability. ASP.NET Core’s DI container is free and already running — you’re not adding complexity by using it, you’re removing it.
Real answers from the mentor, in a real course. Every one of them can be read aloud — and you can ask your next question out loud too.
// speak up
Or don't type at all. Just ask.
Hit the mic and say what you're stuck on. Your words become the question, the answer comes straight back in your mentor's voice — and your hands never leave the keyboard.
You talk
“Why does my async method still block the thread?”
It writes it down
Your words land in the box — IServiceCollection, ASP.NET Core and all.
It answers out loud
The reply plays back in the voice of the character you picked.
Works in Chrome, Edge, Firefox and Safari — nothing to install, nothing to set up. Included with Mentor Unleashed.
// pricing
Try it free for 14 days, then keep going.
Every enrolled student gets a handful of free questions in each course — no card needed. Start a 14-day free trial for unlimited mentoring across your courses.
Mentor
14 days free$4.99/month after trial
- 14-day free trial — cancel before it ends and pay nothing
- Ask questions across your courses
- Grounded in every lesson you own
- Code review & concept comparisons
Manage or cancel any time from your account subscriptions page.
Mentor Unleashed
Try it on your free questions$9.99/month
- Everything in Mentor, and:
- Hear every answer — natural speech you'd actually listen to
- Ask out loud — talk to the mentor, hands on the keyboard
- Five mentor characters — blunt, patient, or architectural, your call
No trial needed — every student gets voice on their free questions first.
// questions
Good questions.
Which courses does it work on?
Any course you're enrolled in that has the mentor enabled. It answers from that specific course's lessons.
How is it different from ChatGPT?
It's grounded in your course. Instead of guessing from the whole internet, it retrieves the relevant lessons and answers from them, in the course's voice — so it won't invent APIs or contradict what you're being taught.
What do I get with Mentor Unleashed?
Spoken answers and voice questions. Every answer can be read aloud in a natural voice, you can ask by talking instead of typing, and you can choose between five mentor characters — from a blunt no-fluff veteran to a patient step-by-step guide. Everything else is identical to Mentor. There is no separate trial for Pro — you try the voice features on your free questions instead.
Can I try the voice features first?
Yes. Your free questions in each course include voice — listen to the answers and ask out loud — so you can hear exactly what you'd be paying for before you subscribe.
Can I upgrade from Mentor to Mentor Unleashed?
Yes, at any time — switch plans from your account's subscriptions page and Lemon Squeezy prorates the difference automatically. You keep your conversation history, and voice switches on straight away. You can move back down the same way.
Do you offer refunds?
Subscriptions aren't refundable, so please use the free questions — and the 14-day trial on the Mentor plan — to make sure it's right for you first. You can cancel at any time in a click, and you keep access until the end of the period you've already paid for, so you're never billed for time you didn't want.
Can I cancel anytime?
Yes. Cancel from your account's subscriptions page in a click. You keep access until the end of the period you've already paid for.
Is my data safe?
Your questions are sent to our AI provider (Anthropic, in the US) to generate answers, and logged to improve the courses. Please don't share personal or sensitive information. See our privacy policy for details.
Does it replace the course?
No — it's a study aid. It helps you get unstuck and understand faster, but the lessons and exercises are still where the learning happens.
Do I need to be enrolled?
Yes. The mentor lives inside courses you own, right on the lesson pages.
Get unstuck faster.
Your next "wait, how does this work?" has an answer waiting in the lesson.
See plans — from $4.99/mo