skip to content
Relatively General .NET

How to Find All Types That Can Be Sealed Using Roslyn

by Gérald Barré

posted on: July 07, 2025

In the previous post, I described how to use Roslyn as a library to find all types that could be internal instead of public. Let's continue this series by showing how to find all types that can be sealed in a solution. Marking a type as sealed can improve performance and safety by preventing furthe

Local AI + .NET = AltText Magic in One C# Script

by Bruno Capuano

posted on: July 02, 2025

Learn how to generate image AltText using .NET 10 and local AI models — all in a single C# file with dotnet run app.cs. A fun and accessible example of what AI can do beyond chat.

How to Find Public Symbols That Can Be Internal Using Roslyn

by Gérald Barré

posted on: June 30, 2025

I got a question about how to find all public symbols in a solution that can be internal. This is a common scenario when you want to reduce the visibility of your code to improve encapsulation. You can use Roslyn as a library to analyze the code in a solution and find such symbols.I've already writ

Discord event: GenAI fundamentals

by Oren Eini

posted on: June 27, 2025

AI is changing how we build software. But with RavenDB, you don’t need to rebuild your stack to keep up. Join us on June 30 for the next community discussion session with our Head of DevRel,Dejan Milicic, as we introduce GenAI, RavenDB’s new built-in AI feature. Here’s what we’ll cover: Where AI truly belongs in your system architecture How to launch GenAI, define prompt data, and automate updates Real-world use cases and business value A live demo: an AI-powered support desk with automatic escalation and intelligent workflows, all running inside the database 📅 Monday, June 30 at 18:00 CET 📍 RavenDB Developers Community Discord

Simpler XAML in .NET MAUI 10

by David Ortinau

posted on: June 26, 2025

Make your .NET MAUI XAML more consistent and easier to read with global and implicit XML namespaces.