Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Empowering-developers-with-Roslyn.pdf

 Empowering-developers-with-Roslyn.pdf

Description: Onboarding new developers and imposing programming patterns and guidelines can take a good amount of time from your team. Roslyn with its rich APIs is helping us to tackle these challenges at compile time. In this session, we will investigate Compiler APIs from Roslyn and how they assist to create Semantic Analyzers and Code Fixers tailored for your team. With Semantic Analysis you can ensure the given program is semantically consistent with language definition, and with Semantic Analyzers you can extend it to best practices and coding patterns. Code Fixers provide suggestions for the already written code to be replaced with an alternative, this way your teams' developers will have an extra tool in their toolbox for writing better code addressing their needs. In the session, we will showcase how to save time on development and during code reviews through unifying the build on your machine and CI/CD pipelines.

SQUER Solutions

November 05, 2024
Tweet

More Decks by SQUER Solutions

Other Decks in Programming

Transcript

  1. > whoami Shahab Ganji Software Architecture Software Transformation .NET and

    C# enthusiast Embracing Change Telling dad jokes (Proudly) Code Artisan Lead Software Engineer MA I N F O C U S O N
  2. Live Coding! P RE REQ U I S IT ES

    https://github.com/shahab-the-guy/code-joy-ride
  3. Agenda I N TRO DU C T I ON What

    is Roslyn? Code! Talk is cheap, let’s write code Q & A You ask me questions; I’ll answer if I know the answer
  4. Compilers W H AT I S RO S LYN ?

    Compiler Source Code Assembly (.exe, .dll)
  5. Compilers W H AT I S RO S LYN ?

    Compiler Symbols Binder IL Emitter Metadata Import Parser Source Code Assembly (.exe, .dll)
  6. Compilers W H AT I S RO S LYN ?

    Compiler Symbols Binder IL Emitter Metadata Import Parser Source Code Assembly (.exe, .dll) Symbol API Binding and Flow Analysis APIs Emit API Syntax Tree API Compiler API
  7. Compilers W H AT I S RO S LYN ?

    Compiler Symbols Binder IL Emitter Metadata Import Parser Source Code Assembly (.exe, .dll) Symbol API Binding and Flow Analysis APIs Emit API Syntax Tree API Navigate To Extract Method Edit & Continue Colorizer Formatter Compiler API Language Services Diagnostic API
  8. Compilers W H AT I S RO S LYN ?

    Compiler API Diagnostic API Scripting API Workspaces API REPL (Repeat-Evaluate-Print-Loop)
  9. Exploring the APIs in Action C OD E! Side Tools

    Creating Semantic Analyzer Creating Code Fixer! The Problem
  10. Compilers I N TRO DU C T I ON Compiler

    Symbols Binder IL Emitter Metadata Import Parser Symbol API Binding and Flow Analysis APIs Emit API Syntax Tree API Diagnostic API Navigate To Extract Method Edit & Continue Colorizer Formatter Source Code Assembly (.exe, .dll) Compiler API Language Services
  11. Compilers I N TRO DU C T I ON Compiler

    Symbols Binder IL Emitter Metadata Import Parser Symbol API Binding and Flow Analysis APIs Emit API Syntax Tree API Diagnostic API Semantic Analyzer Code Fixer
  12. Q&A

  13. Enabling teams. Transforming IT landscapes. Digitalizing enterprises. Marxergasse 17/1/33-34 1030

    Vienna (+43) 676 849963 200 Mühldorfstraße 8 81671 Munich (+49) 175 7284 701 [email protected] www.squer.io www.code-crafts.com