Training course · Cursor · C# & .NET
Cursor for C# and .NET Developers
Work productively with the AI code editor Cursor: agent mode, rules, codebase context, Tab completion, background agents and review.
- Duration
- 2 days (14 hrs)
- Format
- Online or on-site
- Language
- German or English
- Participants
- open dates or exclusive for your team
- Certificate
- Certificate of attendance
Overview
“Cursor for C# and .NET Developers” is a hands-on course for roles such as C# developers working with ASP.NET Core, Blazor or WPF, Teams migrating applications from .NET Framework to modern .NET and Software architects for .NET and Azure solutions. Rather than learning Cursor in the abstract, you work on tasks from your daily routine – with examples, exercises and templates from C# & .NET.
Cursor is an AI code editor built on VS Code that weaves language models deeply into everyday development. Alongside context-aware Tab completion, it offers an agent mode that searches files on its own, plans changes across the whole project, runs terminal commands and fixes errors iteratively. In this two-day course you will learn to use Cursor with purpose: choosing the right interaction mode, steering context deliberately and combining AI assistance with your existing workflow of version control, automated testing and peer code review.
A key focus is making Cursor work for teams. Project rules let you capture architectural decisions, naming conventions and testing strategies so that the agent produces consistent results. You will learn to make good use of codebase indexing, targeted references to files, documentation and symbols, and MCP integrations. You will also delegate tasks to background agents, review their output as pull requests and set up a review process that takes quality, security and data protection seriously across the organisation.
C# and .NET are firmly established in many organisations: ASP.NET Core APIs, Blazor and WPF front ends, Azure services and line-of-business applications dating back to the .NET Framework era. Migrating from the classic .NET Framework to modern cross-platform .NET in particular ties up significant capacity. AI coding assistants and agents take over much of the mechanical work here: converting project files to SDK style, identifying WCF or Web Forms dependencies, writing xUnit or NUnit tests, optimising Entity Framework Core queries and introducing nullable reference types. To do this well, they need context on solution structure, analyser rules and architectural guidelines. This course shows you how to use agents in Visual Studio, VS Code or Rider and on the command line.
The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.
Who is this course for?
- C# developers working with ASP.NET Core, Blazor or WPF
- Teams migrating applications from .NET Framework to modern .NET
- Software architects for .NET and Azure solutions
- Developers of line-of-business applications in industry and SMEs
Typical challenges we address
- Costly migration of .NET Framework applications built on WCF, Web Forms or ageing NuGet packages
- Large solutions with many projects, circular dependencies and little test coverage
- Performance issues caused by inefficient Entity Framework queries
- Inconsistent handling of nullability, async/await and dependency injection
What you will be able to do
- You choose the right Cursor mode for each task and use it efficiently.
- You steer codebase context precisely and get more accurate suggestions as a result.
- You write project rules that reliably enforce your team’s conventions.
- You use agent mode and background agents for features and refactorings with verifiable results.
- Use AI agents for .NET migrations, refactorings and test generation across large solutions.
- Optimise Entity Framework Core data access and ASP.NET Core APIs with AI support.
- Define analyser rules, conventions and review criteria that generated C# code meets reliably.
Course outline
Day 1
Module 1 Setting up Cursor and understanding its modes
- Installation and migration of VS Code settings and extensions
- Differences between Tab completion, inline edits, Ask mode and Agent mode
- Choosing a model per task: balancing speed, depth and cost
- Privacy mode and organisation-level settings
Module 2 Steering codebase context
- How codebase indexing works and where its limits lie
- Referencing files, folders, symbols, documentation and web sources precisely
- Using ignore files to exclude sensitive or irrelevant content
- Avoiding overlong chats and restarting tasks with fresh context
Module 3 Rules for consistent team results
- Creating and versioning project rules and scoping them by file pattern
- Expressing architecture, style and testing conventions as effective rules
- Separating user rules from team rules
- Refining rules iteratively based on the agent’s typical mistakes
Module 4 Agent mode in practice
- Building features step by step with plan, implementation and tests
- Running multi-file refactorings safely with checkpoints
- Approving terminal commands deliberately and feeding error output back
- Connecting MCP servers for issue trackers, databases or browser testing
Day 2
Module 5 Background agents, review and governance
- Delegating tasks to background agents and running them in parallel
- Reviewing results as branches or pull requests and steering follow-ups
- Using AI-assisted code review alongside human review
- Addressing security risks, secrets and licensing in enterprise use
Module 6 Practice lab: C# & .NET
- Migrating to modern .NET
- Writing xUnit and NUnit tests
- Optimising Entity Framework Core
- Introducing nullable reference types
- Building ASP.NET Core APIs
- Code analysis and refactoring
Module 7 Data protection, quality & transfer to daily work
- Clarify whether source code may be sent to cloud models and which tenant or region settings apply, and keep connection strings and secrets from User Secrets or Key Vault out of prompts. New NuGet packages should be checked for licence, provenance and vulnerabilities – not least in view of the obligations under the Cyber Resilience Act.
- Ground rules for safe AI use in your team
- Checking results: facts, sources, tests and the four-eyes principle
- Personal action plan for the next 30 days
- Open questions, outlook and resources for further learning
Practical scenarios from your field
Migrating to modern .NET
The agent analyses projects using the upgrade tooling and compiler output, converts csproj files to SDK style, replaces incompatible APIs and proposes alternatives to WCF or System.Web until the solution builds and tests pass.
Writing xUnit and NUnit tests
Services, controllers and domain logic get unit tests with Moq or NSubstitute plus integration tests using WebApplicationFactory. The AI covers edge cases and sticks to your existing test conventions.
Optimising Entity Framework Core
The AI analyses generated SQL, spots N+1 problems, missing AsNoTracking calls or awkward Includes, and creates migrations and projections for faster queries. Every change is backed by the resulting SQL.
Introducing nullable reference types
Nullable is enabled project by project while the AI works through compiler warnings, adds guard clauses and annotations and makes implicit assumptions in the code explicit.
Building ASP.NET Core APIs
Specifications become minimal APIs or controllers with validation, ProblemDetails error handling, authentication and OpenAPI documentation, consistent with your existing layered architecture. Integration tests safeguard each new endpoint.
Code analysis and refactoring
Roslyn analyser findings are fixed systematically, oversized classes split, async anti-patterns such as .Result removed and dependency injection registrations made consistent. Build, analysers and existing tests confirm that behaviour is unchanged.
Possible hands-on projects
Minimal API service
An ASP.NET Core service using minimal APIs, EF Core, health checks, structured logging and integration tests, built end to end by an AI agent from a specification.
Migration inventory
A console tool that scans a solution, lists target frameworks, NuGet packages and incompatible APIs, and produces a prioritised migration plan.
Blazor admin UI
A small Blazor application for managing master data, with form validation, filterable tables and integration with an existing REST API.
Prerequisites
You program regularly in at least one language and are familiar with Git and an IDE such as VS Code. Good C# skills, experience with ASP.NET Core or .NET desktop development, and familiarity with Visual Studio, Rider or VS Code and Git.
Technical requirements
Your own laptop with Cursor, Git and your usual development environment installed; a Cursor account with access to agent features is recommended.
Data protection & compliance
Clarify whether source code may be sent to cloud models and which tenant or region settings apply, and keep connection strings and secrets from User Secrets or Key Vault out of prompts. New NuGet packages should be checked for licence, provenance and vulnerabilities – not least in view of the obligations under the Cyber Resilience Act.
Suggested dates
All dates are suggestions – your preferred date is always possible.
- Tue, 24 November 2026 – Wed, 25 November 2026 Online Request
- Tue, 1 December 2026 – Wed, 2 December 2026 Hanover Request
- Thu, 17 December 2026 – Fri, 18 December 2026 Online Request
- Mon, 18 January 2027 – Tue, 19 January 2027 Online Request
- Thu, 28 January 2027 – Fri, 29 January 2027 Stuttgart Request
- Tue, 9 February 2027 – Wed, 10 February 2027 Online Request
Frequently asked questions
Do I need prior VS Code experience to use Cursor?
It helps, but it is not essential. Cursor is built on VS Code, so navigation, shortcuts and extensions feel familiar and existing settings can be imported. If you currently work with JetBrains IDEs or other editors, a short introduction during the course gets you up to speed quickly so you can concentrate on the AI features.
How do I prevent confidential code from reaching third parties?
Cursor offers a privacy mode and organisation settings that restrict how code is stored by the provider. You can also use ignore files to exclude sensitive areas from indexing and context. In the course we discuss how to align these options with internal policies, data protection requirements and sound handling of secrets.
What do rules add compared with well-written prompts?
A prompt applies to one request only, whereas rules persist and apply to the whole team. They capture architectural decisions, preferred libraries, testing strategies and style guidelines, so nobody has to repeat that information and the agent produces code that fits your codebase. Rules are versioned with the project and evolve together with it.
Does AI really help with migrating from .NET Framework?
Yes, especially with the mechanical work: converting project files, finding incompatible APIs, suggesting replacement libraries and fixing build errors iteratively. Fundamental architecture decisions, such as replacing WCF with gRPC or REST, remain with the team. On the course you practise breaking such migrations into small, verifiable steps.
Do AI agents work with Visual Studio?
Many AI assistants integrate directly with Visual Studio, VS Code or Rider, while others run in the terminal alongside the dotnet CLI. The methods taught are tool-neutral: you learn to provide context, scope tasks and safeguard results through builds, analysers and tests, regardless of your IDE.
How much does “Cursor for C# and .NET Developers” cost?
The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.
Can I suggest my own date?
Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.
Is the course online or on-site?
Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.
More courses for C# and .NET Developers
- Claude Code for C# and .NET Developers
- Vibe Coding for C# and .NET Developers
- Agentic Coding for C# and .NET Developers
- GitHub Copilot for C# and .NET Developers
- OpenAI Codex for C# and .NET Developers
- Windsurf for C# and .NET Developers
- Model Context Protocol (MCP) for C# and .NET Developers
- AI Agent Development for C# and .NET Developers
- RAG & LLM Applications for C# and .NET Developers
More Cursor courses
- Cursor for Citizen Developers
- Cursor for Data Engineers
- Cursor for Data Scientists and ML Engineers
- Cursor for DevOps and Cloud Teams
- Cursor for Go Developers
- Cursor for Internal Tools and Automation
- Cursor for Java and Spring Developers
- Cursor for JavaScript and TypeScript Developers
- Cursor for Kubernetes and Microservices Teams
- Cursor for Legacy Modernisation
- Cursor for Startups and MVP Development
- Cursor for Mobile Developers
Cursor · MunichCursor · SalzburgCursor · BerlinCursor · AugsburgCursor · HanoverCursor · BremenCursor · StuttgartCursor · KaiserslauternCursor · Online