Full Local RAG scenario using #Phi3, #SemanticKernel and TextMemory. Bonus: Test in CodeSpaces
A tutorial on implementing a local RAG system using Phi-3, Semantic Kernel, and TextMemory in a C# console application.
A tutorial on implementing a local RAG system using Phi-3, Semantic Kernel, and TextMemory in a C# console application.
Explains how Entity Framework protects against SQL injection in LINQ queries but warns of risks when using raw SQL, highlighting safer alternatives.
Explains how to display file modification times in C++ using OS-specific APIs and the modern C++20 std::filesystem/std::chrono approach.
Explains how HttpClient's await behavior works with response headers vs. body, and how to control it using HttpCompletionOption.
A guide to building state machines using the Stateless library in .NET 8, with practical examples like a light switch.
Explores StringBuilder performance and memory usage for creating very large strings in C#, comparing it to using a List.
A guide on using Microsoft's Phi-3 Small Language Model with C# and Semantic Kernel for local AI applications.
Explains how to cancel a C# task using multiple CancellationToken sources by linking them with CancellationTokenSource.CreateLinkedTokenSource.
Explains why certain exception instances like OutOfMemoryException are pre-allocated in .NET memory dumps, even in simple applications.
A guide on using the httpgenerator tool to automatically create HTTP request files from a Swagger/OpenAPI definition for easier API testing.
Announces major updates to NCronJob, a .NET cron job library, including concurrency control, retry policies, and time zone support.
A guide to successfully rewriting a legacy C++ codebase incrementally, focusing on safety and maintainability, with a case study on introducing Rust.
A tutorial on creating a Rust library and consuming it from a .NET application using C# and FFI (Foreign Function Interface).
A developer shares updates on starting a new C# .NET contract role, pursuing indie game development by acquiring an existing game, and streaming programming/gaming content.
Explains how C# List<T> detects modifications during enumeration using a version field to throw InvalidOperationException.
Final reflections on a 30-part series about building an image processing application using the SObjectizer actor framework in C++.
Analyzes whether using the 'readonly' modifier in C# leads to performance improvements by examining generated IL and JIT code.
A developer discusses missing features and challenges in the SObjectizer C++ actor model library, focusing on agent shutdown behavior.
A guide to building a fluent API in C# for awaiting multiple asynchronous calls and retrieving their results in a strongly-typed, elegant manner.
Explores design considerations and challenges in message-passing applications using the SObjectizer framework and the actor model in C++.