Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"csharp-14.0/*.md",
"closed-hierarchies.md",
"collection-expression-arguments.md",
"labeled-break-continue.md",
"unions.md",
"unsafe-evolution.md"
],
Expand Down Expand Up @@ -648,6 +649,7 @@
"_csharplang/proposals/collection-expression-arguments.md": "Collection expression arguments",
"_csharplang/proposals/unions.md": "Unions",
"_csharplang/proposals/closed-hierarchies.md": "Closed hierarchies",
"_csharplang/proposals/labeled-break-continue.md": "Labeled break and continue",
"_csharplang/proposals/unsafe-evolution.md": "Memory safety",
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "C# compiler breaking changes since C# 10",
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "C# compiler breaking changes since C# 11",
Expand Down Expand Up @@ -733,6 +735,7 @@
"_csharplang/proposals/collection-expression-arguments.md": "This proposal introduces collection expression arguments.",
"_csharplang/proposals/unions.md": "This proposal describes union types and union declarations. Unions allow expressing values from a closed set of types with exhaustive pattern matching.",
"_csharplang/proposals/closed-hierarchies.md": "This proposal describes closed class hierarchies. A closed class restricts derivation to its declaring assembly, enabling exhaustive `switch` expressions over its direct descendants.",
"_csharplang/proposals/labeled-break-continue.md": "This proposal allows `break` and `continue` statements to optionally target an enclosing labeled loop or `switch` statement, enabling cleaner control flow in nested constructs without `goto`.",
"_csharplang/proposals/unsafe-evolution.md": "This proposal describes the evolution of memory safety in C#. It ties the `unsafe` context to operations that access unmanaged memory, rather than to the existence of pointer types.",
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md": "Learn about any breaking changes since the initial release of C# 10 and included in C# 11",
"_roslyn/docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md": "Learn about any breaking changes since the initial release of C# 11 and included in C# 12",
Expand Down
6 changes: 3 additions & 3 deletions docs/ai/quickstarts/build-mcp-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ In this quickstart, you create a minimal Model Context Protocol (MCP) server usi
- **Framework**: Select the target .NET framework.
- **MCP Server Transport Type**: Choose between creating a **local** (stdio) or a **remote** (http) MCP server.
- **Enable native AOT (Ahead-Of-Time) publish**: Enable your MCP server to be self-contained and compiled to native code. For more information, see the [Native AOT deployment guide](../../core/deploying/native-aot/index.md).
- **Enable self-contained publish**: Enable your MCP server to be published as a self-contained executable. For more information, see the [Self-contained deployment section of the .NET application publishing guide](../../core/deploying/index.md#self-contained-deployment).
- **Enable self-contained publish**: Enable your MCP server to be published as a self-contained executable. For more information, see the [Self-contained deployment section of the .NET application publishing guide](../../core/deploying/index.md#publish-as-self-contained).

Choose your preferred options or keep the default ones, and then select **Create**.

Expand Down Expand Up @@ -124,7 +124,7 @@ In this quickstart, you create a minimal Model Context Protocol (MCP) server usi
- **Framework**: Select the target .NET framework.
- **MCP Server Transport Type**: Choose between creating a **local** (stdio) or a **remote** (http) MCP server.
- **Enable native AOT (Ahead-Of-Time) publish**: Enable your MCP server to be self-contained and compiled to native code. For more information, see the [Native AOT deployment guide](../../core/deploying/native-aot/index.md).
- **Enable self-contained publish**: Enable your MCP server to be published as a self-contained executable. For more information, see the [Self-contained deployment section of the .NET application publishing guide](../../core/deploying/index.md#self-contained-deployment).
- **Enable self-contained publish**: Enable your MCP server to be published as a self-contained executable. For more information, see the [Self-contained deployment section of the .NET application publishing guide](../../core/deploying/index.md#publish-as-self-contained).

![MCP Server Template Options](../media/build-mcp-server/vscode-mcp-server-template-options.png)

Expand All @@ -151,7 +151,7 @@ In this quickstart, you create a minimal Model Context Protocol (MCP) server usi
- **Framework**: Select the target .NET framework.
- **MCP Server Transport Type**: Choose between creating a **local** (stdio) or a **remote** (http) MCP server.
- **Enable native AOT (Ahead-Of-Time) publish**: Enable your MCP server to be self-contained and compiled to native code. For more information, see the [Native AOT deployment guide](../../core/deploying/native-aot/index.md).
- **Enable self-contained publish**: Enable your MCP server to be published as a self-contained executable. For more information, see the [Self-contained deployment section of the .NET application publishing guide](../../core/deploying/index.md#self-contained-deployment).
- **Enable self-contained publish**: Enable your MCP server to be published as a self-contained executable. For more information, see the [Self-contained deployment section of the .NET application publishing guide](../../core/deploying/index.md#publish-as-self-contained).

![Template options for an MCP Server in .NET CLI](../media/build-mcp-server/cli-mcp-server-template-options.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ The .NET team provides some basic variants in [dotnet/](https://hub.docker.com/r
- **sdk**: for development and build scenarios
- **aspnet**: for ASP.NET production scenarios
- **runtime**: for .NET production scenarios
- **runtime-deps**: for production scenarios of [self-contained applications](../../../core/deploying/index.md#self-contained-deployment)
- **runtime-deps**: for production scenarios of [self-contained applications](../../../core/deploying/index.md#publish-as-self-contained)

For faster startup, runtime images also automatically set aspnetcore\_urls to port 80 and use Ngen to create a native image cache of assemblies.

Expand Down
Loading
Loading