# Csharp

Published articles for Csharp.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Build Your Own AI Agent Harness in C#, the MafClaw Live Series

DevFeed: [Build Your Own AI Agent Harness in C#, the MafClaw Live Series](<https://devfeed.tech/articles/build-your-own-ai-agent-harness-in-c-the-mafclaw-live-series-31544.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/build-your-own-ai-agent-harness-in-csharp-the-maf-claw-live-series/>)

Author: Bruno Capuano

Published: 2026-09-16T21:00:00Z

Content type: tutorial

Language: en

Sources: [.NET Blog](<https://devfeed.tech/sources/net-blog.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [.NET](<https://devfeed.tech/topics/net.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [agent-harness](<https://devfeed.tech/tags/agent-harness.md>), [ai](<https://devfeed.tech/tags/ai.md>), [building](<https://devfeed.tech/tags/building.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [microsoft-agent-framework](<https://devfeed.tech/tags/microsoft-agent-framework.md>), [microsoft-reactor](<https://devfeed.tech/tags/microsoft-reactor.md>), [net](<https://devfeed.tech/tags/net.md>), [observability](<https://devfeed.tech/tags/observability.md>)

### AI overview

This article introduces a four-part live series that builds a complete C# AI agent using the Microsoft Agent Framework harness. It describes adding tools, planning, file access, approvals, memory, skills, shell commands, code execution, background agents, observability, governance, evaluations, and hosted deployment.

### Source excerpt

I am building a complete C# agent live, from a single call around an IChatClient to a production-ready, observable, governed agent, using the Microsoft Agent Framework harness in a 4-part Microsoft Reactor series. The post Build Your Own AI Agent Harness in C#, the MafClaw Live Series appeared first on .NET Blog.

## Client-Side SDK Generation with VMware Cloud Foundation OpenAPI Specs

DevFeed: [Client-Side SDK Generation with VMware Cloud Foundation OpenAPI Specs](<https://devfeed.tech/articles/client-side-sdk-generation-with-vmware-cloud-foundation-openapi-specs-12807.md>)

Original publisher: [Read original article](<https://blogs.vmware.com/cloud-foundation/2026/09/07/client-side-sdk-generation-with-vmware-cloud-foundation-openapi-specs/>)

Author: vmwareblogs

Published: 2026-09-07T09:38:44Z

Content type: tutorial

Language: en

Sources: [VMware Blogs](<https://devfeed.tech/sources/vmware-blogs.md>)

Topics: [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [.NET](<https://devfeed.tech/topics/net.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [developer tooling](<https://devfeed.tech/topics/developer-tooling.md>), [Java](<https://devfeed.tech/topics/java.md>), [Python](<https://devfeed.tech/topics/python.md>), [PowerShell](<https://devfeed.tech/topics/powershell.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [cli](<https://devfeed.tech/tags/cli.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-infrastructure](<https://devfeed.tech/tags/cloud-infrastructure.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developer-tooling](<https://devfeed.tech/tags/developer-tooling.md>), [docker](<https://devfeed.tech/tags/docker.md>), [home-page](<https://devfeed.tech/tags/home-page.md>), [java](<https://devfeed.tech/tags/java.md>), [net](<https://devfeed.tech/tags/net.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [python](<https://devfeed.tech/tags/python.md>), [rest](<https://devfeed.tech/tags/rest.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [specifications](<https://devfeed.tech/tags/specifications.md>), [vcf-9-0](<https://devfeed.tech/tags/vcf-9-0.md>), [vcf-9-1](<https://devfeed.tech/tags/vcf-9-1.md>), [vcf-sdk](<https://devfeed.tech/tags/vcf-sdk.md>)

### AI overview

This guide explains how to generate a strongly typed .NET C# client SDK from VMware Cloud Foundation and vSphere OpenAPI specifications. It covers OpenAPI Generator, installation options, large specification handling, API-surface scoping, and the REST and JSON-RPC interfaces targeted by the example.

### Source excerpt

Starting with VMware Cloud Foundation (VCF) 9.0, VMware officially publishes OpenAPI specifications for VCF APIs. This is a major milestone for developers, enabling you to consume VCF APIs using your programming language of choice. VMware provides first-class developer tooling such as VCF PowerCLI for PowerShell users and the VCF SDK offering Java and Python bindings. ... Continued The post Client-Side SDK Generation with VMware Cloud Foundation OpenAPI Specs appeared first on VMware Blogs.

## From dotnet run to Foundry Hosted Agent in 3 lines of C#

DevFeed: [From dotnet run to Foundry Hosted Agent in 3 lines of C#](<https://devfeed.tech/articles/from-dotnet-run-to-foundry-hosted-agent-in-3-lines-of-c-2950.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/from-dotnet-run-to-foundry-hosted-agent-in-3-lines-of-csharp/>)

Author: Bruno Capuano

Published: 2026-08-24T19:00:00Z

Content type: tutorial

Language: en

Sources: [.NET Blog](<https://devfeed.tech/sources/net-blog.md>)

Topics: [hosted-agents](<https://devfeed.tech/topics/hosted-agents.md>), [Microsoft Agent Framework](<https://devfeed.tech/topics/microsoft-agent-framework.md>), [Azure](<https://devfeed.tech/topics/azure.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [.NET](<https://devfeed.tech/topics/net.md>), [NuGet](<https://devfeed.tech/topics/nuget.md>), [Entra ID](<https://devfeed.tech/topics/entra-id.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [azd](<https://devfeed.tech/tags/azd.md>), [azure](<https://devfeed.tech/tags/azure.md>), [blog](<https://devfeed.tech/tags/blog.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [entra-id](<https://devfeed.tech/tags/entra-id.md>), [framework](<https://devfeed.tech/tags/framework.md>), [hosted-agents](<https://devfeed.tech/tags/hosted-agents.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [microsoft-agent-framework](<https://devfeed.tech/tags/microsoft-agent-framework.md>), [microsoft-foundry](<https://devfeed.tech/tags/microsoft-foundry.md>), [net](<https://devfeed.tech/tags/net.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [observability](<https://devfeed.tech/tags/observability.md>), [post](<https://devfeed.tech/tags/post.md>), [production](<https://devfeed.tech/tags/production.md>)

### AI overview

This tutorial shows how to deploy a Microsoft Agent Framework console agent as a Foundry Hosted Agent using one NuGet package, three lines of C#, and two commands. Foundry provides managed Azure infrastructure, scaling, identity, session state, observability, and lifecycle management.

### Source excerpt

You built an agent with Microsoft Agent Framework and it works great on your machine. Now what? Turns out deploying it to production takes 1 NuGet package, 3 lines of C#, and 2 commands. Let's do it. The post From dotnet run to Foundry Hosted Agent in 3 lines of C# appeared first on .NET Blog.

## Build a Secure C# MCP App with Cross App Access (XAA)

DevFeed: [Build a Secure C# MCP App with Cross App Access (XAA)](<https://devfeed.tech/articles/build-a-secure-c-mcp-app-with-cross-app-access-xaa-15971.md>)

Original publisher: [Read original article](<https://developer.okta.com/blog/2026/07/16/csharp-mcp-cross-app-access>)

Author: Aasawari Sahasrabuddhe

Published: 2026-07-16T05:00:00Z

Content type: tutorial

Language: en

Sources: [Okta Developer](<https://devfeed.tech/sources/okta-developer.md>)

Topics: [cross-app-access](<https://devfeed.tech/topics/cross-app-access.md>), [Model Context Protocol (MCP)](<https://devfeed.tech/topics/model-context-protocol-mcp.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [api](<https://devfeed.tech/tags/api.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cross-app-access](<https://devfeed.tech/tags/cross-app-access.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [pkce](<https://devfeed.tech/tags/pkce.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [xaa](<https://devfeed.tech/tags/xaa.md>)

### AI overview

This tutorial explains how Cross App Access (XAA) extends user identity and enterprise policy to downstream applications, MCP servers, APIs, and agent tools. It demonstrates the XAA token-exchange flow and shows how to implement a secure MCP client in C# with an MCP SDK.

### Source excerpt

A few years ago, getting a user signed in to an application or multiple applications with Single Sign-On (SSO) was enough; OpenID Connect (OIDC) handled the login, JWTs carried the claims, and Proof Key for Code Exchange (PKCE) made it secure. Today, with evolving AI, agents act on behalf of users and seek multiple accesses across different resources to execute a task. And that is when you'll hit the gap. The user has an identity, but the downstream service--like a Model Context Protocol (MCP) server, an API, or an agent tool has no way to trust it: the ID Token that proves the user's identity for your app, not for that service. You need a way to take that identity and have it trusted further down the chain, in line with the org's policy, without asking the user to log in again. Cross App Access (XAA) solves exactly that. The user authenticates once. The Identity Provider (IdP) evaluates the enterprise policy and issues a signed Identity Assertion. The downstream service exchanges that assertion for a scoped Bearer token. In this post, we'll explore how Cross App Access (XAA) closes the trust gap, test the flow using an XAA playground, and implement a secure MCP client in just a few lines of C# using our dedicated SDK. Table of Contents What is Cross App Access (XAA)? Implementing XAA with the C# MCP SDK Building the OIDC flow Automate XAA token exchange with C# SDK Connect the MCP client to the server Testing your C# MCP app with xaa.dev Run your C# MCP app with xaa.dev Learn More About Secure AI Agent Development with C# and MCP What is Cross App Access (XAA)? Before we start implementing and building the application, it is important to understand the mechanics of Cross App Access (XAA). At its core, XAA is an open standard that securely enables AI agents to act on behalf of a user and communicate with downstream applications without requiring constant, manual user consent. While the flow is sophisticated, it relies on two standard interactions: RFC 8693 (Token Exc

## Getting Started With Queryable Encryption in the MongoDB C# Driver

DevFeed: [Getting Started With Queryable Encryption in the MongoDB C# Driver](<https://devfeed.tech/articles/getting-started-with-queryable-encryption-in-the-mongodb-c-driver-21832.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2025/04/getting-started-with-queryable-encryption-in-the-mongodb-c-driver/>)

Author: Luce Carter

Published: 2025-04-22T12:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Library](<https://devfeed.tech/topics/library.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [data](<https://devfeed.tech/topics/data.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [atlas](<https://devfeed.tech/tags/atlas.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [data](<https://devfeed.tech/tags/data.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [github](<https://devfeed.tech/tags/github.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net](<https://devfeed.tech/tags/net.md>), [security](<https://devfeed.tech/tags/security.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A tutorial on adding MongoDB Queryable Encryption to a healthcare application using the MongoDB C# driver. It covers prerequisites, the automatic encryption shared library, configuration updates, and encryption key-management helpers for protecting fields such as SSN and date of birth.

### Source excerpt

With the release of MongoDB 7.0 in August 2023, we introduced a feature called Queryable Encryption, the first of its kind. With queryable encryption, your data is encrypted, even at rest, with the se... The post Getting Started With Queryable Encryption in the MongoDB C# Driver appeared first on DEV.

## Getting Started with MongoDB Atlas and Azure Functions using .NET and C#

DevFeed: [Getting Started with MongoDB Atlas and Azure Functions using .NET and C#](<https://devfeed.tech/articles/getting-started-with-mongodb-atlas-and-azure-functions-using-net-and-c-21824.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2023/02/getting-started-with-mongodb-atlas-and-azure-functions-using-net/>)

Author: Nic Raboy

Published: 2023-02-17T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [azure functions](<https://devfeed.tech/topics/azure-functions.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>)

Tags: [application-development](<https://devfeed.tech/tags/application-development.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-functions](<https://devfeed.tech/tags/azure-functions.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cli](<https://devfeed.tech/tags/cli.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [database](<https://devfeed.tech/tags/database.md>), [development](<https://devfeed.tech/tags/development.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net](<https://devfeed.tech/tags/net.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

### AI overview

This tutorial explains how to create and locally test an Azure Functions serverless application using the .NET runtime and C# to interact with a MongoDB Atlas database, then prepare it for publishing to Azure. It covers prerequisites, Azure CLI and Azure Functions Core Tools, and creating the function project.

### Source excerpt

So you need to build an application with minimal operating costs that can also scale to meet the growing demand of your business. This is a perfect scenario for a serverless function, like those built... The post Getting Started with MongoDB Atlas and Azure Functions using .NET and C# appeared first on Microsoft.

## Interact with a GraphQL API from a .NET Core Application

DevFeed: [Interact with a GraphQL API from a .NET Core Application](<https://devfeed.tech/articles/interact-with-a-graphql-api-from-a-net-core-application-21817.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/08/interact-graphql-api-dotnet-core-application/>)

Author: Nic Raboy

Published: 2022-08-03T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [net core](<https://devfeed.tech/topics/net-core.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [cli](<https://devfeed.tech/tags/cli.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [json](<https://devfeed.tech/tags/json.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial showing how to use a .NET Core console application to interact with a GraphQL API, including setup, dependencies, and deployment of an example API with MongoDB App Services.

### Source excerpt

When it comes to C#, it's not too difficult or time-consuming to create or consume RESTful APIs. In fact, I recently published a tutorial that demonstrated how to create a RESTful API with .NET Core u... The post Interact with a GraphQL API from a .NET Core Application appeared first on MongoDB.

## Using LINQ to Query MongoDB in a .NET Core Application

DevFeed: [Using LINQ to Query MongoDB in a .NET Core Application](<https://devfeed.tech/articles/using-linq-to-query-mongodb-in-a-net-core-application-21814.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/04/using-linq-query-mongodb-dotnet-core-application/>)

Author: Nic Raboy

Published: 2022-04-06T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [net core](<https://devfeed.tech/topics/net-core.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [linq](<https://devfeed.tech/tags/linq.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [programming](<https://devfeed.tech/tags/programming.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

This tutorial demonstrates how to use LINQ in a .NET Core console application to query MongoDB documents. It covers replacing simple MongoDB queries and aggregation pipelines with C# LINQ syntax, using MongoDB Atlas, configuring the project, and selecting LINQ Version 3.

### Source excerpt

If you've been keeping up with my series of tutorials around .NET Core and MongoDB, you'll likely remember that we explored using the Find operator to query for documents as well as an aggregation pip... The post Using LINQ to Query MongoDB in a .NET Core Application appeared first on MongoDB.

## Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline

DevFeed: [Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline](<https://devfeed.tech/articles/joining-collections-in-mongodb-with-net-core-and-an-aggregation-pipeline-21813.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/03/joining-collections-mongodb-dotnet-core-aggregation-pipeline/>)

Author: Nic Raboy

Published: 2022-03-02T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [net core](<https://devfeed.tech/topics/net-core.md>), [CRUD](<https://devfeed.tech/topics/crud.md>)

Tags: [atlas](<https://devfeed.tech/tags/atlas.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [requirements](<https://devfeed.tech/tags/requirements.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains how to join data from two MongoDB collections in a .NET Core application using aggregation pipelines. It uses a MongoDB Atlas cluster, the sample_mflix database, the movies collection, and a custom playlist collection.

### Source excerpt

If you've been keeping up with my .NET Core series on MongoDB, you'll remember that we explored creating a simple console application as well as building a RESTful API with basic CRUD support. In both... The post Joining Collections in MongoDB with .NET Core and an Aggregation Pipeline appeared first on MongoDB.

## Create a RESTful API with .NET Core and MongoDB

DevFeed: [Create a RESTful API with .NET Core and MongoDB](<https://devfeed.tech/articles/create-a-restful-api-with-net-core-and-mongodb-21810.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/02/create-restful-api-dotnet-core-mongodb/>)

Author: Nic Raboy

Published: 2022-02-23T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [net core](<https://devfeed.tech/topics/net-core.md>), [API](<https://devfeed.tech/topics/api.md>), [CRUD](<https://devfeed.tech/topics/crud.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [C#](<https://devfeed.tech/topics/csharp.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [class](<https://devfeed.tech/tags/class.md>), [cli](<https://devfeed.tech/tags/cli.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [database](<https://devfeed.tech/tags/database.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

A tutorial showing how to build a RESTful API with .NET Core and MongoDB Atlas. It covers project creation with the .NET Core CLI, MongoDB configuration, data modeling, and basic CRUD endpoints.

### Source excerpt

If you've been keeping up with my development content, you'll remember that I recently wrote Build Your First .NET Core Application with MongoDB Atlas, which focused on building a console application ... The post Create a RESTful API with .NET Core and MongoDB appeared first on MongoDB.

## Extract the Version Information of a Game with Unity and C#

DevFeed: [Extract the Version Information of a Game with Unity and C#](<https://devfeed.tech/articles/extract-the-version-information-of-a-game-with-unity-and-c-21811.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/02/extract-version-information-game-unity-csharp/>)

Author: Nic Raboy

Published: 2022-02-16T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Unity](<https://devfeed.tech/topics/unity.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code](<https://devfeed.tech/tags/code.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [development](<https://devfeed.tech/tags/development.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>)

### AI overview

This tutorial explains how to retrieve a Unity game's version or build number from project settings using C#, then display it on screen through a game object component.

### Source excerpt

If you play a lot of games, you probably noticed at some point in time that the version number or build number of the game is often presented clearly on the screen. This is often not by accident and i... The post Extract the Version Information of a Game with Unity and C# appeared first on The Polyglot Developer.

## Build Your First .NET Core Application with MongoDB Atlas

DevFeed: [Build Your First .NET Core Application with MongoDB Atlas](<https://devfeed.tech/articles/build-your-first-net-core-application-with-mongodb-atlas-21809.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2022/02/build-first-dotnet-core-application-mongodb-atlas/>)

Author: Nic Raboy

Published: 2022-02-09T14:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [.NET](<https://devfeed.tech/topics/net.md>), [CRUD](<https://devfeed.tech/topics/crud.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [NuGet](<https://devfeed.tech/topics/nuget.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cli](<https://devfeed.tech/tags/cli.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [databases](<https://devfeed.tech/tags/databases.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net](<https://devfeed.tech/tags/net.md>), [nosql](<https://devfeed.tech/tags/nosql.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [visual-studio-code](<https://devfeed.tech/tags/visual-studio-code.md>)

### AI overview

A tutorial for building a .NET Core console application that connects to MongoDB Atlas. It covers prerequisites, configuring the MongoDB driver with NuGet, using the command line, and verifying access to databases.

### Source excerpt

So you're a .NET Core developer or you're trying to become one and you'd like to get a database included into the mix. MongoDB is a great choice and is quite easy to get started with for your .NET Cor... The post Build Your First .NET Core Application with MongoDB Atlas appeared first on MongoDB.

## Interacting with Sprite and UI Buttons in a Unity Game

DevFeed: [Interacting with Sprite and UI Buttons in a Unity Game](<https://devfeed.tech/articles/interacting-with-sprite-and-ui-buttons-in-a-unity-game-21806.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/12/interacting-sprite-ui-buttons-unity-game/>)

Author: Nic Raboy

Published: 2022-01-01T00:57:42Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Unity](<https://devfeed.tech/topics/unity.md>), [Game Development](<https://devfeed.tech/topics/game-development.md>), [ui](<https://devfeed.tech/topics/ui.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [ui](<https://devfeed.tech/tags/ui.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>)

### AI overview

This tutorial explains how to create interactive buttons in a Unity game using both 2D sprites and Unity UI buttons. It covers adding a sprite, attaching a C# script and Box Collider 2D, and creating a legacy UI button within a canvas.

### Source excerpt

When you're developing a game, whether it be 2D or 3D, you're going to need to add menus with buttons at some point. These buttons could be as simple as a means to exit the game, or something more com... The post Interacting with Sprite and UI Buttons in a Unity Game appeared first on The Polyglot Developer.

## Implement the Konami Keystroke Cheat Code in a Unity Game

DevFeed: [Implement the Konami Keystroke Cheat Code in a Unity Game](<https://devfeed.tech/articles/implement-the-konami-keystroke-cheat-code-in-a-unity-game-21804.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2021/09/implement-konami-keystroke-cheat-code-unity-game/>)

Author: Nic Raboy

Published: 2021-09-08T13:00:00Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Unity](<https://devfeed.tech/topics/unity.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code](<https://devfeed.tech/tags/code.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [developer](<https://devfeed.tech/tags/developer.md>), [games](<https://devfeed.tech/tags/games.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implement](<https://devfeed.tech/tags/implement.md>), [loops](<https://devfeed.tech/tags/loops.md>), [script](<https://devfeed.tech/tags/script.md>), [unity](<https://devfeed.tech/tags/unity.md>), [unity3d](<https://devfeed.tech/tags/unity3d.md>)

### AI overview

A tutorial on implementing the Konami keystroke cheat code in a Unity game with C#. It explains how to capture keyboard input, record keystroke history, detect the sequence, and compare Unity's OnGUI method with a loop-based approach.

### Source excerpt

Remember all the cheat codes you could use in old-school games back in the day? Remember the Konami cheat code? Ever wonder how you could add cheat codes to your own games? Adding cheat codes to your ... The post Implement the Konami Keystroke Cheat Code in a Unity Game appeared first on The Polyglot Developer.

## Tip for 1-click indentation settings changes in Visual Studio

DevFeed: [Tip for 1-click indentation settings changes in Visual Studio](<https://devfeed.tech/articles/tip-for-1-click-indentation-settings-changes-in-visual-studio-38406.md>)

Original publisher: [Read original article](<https://khmylov.com/2011/02/tip-for-1-click-indentation-settings-changes-in-visual-studio/>)

Author: Andrew Khmylov

Published: 2011-02-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Despite the odds](<https://devfeed.tech/sources/despite-the-odds.md>)

Topics: [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>), [code style](<https://devfeed.tech/topics/code-style.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [ide](<https://devfeed.tech/topics/ide.md>), [C#](<https://devfeed.tech/topics/csharp.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [change](<https://devfeed.tech/tags/change.md>), [code](<https://devfeed.tech/tags/code.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [csharp](<https://devfeed.tech/tags/csharp.md>), [ide](<https://devfeed.tech/tags/ide.md>), [macros](<https://devfeed.tech/tags/macros.md>), [spaces](<https://devfeed.tech/tags/spaces.md>), [style](<https://devfeed.tech/tags/style.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>)

### AI overview

A tutorial explains how to create a Visual Studio macro that toggles the C# indentation setting between tabs and spaces. It uses the DTE TextEditor CSharp InsertTabs property and provides keyboard-accessible macro commands.

### Source excerpt

I work at several projects at a time, and I have different settings/requirements concerning the code style for each of them. The main issue is 'Tabs vs. Spaces' option - the first project requires using tabs, the second - spaces. It's obvious that going Tools -> Settings -> ... is not an option for everyday use. Sounds like a good task for the automation macros, right? Navigate to Tools -> Macros -> Macros IDE (or use Alt+F11) Create new macros in Project Explorer (Project - Add Module) Write a method that changes the indentation settings: Public Module TabsModule Public Sub ToggleTabs() Dim currentSetting As Boolean = DTE.Properties("TextEditor", "CSharp").Item("InsertTabs").Value DTE.Properties("TextEditor", "CSharp").Item("InsertTabs").Value = Not currentSetting End Sub End Module Now you can use Macros Explorer (Alt+F8, also you can dock it as one of your panels) to quickly change settings (by double-clicking on the corresponding item name in the macros tree)