Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    AI and Career Skills for .NET Developers: all courses in this track

    Guided course · AI and Career Skills for .NET Developers

    Prompt Engineering for .NET Developers: A Practical Guide

    Use AI coding assistants and LLM prompts well in everyday .NET work: how assistants assemble context and why they hallucinate, the anatomy of a strong developer prompt, giving code context and repository instruction files (copilot-instructions.md, AGENTS.md), prompts for code generation, code review, safe refactoring, xUnit tests, debugging, documentation and API design, agentic coding tools and safe agent workflows, a verification routine for AI output (hallucinated APIs, packages, injection and other security checks), prompts in code with Microsoft.Extensions.AI and Semantic Kernel (system prompts, few-shot turns, structured output), prompt evaluation with golden sets and regression gates, and reusable templates and team practices. Every C# example builds on .NET 8 and .NET 10 with captured output. 18 lessons including four module practice tests and a 25-question mock interview.

    Intermediate5 modules · 18 lessons · 5 h 59 min · 2 free

    Module 1 · Prompt Foundations

    4 lessons · 1 h 6 min
    1. 01How AI Coding Assistants Read Your Prompt: Tokens, Context Windows and Non-DeterminismFree15 min
    2. 02Anatomy of a Strong Developer Prompt: Context, Specificity, Constraints and Output FormatFree18 min
    3. 03Giving the Assistant Code Context: What to Paste, What to Leave Out, and Repository Instruction Files (included with Full Access)18 min
    4. 04Practice Test: Prompt Foundations (included with Full Access)15 min

    Module 2 · Prompting for Everyday .NET Work

    6 lessons · 1 h 56 min
    1. 05Prompting for Code Generation in ASP.NET Core: From Vague Request to Mergeable Endpoint (included with Full Access)20 min
    2. 06Prompting for Code Review and Safe Refactoring in C# (included with Full Access)20 min
    3. 07Prompting for xUnit Tests: Rules First, Boundaries Explicit, Assertions Reviewed (included with Full Access)20 min
    4. 08Prompting for Debugging .NET Errors: Stack Traces, DI Failures and Slow EF Core Queries (included with Full Access)20 min
    5. 09Prompting for Documentation and API Design in .NET (included with Full Access)18 min
    6. 10Practice Test: Everyday .NET Prompting (included with Full Access)18 min

    Module 3 · Agentic Workflows and Verification

    3 lessons · 59 min
    1. 11Agentic Coding Tools and Workflows for .NET Teams (included with Full Access)22 min
    2. 12Verifying AI-Generated Code: Hallucinated APIs, Correctness and Security (included with Full Access)22 min
    3. 13Practice Test: Agents and Verification (included with Full Access)15 min

    Module 4 · Prompts in Code, Evaluation and Teams

    4 lessons · 1 h 23 min
    1. 14Prompts in Code with Microsoft.Extensions.AI and Semantic Kernel: System Prompts, Few-Shot and Structured Output (included with Full Access)24 min
    2. 15Evaluating Prompts: Golden Sets, Scoring and Regression Gates in .NET (included with Full Access)22 min
    3. 16Reusable Prompt Templates and Team Practices for AI-Assisted .NET Development (included with Full Access)22 min
    4. 17Practice Test: Prompts in Code, Evaluation and Teams (included with Full Access)15 min

    Module 5 · Final Assessment

    1 lesson · 35 min
    1. 18Final Mock Interview: 25 Questions on Prompt Engineering for .NET Developers (included with Full Access)35 min