Programmatically monitoring and reacting to logs in .NET Aspire

#512 – June 30, 2024

React to any changes in resources and their logs

Programmatically monitoring and reacting to logs in .NET Aspire
4 minutes by Anthony Simmon

Combining IDistributedApplicationLifecycleHook, ResourceNotificationService, and ResourceLoggerService allows you to react to any changes in resources and their logs.

20 Novel AI Prompts to Boost Your Development Productivity
sponsored by Pieces

Developers everywhere are attempting to use AI tools to increase their efficiency, but constant task switching and an inherent lack of context adds challenges to their already chaotic workflow. Check out in this blog post 20 unique AI prompts developers can use in Pieces Copilot+ to streamline their work-in-progress journey and solve complex issues without chasing down context.

Refactoring a .NET MAUI app to a Declarative UI using C# Markup
5 minutes

C# Markup enables the creation of a View using C#, leveraging the fluent API to reduce the code’s verbosity. The views can be used in a traditional MVVM architecture alongside XAML Views.

ReadOnlySet in .NET 9
2 minutes by Steven Giesel.

The next .NET preview will bring a new type ReadOnlySet. This is a read-only set that is similar to ReadOnlyCollection. Let's see how it works and why it was introduced.

Path.Combine and Path.Join are similar but way different
3 minutes by Davide Bellone

When composing the path to a folder or file location, the Path class can come in handy. Path.Join and Path.Combine may look similar, but their behavior differ in an unexpected way.

Semantic Kernel–Change timeout value in C#
3 minutes by Bart Wullems

The power of Semantic Kernel is that it gives you the ability to interact with multiple (large language) models in an uniform way. You interact using C#, Java or Python with the Semantic Kernel SDK and behind the scenes it will do the necessary API calls to OpenAI, Azure OpenAI, Hugging Face or a local OpenAI compatible tool like Ollama.

newsletters