---
title: "Discussion on \"Text-to-SQL in C# with ASP.NET Core and SQL Server\" | Hashnode"
description: "Discussion on \"Text-to-SQL in C# with ASP.NET Core and SQL Server\". Text-to-SQL turns a question in plain English into a SQL query, runs it, and returns the rows. This guide builds Text-to-SQL in C# with ASP.NET Core against SQL Server, using a local model through Mic"
url: "https://hashnode.com/posts/text-to-sql-in-c-with-asp-net-core-and-sql-server/6af2fba44f15c60548e87264"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Text-to-SQL in C# with ASP.NET Core and SQL Server](https://httpsaiengfoundrycomarticlesbuild-mcp-server-csharp-sql-server.hashnode.dev/text-to-sql-in-c-with-asp-net-core-and-sql-server?utm_source=hashnode&utm_medium=feed)

Text-to-SQL turns a question in plain English into a SQL query, runs it, and returns the rows. This guide builds Text-to-SQL in C# with ASP.NET Core against SQL Server, using a local model through Mic

Nov 10 · 18 min read · httpsaiengfoundrycomarticlesbuild-mcp-server-csharp-sql-server.hashnode.dev  
Updated 2d ago  
Read the article

## Written by

[AI Engineering Foundry](https://hashnode.com/@aiengfoundry)

@aiengfoundry · Dubai, UAE

  
[View profile](https://hashnode.com/@aiengfoundry)

Practical AI engineering for .NET developers building real-world AI systems.

AI Engineering Foundry provides practical technical content and resources for developers building production-ready AI applications with .NET, C#, large language models (LLMs), retrieval-augmented generation (RAG), AI agents, Model Context Protocol (MCP), and SQL Server. The platform focuses on real-world AI engineering, including application architecture, database integration, secure AI workflows, tool calling, vector search, deployment strategies, and production infrastructure. Through technical tutorials, implementation guides, and developer-focused resources, AI Engineering Foundry helps software developers understand how to build, integrate, and improve AI-powered systems using modern .NET technologies. Website: https://aiengfoundry.com/

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
