Posts tagged ".NET"

40 articles on AJ's Tech Notes tagged with .NET.

  1. Long-Running MCP Tools in C#: Call a Six-Second Tool as a Task and Poll It

    Call a six-second MCP tool as a task and poll it to completion with the C# Tasks extension: server and client code that ran, the client methods, and what to fix before production.

    By Ajith Joseph · Sat Nov 07 2026 · #dotnet #csharp #mcp #aspnet-core

  2. November 10: Moving .NET 8 and .NET 9 AI and MCP Projects to .NET 10

    .NET 8 and .NET 9 reach end of support on November 10, 2026. A checklist for moving AI and MCP projects to .NET 10, and why .NET 11 can wait in CI for now.

    By Ajith Joseph · Fri Nov 06 2026 · #dotnet #csharp #ai #aspnet-core

  3. Human Approval for Agent Tools with Microsoft Agent Framework in .NET

    Require a human yes before an agent runs a risky tool in Microsoft Agent Framework. Tested numbers for approve and reject, and the local-function naming trap that made it look broken.

    By Ajith Joseph · Thu Nov 05 2026 · #dotnet #csharp #security #ai-agents

  4. Testing .NET AI Apps with Microsoft.Extensions.AI.Evaluation

    Score model output in unit tests with Microsoft.Extensions.AI.Evaluation: the packages, a first relevance evaluation, how to assert safely, and rules for keeping an LLM judge repeatable.

    By Ajith Joseph · Tue Nov 03 2026 · #dotnet #csharp #ai #testing

  5. A Production Pipeline for IChatClient: Microsoft.Extensions.AI Middleware in Order

    A production pipeline for IChatClient with Microsoft.Extensions.AI 10.x: cache, function invocation, OpenTelemetry and logging, why the order matters, and two tests that prove it.

    By Ajith Joseph · Mon Nov 02 2026 · #dotnet #csharp #ai #middleware

  6. A Stateless .NET MCP Server for Copilot Studio: Build It, Prove It With curl, Then Connect It

    The smallest stateless ASP.NET Core MCP server Copilot Studio can use, how to prove it with curl before touching the portal, whether an older client still works, and a failure checklist.

    By Ajith Joseph · Sun Nov 01 2026 · #dotnet #copilot-studio #mcp #aspnet-core

  7. The MCP C# SDK 2.x Release Train: What Changed Since 2.0 and What Breaks When You Upgrade

    What changed between MCP C# SDK 2.0 and 2.3: stateless HTTP by default, Tasks as an extension, nullable ServerInfo and stricter OAuth, with an upgrade checklist tested against a real server.

    By Ajith Joseph · Sat Oct 31 2026 · #dotnet #csharp #mcp #aspnet-core

  8. Agents Need Identities, Not Shared API Keys: A Least-Privilege Playbook for 2026

    Survey data shows agent adoption outrunning security. How Entra Agent IDs, MCP auth changes, and a deny-by-default tool gate (tested C#) give AI agents least privilege.

    By Ajith Joseph · Tue Sep 29 2026 · #dotnet #security #authentication #copilot-studio #ai-agents

  9. MCP's 2026-07-28 Spec: The Stateless Rewrite, and What Your Server Needs to Change

    The July 2026 MCP spec removes sessions and the initialize handshake. Verified changes, real requests against a C# server, gateway routing, and a migration checklist.

    By Ajith Joseph · Tue Sep 29 2026 · #dotnet #architecture #mcp #ai-agents

  10. Putting a Copilot Studio Agent in Front of Customers: A Secure React Embed

    Embed a Copilot Studio agent in a React customer portal securely: a .NET token broker, opaque session handles, safe context passing, and tools that cannot be prompt-injected.

    By Ajith Joseph · Thu Sep 24 2026 · #react #dotnet #security #copilot-studio #ai-agents

  11. A Real Copilot Studio Agent: Wiring a .NET MCP Server to Your Order System

    A real-world Copilot Studio example with working C# code: build an MCP server over an existing order API, connect it as an agent tool, and ship it safely.

    By Ajith Joseph · Tue Sep 22 2026 · #dotnet #csharp #copilot-studio #mcp #ai-agents

  12. Building an Agent Harness in .NET: Orchestrator and Sub-Agents with Dedicated Context

    Learn how to build a production agent harness in .NET, with an orchestrator, specialized sub-agents, dedicated context windows, and durable state.

    By Ajith Joseph · Sun Aug 02 2026 · #dotnet #llm #architecture #ai-agents

  13. Entity Framework Core in 2026: Handling Massive Datasets for AI Applications

    Discover how Entity Framework Core in 2026 handles massive datasets for AI applications. Learn best practices, new features, and optimization tips....

    By Ajith Joseph · Tue Jul 14 2026 · #dotnet #ai #performance #entity-framework

  14. Deploying .NET 10 Web APIs to Google Cloud Run: A Cost-Optimization Guide

    Learn how to deploy .NET 10 Web APIs to Google Cloud Run with cost optimization tips. Step-by-step guide for serverless, scalable, and budget-friendly deployments....

    By Ajith Joseph · Mon Jul 13 2026 · #dotnet #docker #cost-optimization #google-cloud

  15. Dockerizing .NET 10 Web APIs for Google Cloud Run: A 2026 Deployment Guide

    Learn how to dockerize .NET 10 Web APIs and deploy them to Google Cloud Run in 2026 with this step-by-step guide. Optimize, secure, and scale effortlessly....

    By Ajith Joseph · Thu May 21 2026 · #dotnet #docker #google-cloud

  16. Building Microservices with .NET 10.0: Latest Runtime and ASP.NET Core Features

    Discover how to build microservices with .NET 10.0! Explore the latest runtime and ASP.NET Core features for scalable, high-performance apps. Start now!...

    By Ajith Joseph · Wed May 20 2026 · #dotnet #microservices #architecture #aspnet-core

  17. Patching .NET 10.0 in Production: Managing the April 2026 Remote Code Execution Vulnerabilities

    Learn how to patch .NET 10.0 in production to fix April 2026 RCE vulnerabilities. Step-by-step guide, best practices, and post-patching tips included....

    By Ajith Joseph · Tue May 19 2026 · #dotnet #security

  18. Building a Modern Full-Stack Architecture: React, Next.js, .NET, Vector Search, and AI Chat

    Discover how to build a scalable full-stack app using React, Next.js, .NET, vector search, and AI chat in this step-by-step guide. (159 characters)...

    By Ajith Joseph · Tue Apr 21 2026 · #dotnet #nextjs #azure #architecture #vector-databases

  19. How to Build AI Chat Interfaces in React with a .NET Backend

    Learn how to build an AI chat interface in React with a .NET backend. Step-by-step guide with code examples, best practices, and real-time integration tips....

    By Ajith Joseph · Mon Apr 20 2026 · #react #dotnet #ai

  20. Mastering Prompt Engineering, Function Calling, and Structured Outputs in .NET APIs

    Learn how to implement prompt engineering, function calling, and structured outputs in .NET APIs for smarter, scalable, and efficient applications....

    By Ajith Joseph · Tue Apr 14 2026 · #dotnet #ai #function-calling #prompt-engineering

  21. Building Multi-Agent Systems with Microsoft Agent Framework and React Dashboards

    Learn how to build powerful multi-agent systems using Microsoft Agent Framework and React dashboards. Step-by-step guide with best practices....

    By Ajith Joseph · Mon Apr 13 2026 · #react #dotnet #azure #ai-agents #multi-agent-systems

  22. Build a RAG Application with .NET and React for Internal Knowledge Assistants

    Learn how to create a RAG application using .NET and React for internal knowledge assistants. Step-by-step guide with best practices and code examples....

    By Ajith Joseph · Sun Apr 12 2026 · #react #dotnet #ai #azure #rag

  23. How to Build AI Apps in .NET 10 with Microsoft.Extensions.AI

    Learn how to build AI apps in .NET 10 using Microsoft.Extensions.AI. Step-by-step guide for developers to integrate AI seamlessly....

    By Ajith Joseph · Sun Apr 12 2026 · #dotnet #csharp #ai

  24. Clean Architecture in .NET Core: Best Practices for Scalable Enterprise Applications

    Learn how to implement Clean Architecture in .NET Core for scalable enterprise apps. Discover best practices, layers, and real-world examples in 160 chars....

    By Ajith Joseph · Sun Jan 18 2026 · #dotnet #architecture #clean-architecture

  25. Implementing RAG (Retrieval-Augmented Generation) in .NET Applications: A Complete Guide

    Learn how to implement RAG (Retrieval-Augmented Generation) in .NET applications with this step-by-step guide. Boost accuracy and relevance in AI responses....

    By Ajith Joseph · Sat Jan 17 2026 · #dotnet #ai #azure #rag

  26. Modular Monoliths vs Microservices: Choosing the Right Architecture for .NET Projects in 2025

    Unsure whether to use modular monoliths or microservices for your .NET project in 2025? Compare pros, cons, and best practices to make an informed decision....

    By Ajith Joseph · Mon Aug 25 2025 · #dotnet #microservices #architecture

  27. Securing .NET Core Applications: A Guide to Modern Authentication and Authorization Patterns

    Learn how to secure .NET Core apps with modern authentication & authorization patterns. Explore best practices, OIDC, JWT, and role-based access control....

    By Ajith Joseph · Sun Aug 24 2025 · #dotnet #security #authentication #aspnet-core

  28. Advanced ASP.NET Core Performance Optimization Techniques: Boost Speed & Scalability

    Discover advanced ASP.NET Core performance optimization techniques to enhance speed, scalability, and efficiency. Implement expert tips today!...

    By Ajith Joseph · Sat Aug 23 2025 · #dotnet #performance #aspnet-core

  29. Cross-Platform Mobile Development with .NET MAUI: Best Practices for 2025

    Discover the top .NET MAUI best practices for 2025 to build high-performance, cross-platform mobile apps efficiently and effectively....

    By Ajith Joseph · Fri Aug 22 2025 · #dotnet #maui #mobile

  30. Entity Framework Core 9: New Features and Performance Boosts You Need to Know

    Discover Entity Framework Core 9's latest features, performance improvements, and optimizations to enhance your .NET development workflow....

    By Ajith Joseph · Thu Aug 21 2025 · #dotnet #performance #entity-framework

  31. Native AOT Compilation in .NET 9: Boost Performance with This Ultimate Guide

    Discover how Native AOT compilation in .NET 9 enhances performance, reduces startup time, and optimizes apps. Learn best practices and step-by-step implementation....

    By Ajith Joseph · Wed Aug 20 2025 · #dotnet #performance #native-aot

  32. AI and Machine Learning Integration with ML.NET: 5 Practical Examples for 2025

    Discover 5 practical examples of AI and ML integration using ML.NET in Learn how to build, train, and deploy models for real-world applications. Perfect for developers!...

    By Ajith Joseph · Tue Aug 19 2025 · #dotnet #ai #machine-learning

  33. Getting Started with .NET Aspire: A Beginner’s Guide to Cloud-Native Development

    Learn how to start with .NET Aspire for cloud-native development. Discover its features, setup steps, and best practices for building scalable apps....

    By Ajith Joseph · Mon Aug 18 2025 · #dotnet #aspire #cloud-native

  34. Blazor WebAssembly vs Server in 2025: Performance, Use Cases, and Key Differences

    Compare Blazor WebAssembly vs Server in 2025: performance benchmarks, pros/cons, and expert recommendations to choose the right framework for your project....

    By Ajith Joseph · Sun Aug 17 2025 · #dotnet #performance #blazor #webassembly

  35. Building Microservices with .NET 9 and Docker: A Step-by-Step Guide

    Learn how to build scalable microservices using .NET 9 and Docker. Follow this step-by-step guide for best practices, deployment tips, and optimization techniques....

    By Ajith Joseph · Sat Aug 16 2025 · #dotnet #docker #microservices

  36. Understanding the Request Pipeline in ASP.NET Core: A Step-by-Step Guide

    Learn how the ASP.NET Core request pipeline works, its middleware components, and how to customize it for optimal performance and functionality.

    By Ajith Joseph · Sat Aug 16 2025 · #dotnet #middleware #aspnet-core

  37. Middleware in ASP.NET Core: A Comprehensive Guide

    Middleware is a core feature of ASP.NET Core that processes HTTP requests and responses in the request/response pipeline. It enables cross-cutting concerns like logging, authentication, error handling, and more. Learn how middleware works, its types, how to create custom middleware, and best practices for implementing it in your ASP.NET Core applications.

    By Ajith Joseph · Mon Mar 24 2025 · #dotnet #csharp #middleware #aspnet-core

  38. Dependency Injection in .NET Core: A Comprehensive Guide

    Dependency Injection (DI) is a key design pattern in .NET Core that promotes loose coupling, testability, and maintainability. This guide explains the concepts, types of service lifetimes, implementation, and best practices for using DI in .NET Core applications. Learn how to build modular and scalable applications with built-in Dependency Injection.

    By Ajith Joseph · Sun Mar 23 2025 · #dotnet #csharp #dependency-injection

  39. RESTful API Best Practices for .NET Developers

    Complete guide to RESTful API architecture and best practices for .NET developers

    By Ajith Joseph · Sat Mar 22 2025 · #dotnet #csharp #api-design

  40. Building Secure REST APIs with .NET Core

    Learn how to build secure and scalable REST APIs using .NET Core with JWT authentication and best practices

    By Ajith Joseph · Sun Mar 02 2025 · #dotnet #security #api-design