EditorConfig for C# (CNETW3)

Microsoft, Programming

This course targets developer enthusiasts who care about code quality and style consistency. It teaches practical techniques to unify C# code style across teams and open-source projects using EditorConfig, and explains common workflows.

By the end you'll be able to create and adapt EditorConfig files and templates to match project needs. The course emphasizes modern C# (.NET 6/C#10) and shows integration with the dotnet CLI, including build-time checks and automatic formatting.

THIS TRAINING COURSE WILL HELP YOU:

  • Create and customize EditorConfig files for any project
  • Integrate EditorConfig with the dotnet CLI and IDEs
  • Enable build-time checks and automatic code formatting
  • Apply third-party rules and create reusable templates

WHO SHOULD ATTEND?

  • C# developers who care about code quality
  • Team leads maintaining consistent code style
  • Open-source contributors working across projects
  • DevOps or build engineers integrating code checks

COURSE LOCATION AND AVAILABLE DATES



Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • Introduction
    1. Managing code quality and syntax
    2. What is EditorConfig?
    3. EditorConfig file syntax
    4. Basic overview of rules
  • Practical EditorConfig usage techniques
    1. Integration with dotnet CLI
    2. Build-time code quality checks
    3. Automatic formatting during builds
    4. EditorConfig in multi-IDE environments
    5. Using globalconfig vs. EditorConfig files
    6. Third-party rules (StyleCop)
    7. EditorConfig file templates
Prerequisites:
Knowledge of C#.
Schedule:
1 day (9:00-17:00)

Training and learning environment