Skip to content
Merged
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: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: learn.microsoft.com site feedback
url: https://github.com/MicrosoftDocs/feedback/issues/new/choose
about: Log general learn.microsoft.com site issues here
- name: .NET platform and other product feedback
url: https://aka.ms/feedback/report?space=61
about: Log product issues here
Expand Down
22 changes: 11 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,17 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/ai/quickstarts/snippets/evaluate-ai-responses" #TestAI.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/ai/quickstarts/snippets/function-calling/azure-openai" #FunctionCallingAI.csproj
schedule:
Expand Down Expand Up @@ -2186,14 +2197,3 @@ updates:
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
- package-ecosystem: "nuget"
directory: "/docs/devops/snippets/create-dotnet-github-action/DotNet.GitHubAction" #DotNet.GitHubAction.csproj
schedule:
interval: "weekly"
day: "wednesday"
open-pull-requests-limit: 5
groups:
# Group .NET updates together for projects.
dotnet:
patterns:
- "*" # Prefer a single PR per project update.
4 changes: 4 additions & 0 deletions .openpublishing.redirection.ai.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"redirections": [
{
"source_path_from_root": "/docs/ai/conceptual/agents.md",
"redirect_url": "/dotnet/ai"
},
{
"source_path_from_root": "/docs/ai/how-to/app-service-db-auth.md",
"redirect_url": "/dotnet/ai"
Expand Down
8 changes: 6 additions & 2 deletions .openpublishing.redirection.azure.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
"source_path_from_root": "/docs/azure/dotnet-tutorials.md",
"redirect_url": "/dotnet/azure/"
},
{
"source_path_from_root": "/docs/azure/landing-page.yml",
"redirect_url": "/dotnet/azure/index"
},
{
"source_path_from_root": "/docs/azure/logging.md",
"redirect_url": "/dotnet/azure/sdk/logging"
Expand Down Expand Up @@ -102,7 +106,7 @@
},
{
"source_path_from_root": "/docs/azure/sdk/authentication-azure-hosted-apps.md",
"redirect_url": "/dotnet/azure/sdk/authentication/azure-hosted-apps"
"redirect_url": "/dotnet/azure/sdk/authentication/system-assigned-managed-identity"
},
{
"source_path_from_root": "/docs/azure/sdk/authentication-additional-methods.md",
Expand Down Expand Up @@ -130,7 +134,7 @@
},
{
"source_path_from_root": "/docs/azure/sdk/authentication/azure-hosted-apps.md",
"redirect_url": "/docs/azure/sdk/authentication/system-assigned-managed-identity"
"redirect_url": "/dotnet/azure/sdk/authentication/system-assigned-managed-identity"
}
]
}
45 changes: 0 additions & 45 deletions .replaycheck/docs/core/tutorials/top-level-templates.yml

This file was deleted.

92 changes: 0 additions & 92 deletions docs/ai/conceptual/agents.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/ai/how-to/app-service-aoai-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ zone_pivot_groups: azure-interface

# Authenticate to Azure OpenAI from an Azure hosted app using Microsoft Entra ID

This article demonstrates how to use [Microsoft Entra ID managed identities](/azure/app-service/overview-managed-identity) and the [Microsoft.Extensions.AI library](/dotnet/ai/ai-extensions) to authenticate an Azure hosted app to an Azure OpenAI resource.
This article demonstrates how to use [Microsoft Entra ID managed identities](/azure/app-service/overview-managed-identity) and the [Microsoft.Extensions.AI library](../ai-extensions.md) to authenticate an Azure hosted app to an Azure OpenAI resource.

A managed identity from Microsoft Entra ID allows your app to easily access other Microsoft Entra protected resources such as Azure OpenAI. The identity is managed by the Azure platform and doesn't require you to provision, manage, or rotate any secrets.

Expand Down Expand Up @@ -181,7 +181,7 @@ az role assignment create --assignee "<managedIdentityObjectID>" \
:::code language="csharp" source="./snippets/hosted-app-auth/program.cs" range="41-46":::

> [!TIP]
> Learn more about ASP.NET Core dependency injection and how to register other AI services types in the Azure SDK for .NET [dependency injection](/dotnet/azure/sdk/dependency-injection) documentation.
> Learn more about ASP.NET Core dependency injection and how to register other AI services types in the Azure SDK for .NET [dependency injection](../../azure/sdk/dependency-injection.md) documentation.

## Related content

Expand Down
8 changes: 4 additions & 4 deletions docs/ai/index.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
### YamlMime:Landing

title: AI for .NET developers
summary: Learn to use AI with .NET. Browse sample code, tutorials, quickstarts, conceptual articles, and more.
title: AI apps for .NET developers
summary: Learn to build AI apps with .NET. Browse sample code, tutorials, quickstarts, conceptual articles, and more.

metadata:
title: AI for .NET developers
description: Samples, tutorials, and education for using AI with .NET
title: AI apps for .NET developers
description: Samples, tutorials, and education for building AI apps with .NET
ms.topic: hub-page
ms.service: dotnet
ms.date: 12/19/2024
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="9.3.0-preview.1.25126.9" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="9.3.0-preview.1.25126.9" />
<PackageReference Include="Microsoft.Extensions.AI.Ollama" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="MSTest" Version="3.6.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="MSTest" Version="3.8.0" />
</ItemGroup>

<ItemGroup>
Expand Down
14 changes: 7 additions & 7 deletions docs/ai/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ items:
- name: Overview
href: get-started/dotnet-ai-overview.md
- name: "Quickstart: Connect to and prompt an AI model"
href: /dotnet/ai/quickstarts/prompt-model
href: quickstarts/prompt-model.md
- name: AI frameworks and SDKs
items:
- name: Overview
Expand All @@ -16,17 +16,17 @@ items:
- name: Quickstarts
items:
- name: Build a chat app
href: /dotnet/ai/quickstarts/build-chat-app
href: quickstarts/build-chat-app.md
- name: Build a .NET AI vector search app
href: /dotnet/ai/quickstarts/build-vector-search-app
href: quickstarts/build-vector-search-app.md
- name: Execute a local .NET function
href: /dotnet/ai/quickstarts/use-function-calling
href: quickstarts/use-function-calling.md
- name: Generate images
href: /dotnet/ai/quickstarts/generate-images
href: quickstarts/generate-images.md
- name: Chat with a local AI model
href: /dotnet/ai/quickstarts/chat-local-model
href: quickstarts/chat-local-model.md
- name: Build a minimal AI assistant
href: /dotnet/ai/quickstarts/create-assistant
href: quickstarts/create-assistant.md
- name: Concepts
items:
- name: How generative AI and LLMs work
Expand Down
2 changes: 1 addition & 1 deletion docs/ai/tutorials/snippets/llm-eval/llm-eval.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.2" />
<PackageReference Include="Microsoft.SemanticKernel" Version="1.39.0" />
<PackageReference Include="Microsoft.SemanticKernel" Version="1.40.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To access these values from environment variables, the application just needs to

## Store secrets with the ASP.NET Core Secret Manager

The ASP.NET Core [Secret Manager](/aspnet/core/security/app-secrets#secret-manager) tool provides another method of keeping secrets out of source code **during development**. To use the Secret Manager tool, install the package **Microsoft.Extensions.Configuration.SecretManager** in your project file. Once that dependency is present and has been restored, the `dotnet user-secrets` command can be used to set the value of secrets from the command line. These secrets will be stored in a JSON file in the user’s profile directory (details vary by OS), away from source code.
The ASP.NET Core [Secret Manager](/aspnet/core/security/app-secrets#secret-manager) tool provides another method of keeping secrets out of source code **during development**. To use the Secret Manager tool, install the package **Microsoft.Extensions.Configuration.UserSecrets** in your project file. Once that dependency is present and has been restored, the `dotnet user-secrets` command can be used to set the value of secrets from the command line. These secrets will be stored in a JSON file in the user’s profile directory (details vary by OS), away from source code.

Secrets set by the Secret Manager tool are organized by the `UserSecretsId` property of the project that's using the secrets. Therefore, you must be sure to set the UserSecretsId property in your project file, as shown in the snippet below. The default value is a GUID assigned by Visual Studio, but the actual string is not important as long as it's unique in your computer.

Expand Down
Loading
Loading