Magnus Mårtensson
Microsoft Regional Director, Azure MVP, CEO Loftysoft
Avirag Jain
Director & CTO R Systems
Mahesh Chand
Founder C# Corner, CEO Mindcracker
Chris Gali
CEO & Co-Founder Graphite
Subinder Khurana
Chief Architect StoryProcess, Founder NASSCOM DeepTech Club
Bryan Rishforth
Investor, Chairman Graphite
Bryn Everson
Director Biz Dev Graphite
Raj Tiwari
Digital Transformation Leader, Futurist and Visionary
Joseph Guadagno
Microsoft MVP, Lead Quicken Loans
Nikita Sachdev
Entrepreneur, Blockchain Enthusiast & Advisor, Social Media Influencer
Doug Wagner
COO & Founder Adapt Technical Group
Ritesh Modi
Architect, Senior Evangelist, Cloud Architect
Crystal Wenrick
Director Communications Mindcracker
Allen O’Neill
Microsoft MVP, Consulting Engineer/Architect
Praveen Kumar
CEO MCN Solutions
Chris Love
Founder Love2Dev, Microsoft MVP, Author
Sanjay Vyas
Microsoft Regional Director, Microsoft MVP, Founder & CEO SkillLabs Technologies
Veena Sarda
Deep Learning Consultant, Author
Sekhar Srinivasan
C# Corner MVP, Microsoft Certified Trainer, Pluralsight Author
Lalit Bansal
Founder & CEO - EIY SYS
Navdeep Garg
CEO Revinfotech
Prakash Tripathi
Tech Manager/Leader, Microsoft MVP, Blogger
Bhavna Jain
Breakthrough Consultant
Naveen Sharma
Enterprise Architect, Leadership Coach, Author
Vidya Vrat Agarwal
Principal Architect, Microsoft MVP, Author
Sheetal Agarwal
Founder Clownselors, Medical Clown, Trainer
Abhishek Kant
Founder GTM Catalyst
Vishnu Saran
Founder & CEO VoiceQube
Sandeep Soni
Founder & CEO Deccansoft, Microsoft Certified Trainer
Parveen Malik
AVP InfoSec & Vulnerability Management, Information Security Expert
Nitin Pandit
Microsoft MVP, Developer Evangelist, Author
Niloshima Srivastava
C# Corner MVP, Tech Architect, Trainer, Blogger
Bala Chirtsabesan
Senior Software Engineer at Microsoft, Author
Manoj Mittal
Sr. Technical Architect, C# Corner MVP, Author
Chandni Di
Co-Founder Voice of Slum
Vithal Wadje
Technical Lead, Microsoft MVP, Author
Shivam Ahuja
Founder SkillCircle, Business Mentor
Chervine Bhiwoo
Solution Architect, Microsoft MVP, Author
Saurabh Jain
Vice President Paytm, Founder Fun2Do Labs, Author
Vinay Solanki
Head IoT at Lenovo, Founder IoT-NCR
Anshu kumari
Founder Blockchainkids, Inventor, Trainer
Amit Singal
CEO Startup Buddy
Dev Pratap
Co-Founder & CEO Voice of Slum
Amey Vartak
Technology Consultant, Full Stack Developer, C# Corner MVP, Author
Viswanatha Swamy
Principal Software Engineer, C# Corner MVP, Author
Sanket Verma
Research Engineer @ Ballistics (Forensics) and Chair, PyData Delhi
Sourabh Somani
Lead Developer, Microsoft MVP, Author
Abhishek Mishra
Software Architect, C# Corner MVP, Author
Siddharth Vaghasia
Technical Consultant, C# Corner MVP, Blogger
Bassam Alugili
Senior Software Specialist, Database Expert
S Ravi Kumar
Solution Architect, C# Corner MVP, Author
Sundaram Subramanian
Full Stack Developer, C# Corner MVP, Speaker
Deepesh Somani
Solution Architect, Microsoft MVP, Author
Debasis Saha
Technical Project Manager, C# Corner MVP, Blogger, Author
Vipul Jain
Software Architect, C# Corner MVP, Author
Akshay Patel
Technical Architect, Microsoft Certified Trainer, C# Corner MVP, Author
Stephen Simon
RPA Developer, Evangelist, Author
Vivek Sharma
Founder Kingster636, AR/VR Specialist
Jeetendra Gund
Technical Lead, C# Corner MVP, Author
Sujal Beniwal
AI Enthusiast, Student
M Viknaraj
Microsoft MVP, Azure Architect, Author
Prasham Sabadra
Software Architect, C# Corner MVP, Trainer, Author
Aakash Maurya
Senior Developer, C# Corner MVP, Speaker
Ankit Sharma
Senior Software Engineer, C# Corner MVP, Author
Mangesh Gaherwar
Team Lead, C# Corner MVP, Author
Viral Jain
Technical Consultant, C# Corner MVP, Author
Bhasker Das
Solution Architect, Evangelist
Manish Dwivedi
Associate Project Manager
Ck Nitin
Programmer, Author
Rohit Gupta
Technical Trainer, Author
Manish Tewatia
Full-stack Marketer, UX Designer
Bhavya Gaur
Technical Illustrator
Rohit Tomar
SEO/SMO Expert
Web Track
Cloud & Data Track
Dev Track
Registration & Breakfast
Future of Desktop Apps with JS (ElectronJs)
Nitin Pandit
Building Serverless Microservices Using Microsoft Azure
Vithal Wadje
Innovating RPA: A Robot for Every Person
Stephen Simon
Managing Cloud Storage Accounts using Logic Apps
Viknaraj Manogararajah
Data visualization using Python
Sekhar Srinivasan
Going Cross platform with AR Foundation
Vivek Sharma
Keynote
Managing your Azure dependencies in ASP.NET Core apps using VS
Bala Chirtsabesan
Securing Applications on Intelligent Azure
Abhishek Mishra
Getting started with Blazor the Framework of Future
S Ravi Kumar
Lunch
Build Progressive Web Apps using Angular 9
Debasis Saha
Build and deploy to any platform using Azure DevOps
Chervine Bhiwoo
Deep Dive in Azure Service Bus
Akshay Patel
Build a Native Mobile Application using React Native and JavaScript
Joseph Guadagno
Making sense of Web Job, Web Job SDK and Functions in Azure
Prakash Tripathi
CloudFront Distribution in AWS
Viral Jain
Tea Break
Introduction to PowerBI
Aakash Maurya
Build Advanced SPFx solutions with React and Graph API
Siddharth Vaghasia
Build Business Intelligence Analyst (BIA) Skills
Sundaram Subramanian
Deep dive of Power Platform – AI BUILDER
Prasham Sabadra
Panel 1
What's new in SharePoint development
Vipul Jain
Build a SSO (Single Sign On) based Native JavaScript application with Microsoft Identity within 10 minutes
Manoj Mittal
Panel 2
Applications and working of AI
Veena Sarda
Deploying serverless API's with .Net core 3.0 on AWS & Azure
Amey Vartak
Panel 3
Blockchain with .NET Core (Ark)
Anshu Kumari
Closing Note & Prize Distribution
Dev Track
Cloud Track
Architecture Track
Emerging Tech Track
Registration & Breakfast
Creating Full-Stack Web Apps Using Server-Side Blazor
Ankit Sharma
Real time face recognition with MS Cognitive Services
Niloshima Srivastava
Building Scalable APIs with GraphQL
Jeetendra Gund
Future of development with AI and Blockchain
Navdeep Garg
Debugging Tips and Tricks with Visual Studio 2019
Joseph Guadagno
Azure Containers
Abhishek Kant
Enterprise Architecture
Naveen Sharma
Bot Framework - learn it fast and look like a boss!
Allen O’Neill
Keynote
.Net Core & C# 8 Performance
David McCarter
Working with Azure kubernetes services
Ritesh Modi
Becoming an Architect
Vidyavrat Agarwal
Why Techies Need to Learn Product Management
Saurabh Jain
Lunch
Build a rules engine in .Net Core
Sanjay Vyas
Building CI and CD Pipeline using Azure DevOps
Sandeep Soni
Entity Framework Core - Tips and Tricks, Performance Optimization, and Tuning
Bassam Alugili
Hacking your way into Data Science
Sanket Verma
Speed up your .Net Core Website
Sourabh Somani
Azure
Magnus Mårtensson
Demystifying Open Distro for Elasticsearch
Suman Debnath
Future of Data
Shivam Ahuja
Tea Break
gRPC with C# and .Net Core
Mangesh Gaherwar
Panel 1
Essentials of Cloud security
Parveen Malik
Power platform and Dynamics 365
Deepesh Somani
Microservices - the gRPC Way
Viswanatha Swamy
Panel 2
Reserved
Reserved
Closing Note & Prize Distribution
How Source Generators Cut Boilerplate in C#
Source generators can reduce repetitive coding in C# projects by creating source files during compilation. Instead of hand-writing the same property mappings, registration methods, serializers or validation wrappers, a generator examines the existing code and produces the predictable parts automatically. The result is less typing, fewer copy-and-paste errors and a clearer focus on business behaviour.
The technology is part of the Roslyn compiler platform and became widely available with C# 9 and .NET 5. It is particularly useful for teams building APIs, cloud services, desktop applications and shared libraries. For Australian developers working across Sydney, Melbourne, Brisbane or remote locations, compile-time code generation can also help standardise patterns across distributed teams and reduce maintenance overhead.
| Approach | When it fits | Main benefit | Main trade-off |
|---|---|---|---|
| Hand-written boilerplate | Small or changing codebases | Simple to understand immediately | Repetition and inconsistent updates |
| Reflection | Dynamic frameworks and plugin systems | Flexible runtime discovery | Runtime cost and weaker compile-time checking |
| T4 or external templates | Large generated models | Established template workflow | Separate generation step and tooling |
| Classic source generator | Metadata-driven code generation | Strong IDE and compiler integration | Can add build complexity |
| Incremental source generator | Large solutions or frequent builds | Efficient, cacheable generation | More careful implementation required |
What source generators do
A source generator is a .NET compiler extension that observes a compilation and adds generated C# syntax to it. It does not normally edit the files written by developers. Instead, the compiler combines the original source and the generated source for the current build. Developers can then call generated members as if they had written them themselves.
For example, a team may place an attribute on a partial class:
[GenerateMapping]
public partial class CustomerMapper
{
}
The generator can discover GenerateMapping, inspect related customer and customer DTO types, and create methods such as ToDto(Customer customer). The generated file might contain several dozen lines, but the developer maintains only the small declaration and the mapping rules that genuinely require judgement.
This differs from a runtime library that uses reflection after the application starts. Reflection can be appropriate, yet it moves errors and performance costs into execution. A source generator moves predictable work into the build, giving the compiler a chance to report missing members, invalid types or unsupported configurations before deployment.
Why generated code helps C# teams
Boilerplate often appears in places where the code follows a strict pattern. Dependency injection registration, JSON converters, command handlers, strongly typed configuration, logging wrappers and object mapping are common examples. These tasks are necessary, but manually repeating them across hundreds of classes makes a codebase noisy and increases the chance that one class will be forgotten.
Generated code can also improve consistency. A generator applies the same naming rules, nullability checks and error handling to every supported type. This is valuable in a large Australian organisation where a platform team in Melbourne may support product squads in Perth and Brisbane. Shared conventions become executable rules rather than guidance in a wiki.
The benefit is greatest when the input is explicit and stable. Attributes, interfaces and naming conventions give the generator clear signals. A design that tries to infer business intent from arbitrary syntax quickly becomes difficult to explain. Developers should still own decisions such as authorisation, pricing, data retention and domain validation; generation is best reserved for mechanical implementation.
There is a practical productivity advantage as well. A coding exercise or internal workshop can demonstrate the difference between repeated manual classes and generated output. Teams that run learning activities alongside community events or a water challenge can use small generator examples to show how build-time automation scales beyond a single demo.
Choosing the right generator pattern
The simplest pattern is an attribute-driven generator. A custom attribute marks a class, method or property, and the generator reads its target symbol through the Roslyn semantic model. This approach is easy to discover in a code review because the source of generated behaviour is visible next to the relevant declaration.
Interface-driven generation is useful when a project already has an abstraction such as ICommandHandler<TCommand>. The generator can find every implementation and create registration code or a dispatch table. Convention-driven generation can be effective for models ending in Request, Response or Validator, though it needs clear documentation to prevent surprising output.
Classic ISourceGenerator implementations can inspect syntax trees and semantic symbols during compilation. For larger solutions, an incremental generator is generally preferable. It breaks work into cacheable transformations, so changing one file does not require expensive analysis of every project item. Incremental APIs take more time to learn, but they can make a substantial difference in multi-project solutions.
The generated API should be designed before the generator itself. Decide whether generated members belong in partial classes, extension methods or separate types. Partial classes are convenient when generated methods are part of the type’s public contract; extension methods can keep generated implementation details away from the original model.
Building a minimal generator
A generator project usually references Microsoft.CodeAnalysis.CSharp and targets a framework compatible with the consuming build environment. The generator implements a Roslyn interface and registers an output action. A minimal example might add a fixed class:
[Generator]
public sealed class GreetingGenerator : ISourceGenerator
{
public void Initialize(GeneratorInitializationContext context)
{
}
public void Execute(GeneratorExecutionContext context)
{
const string source = """
namespace Generated;
public static class Greeting
{
public static string Text => "Hello from generated code";
}
""";
context.AddSource("Greeting.g.cs", source);
}
}
A production generator needs to inspect syntax rather than emit a fixed string. A syntax receiver can collect candidate nodes, while the semantic model confirms whether a candidate has the required attribute or symbol. The generator should use a stable hint name, such as CustomerMapper.g.cs, and produce valid, deterministic output for the same input.
Many teams use helper libraries such as incremental generator extensions, but the underlying concepts remain the same. Find candidates, transform them into a small model, validate the model and render source. Keeping these stages separate makes the implementation easier to test and helps isolate compiler API changes.
Generated source is often formatted for readability, even though developers do not edit it directly. Clear namespaces, predictable ordering and comments identifying the generator make diagnostics easier to interpret. In Visual Studio or a compatible IDE, generated files can usually be inspected through the solution explorer or compiler output settings.
Keeping generated code safe and maintainable
A generator is part of the build toolchain, so its failures can block every developer and build agent. Diagnostics should be specific and actionable. Instead of emitting a generic “generation failed” message, report the marked type, the unsupported member and the expected alternative. Roslyn diagnostics can include an identifier, severity and source location.
Test the generator with compilation-based tests rather than relying only on integration builds. A useful test supplies a small C# input string, runs the generator and compares the resulting source or diagnostics with an expected result. Include cases for nullable reference types, generic classes, nested namespaces, duplicate attributes and invalid configuration.
Generated output also needs compatibility discipline. If a generator produces public methods, changing their signatures can affect downstream projects in the same way as changing a normal library API. Version the generator deliberately, document the supported C# and .NET versions, and review generated diffs when upgrading dependencies.
Security and privacy deserve attention in enterprise environments. A generator should not send source code to an external service, write unexpected files outside the build process or embed secrets in generated output. This matters for Australian organisations handling health, financial or government data, where internal policies and the Australian Privacy Principles may restrict how code and metadata are processed.
Applying generators in Australian projects
Australian software teams often support systems across different time zones, including AEST, ACST and AWST. Generated registration, API contracts and client models can reduce variation when a Canberra government supplier, a Sydney fintech and a Perth resources company share internal libraries. A common package can enforce the same conventions without requiring every squad to copy a long setup checklist.
The local market also creates practical use cases around cloud services. A team deploying to Microsoft Azure in Australia East may generate strongly typed configuration accessors, service registration and telemetry wrappers for each application. Developers still choose the cloud architecture, but the repetitive wiring becomes consistent across staging, production and disaster-recovery environments.
For customer-facing systems, source generation can support reliable serialisation and validation. A Melbourne retail platform might generate JSON converters for catalogue records, while a Brisbane health application could generate request validators from carefully reviewed attributes. Generated code does not replace threat modelling or domain review, but it can reduce mundane implementation work around those controls.
Build performance should be measured on the same pipelines used in practice. A generator that feels instant on a laptop may affect a hosted CI runner or a monorepo with many projects. Teams should record clean-build and incremental-build times, inspect memory use and remove unnecessary syntax-tree scans. This is especially important for organisations combining local development with remote build infrastructure over the NBN.
Source generators work best when they remain focused. Start with a narrow pattern, such as generating dependency injection registrations for explicitly marked services. Add diagnostics and tests before expanding the feature set. With clear inputs, deterministic output and sensible versioning, compile-time generation can remove substantial C# boilerplate while leaving developers in control of the code that expresses real product decisions.
1, CBD, Maharaj Surajmal Road, Near Yamuna Sports Complex, Delhi, 110032
GENERAL QUERIES
Manish Tewatia
manish@csharpcon.com
+91-9718-431-042
TICKET QUERIES
Atul Gupta
conference@csharpcon.com
+91-9910-125-804