Using C# Source Generators to create an external DSL
#348 — February 01, 2021 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
What awaits 6M developers who code in C# in 2021?
In 2020, 6M developers worldwide used C#, mostly in desktop, game, and AR/VR development. Will this change 2021? Take the Developer Economics survey and share your views about the most important coding skills, tools, and technologies. You could win a new smartphone, gaming laptop, licenses, Amazon vouchers, and more! Open until February. Take the survey now.
this week's favorite
Using C# Source Generators to create an external DSL
This post looks at how to use C# Source Generators to build an external DSL to represent mathematical expressions.
Prerendering a Blazor WebAssembly app to static files, without an ASP.NET Core host app
In this post I describe how you can prerender all the pages in a Blazor WebAssembly app, without requiring a host app. That means you can still host your Blazor WebAssembly as static files using GitHub Pages or Netlify, without requiring a backend server.
While playing with EventPipes, I wanted to better understand the Diagnostic IPC Protocol. This protocol is used to transfer diagnostic data between the .NET runtime and a diagnostic client, such as, for example, dotnet-trace. When a .NET process starts, the runtime creates the diagnostic endpoint.
Improvements to the new Razor editor in Visual Studio
The team has been hard at work bringing the new Razor editor up to parity with the old one, fixing bugs, and adding lots of great new functionality. We think the new editor is close to being ready for normal daily development, so now is the time to give it a try with the latest Visual Studio preview.
.NET 5 Source Generators jump start
You may have heard about a new feature in .NET 5 called Source Generators. Developers can now generate dynamic code at compile time that .NET will weave into a consuming assembly. The possibilities are endless and will most likely have a profound impact on how we write applications and, ultimately, the performance we can expect from our apps.
newsletters
Older messages
Write Stable Code using Coupling Metrics
Sunday, January 24, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #347 — January 25, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
.NET 5 Networking Improvements
Sunday, January 17, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #346 — January 18, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
Why .NET Standard Is Still Relevant
Sunday, January 10, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #345 — January 11, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
Build your own .NET CPU profiler in C#
Sunday, January 3, 2021
And more news, tutorials and articles about C# and .NET in this week's issue. #344 — January 04, 2021 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
Guidelines to improve your software design skills with .NET
Sunday, December 27, 2020
And more news, tutorials and articles about C# and .NET in this week's issue. #343 — December 28, 2020 View in browser C# Digest Spread the word, build the community, share the knowledge – invite
You Might Also Like
🚀 Accelerate Your Growth As a Software Architect
Thursday, November 28, 2024
What students are saying about my courses More than 4300+ students already completed my courses. And they gave them a 4.9/5 ⭐ rating. I'd love to see your success story next on this wall of
🫵 Android Developer Previews Are Not For You — Virtual Reality Might Finally Be Socially Acceptable
Wednesday, November 27, 2024
Also: iPhone Camera vs. Digital SLR, and More! How-To Geek Logo November 27, 2024 Did You Know The band Radiohead was originally called "On a Friday"—the band was formed by high school
JSK Daily for Nov 27, 2024
Wednesday, November 27, 2024
JSK Daily for Nov 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
Ranked | The World's Biggest Importers of Goods 🌎
Wednesday, November 27, 2024
As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book
Daily Coding Problem: Problem #1621 [Easy]
Wednesday, November 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some
Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury
Wednesday, November 27, 2024
The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel
The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4
Wednesday, November 27, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 27, 2024? The HackerNoon
Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!
Wednesday, November 27, 2024
The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company