<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dotnet on Mike Jeffs</title>
    <link>https://mikejeffs.dev/blog/dotnet/</link>
    <description>Recent content in Dotnet on Mike Jeffs</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2024, Michael Jeffs.</copyright>
    <lastBuildDate>Mon, 28 Jul 2025 10:37:38 +0100</lastBuildDate>
    <atom:link href="https://mikejeffs.dev/blog/dotnet/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Getting Started With MCP Servers in .NET</title>
      <link>https://mikejeffs.dev/getting-started-with-mcp-servers-in-.net/</link>
      <pubDate>Mon, 28 Jul 2025 10:37:38 +0100</pubDate>
      <guid>https://mikejeffs.dev/getting-started-with-mcp-servers-in-.net/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Model Context Protocol (MCP) servers are powerful tools that enable AI models like Chat GPT, Claude, Gemini etc. to interact with external systems and data sources in a standardized way. An MCP server acts as a bridge between applications and AI agents, providing a secure and structured way for AI models to retrieve data, and perform operations, all using natural language prompts. Normally AI agents have no easy or secure way to access you internal application data, MCP servers help address this.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Writing .NET Integration tests with Testcontainers</title>
      <link>https://mikejeffs.dev/writing-.net-integration-tests-with-testcontainers/</link>
      <pubDate>Sun, 10 Nov 2024 20:02:08 +0000</pubDate>
      <guid>https://mikejeffs.dev/writing-.net-integration-tests-with-testcontainers/</guid>
      <description>&lt;p&gt;This tutorial will demonstrate how to setup a Testcontainer running PostgreSQL for running integration tests on a ASP.NET Core Web API.&#xA;For database access, both Entity Framework and Dapper are covered in this tutorial.&lt;/p&gt;&#xA;&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;A Web API project setup with a database, and at least one endpoint to test against.&lt;/li&gt;&#xA;&lt;li&gt;Docker installed on your machine.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;setup&#34;&gt;Setup&lt;/h2&gt;&#xA;&lt;p&gt;Create a new xUnit project, and within it install any dependencies you require (e.g. fluentAssertions, Bogus for fake data, etc.). You also need to add a reference to the Web API project in the test projects csproj file.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
