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



This course is not scheduled as a public course.
It is delivered exclusively as customised training. The content, duration, date, and delivery format are tailored to the customer's requirements and can also be provided in English.

Request customised training

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