Developing Source Generators in C#

C# Source Generators can analyze your code and generate new C# code while your project is compiling. This course will teach you how to build and use C# Source Generators in your .NET applications.

5|Reviews (52)
Pluralsight Teams₹4,166.75 per user/month, billed annually
₹50,004
CompleteBilled Monthly
₹2,370/mo

Why choose Core Tech?

check
3,900+ Courses
check
Software Development
check
IT Operations
check
Product & UX
check
Business Skills
verifiedGet this course for free with the Coursera Plus subscription.
✓ Compare courses before making a decision
Check Latest Price →
Price may vary. Check latest price on provider site.

Course Insight

Designed for advanced/expert practitioners. Designed for experienced practitioners. We recommend having a solid grasp of Software Development fundamentals before starting this specialization.

Advanced LevelSelf-Paced LearningProject-Based

SKILLS TO
MASTER

Software Development Basics
Fundamental principles and concepts
Practical ApplicationTrending
Real-world project implementation
Best Practices
Industry standard workflows and guidelines
Problem Solving
Core Concepts
Implementation
Workflow Integration
Optimization
Careers:Relevant for professionals pursuing roles within Software Development.

Quick Facts

Below sections are verified from last major sync. For real-time updates and today's latest lectures, Check official page here.

What You’ll Learn

  • Course Overview : 1min.
  • Understanding C# Source Generators : 27mins.
  • Setting up a C# Source Generator : 17mins.
  • Generating Source Files : 26mins.
  • Working with the Syntax API : 50mins.
  • Adding a Marker Attribute : 27mins.
  • Using the Semantic Model : 66mins.
  • Packaging Your Source Generator : 16mins.
See side-by-side differences in what you’ll learn

Description

When building .NET applications, you often have to write repetitive code. Instead of manually writing that code, you can generate it with a C# Source Generator. In this course , Developing Source Generators in C#, you’ll learn how to use a C# Source Generator to analyze your code and to generate additional C# code while your project is compiling. First, you’ll explore what a C# Source Generator is and what problems it helps you to solve. Next, you will create a C# Source Generator. You will learn how to set it up, how to analyze the syntax of your code, how to generate a source file, and how to add that source file on the fly to the compilation. Finally, you’ll learn how to package the source generator in a NuGet package, so that you can use it in different .NET projects. When you're finished with this course, you’ll have the skills and knowledge of C# Source Generators needed to build and use C# Source Generators in your .NET projects.

See how this course compares with alternatives

FAQs

Top Alternatives

Highly-rated courses worth your attention

Controlling Program Flow in C# 9
⭐ 4.0· 2 Hrs 1 minutes
Beginner
CORE TECH
₹10,563/yr|₹1,254/mo
Dynamic Programming in C# 10
⭐ 5.0· 2 Hrs 2 minutes
Intermediate
CORE TECH
₹10,563/yr|₹1,254/mo
Object-oriented Programming in C#
⭐ 4.0· 4 Hrs 24 minutes
Beginner
CORE TECH
₹10,563/yr|₹1,254/mo
Build or Contribute to Documentation with a Git-based Workflow
⭐ 5.0· 2 - Hrs
Beginner
CORE TECH
₹10,563/yr|₹1,254/mo
JavaScript Promises and Async Programming
⭐ 5.0· 1 Hrs 21 minutes
Intermediate
CORE TECH
₹10,563/yr|₹1,254/mo
RxJS in Angular: Reactive Development
⭐ 5.0· 4 Hrs 34 minutes
Beginner
CORE TECH
₹10,563/yr|₹1,254/mo
Developing Source Generators in C#
⭐ 5(52+ learners)