Writing Code with Code: Getting Started with the Roslyn APIs - Steve Gordon - NDC London 2023

Поділитися
Вставка
  • Опубліковано 9 тра 2023
  • As developers, we spend ours days writing code. What if we could get the computer to write it for us? Using the .NET Roslyn APIs, we can do exactly that!
    In this session Steve will share his latest work at Elastic, generating the majority of the .NET client for Elasticsearch from a simple specification. Steve will introduce and demonstrate how to get started with leveraging the Roslyn APIs. He will show you how the Elastic .NET code generator transforms a JSON spec into a C# syntax tree and outputs thousands of classes in only a few seconds.
    You'll leave this session with an understanding of the Roslyn APIs and how you can leverage them in your work. You'll understand core concepts such as syntax trees, the SyntaxFactory and tools to help you write code with code.
    Check out our new channel:
    NDC Clips:
    ‪@ndcclips‬
    Check out more of our featured speakers and talks at
    ndcconferences.com/
    ndclondon.com/
  • Наука та технологія

КОМЕНТАРІ • 8

  • @iamnotstanley
    @iamnotstanley Рік тому +3

    Very interesting topic! Thanks to Steve Gordon for this presentation.

  • @dev2594
    @dev2594 Рік тому +3

    This was a great presentation, thanks Steve!

  • @kikinobi
    @kikinobi 8 місяців тому +1

    This is so interesting ! I think all these informations will actually help me a lot to create source generators. As a junior developer I think it is a bit tough to understand everything with the Github cook-book, and having an expert showing all the process and the logic behind is really helpful. Great job and thank you !

  • @empathetic24671
    @empathetic24671 7 місяців тому +1

    It was brilliant. I can only imagine what we could achieve with this level automation in our code. 🤯

  • @RiversJ
    @RiversJ 2 місяці тому +1

    Already somewhat familiar with all of this, tis' here is a pretty superb overview of the topic.

  • @everyonesview
    @everyonesview Рік тому +1

    Awesome! Thanks Steve.

  • @ivandrofly
    @ivandrofly 9 місяців тому +1

    29:05 - Site to build syntax
    35:45 - current time
    56:24 - Resources

  • @ozsvartkaroly
    @ozsvartkaroly 9 місяців тому +5

    This video was more like a case study on of how they generate C# code for their product.
    As my estimate, of the 57 minute video, only around 20 minutes of content was really about Roslyn.
    I expected way more knowledge sharing on Roslyn itself, because the video's title promises that; so I'm disappointed.