Tag: .Net


  • vTSafeKernelInvoker – Efficient Semantic Kernel Plugin Execution Without Extra AI Token Costs, Especially for Large Output Data

    ,

    vTSafeKernelInvoker is a lightweight .NET extension for Semantic Kernel that introduces the method InvokePromptFunctionUsingCustomizedKernelAsync. This method helps reduce AI service token usage and cost by avoiding unnecessary AI post-processing of plugin results. Curious about Semantic Kernel? Explore the official overview here: https://learn.microsoft.com/en-us/semantic-kernel/overview/ Why Use This Package? When using standard Semantic Kernel methods like InvokePromptAsync or GetChatMessageContentAsync (via IChatCompletionService) etc, the plugin result is…

    Read This Post: vTSafeKernelInvoker – Efficient Semantic Kernel Plugin Execution Without Extra AI Token Costs, Especially for Large Output Data
  • How We Use AI in Our Projects – A Simple Example with Address Entry

    ,

    Two months ago at NeST Tech Fest 2025, I proudly showcased my personal project “SmartQueryBot” : a fusion of database tech and artificial intelligence. During the exhibition, one enthusiastic developer asked me a powerful question: “It’s great… “How and when would we actually use AI in our projects?” To answer this, I’ve created a simple yet powerful…

    Read This Post: How We Use AI in Our Projects – A Simple Example with Address Entry
  • Implementing a CRUD Web API using CQRS and MediatR

    In this article, I will give a brief introduction to CQRS and MediatR. We will also see a practical example of how to implement a CRUD (Create, Read, Update, Delete) web API in a .NET 7 Core application using these patterns. The Command and Query Segregation of Responsibility (CQRS) pattern separates the query and update…

    Read This Post: Implementing a CRUD Web API using CQRS and MediatR
  • How to do performance tests in C# with BenchmarkDotNet

    In this article, I will introduce the BenchmarkDotNet library and how to measure code performance with it, which will lead to sets of execution results and data related to your performance. What is BenchmarkDotNet? BenchamarkDotNet is a tool that allows us to analyze the performance of our application and anticipate problems that could delay production.Our…

    Read This Post: How to do performance tests in C# with BenchmarkDotNet