# dotnet

Published articles for dotnet.

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

## 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.

## Explore new features available in C# 15 preview

DevFeed: [Explore new features available in C# 15 preview](<https://devfeed.tech/articles/explore-new-features-available-in-c-15-preview-2949.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/explore-csharp-15/>)

Author: Bill Wagner

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

Content type: article

Language: en

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

Topics: [C# 15](<https://devfeed.tech/topics/c-sharp-15.md>), [.NET](<https://devfeed.tech/topics/net.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [.NET 11 Preview 7](<https://devfeed.tech/topics/net-11-preview-7.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [c-sharp-15](<https://devfeed.tech/tags/c-sharp-15.md>), [closed-hierarchies](<https://devfeed.tech/tags/closed-hierarchies.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [features](<https://devfeed.tech/tags/features.md>), [net](<https://devfeed.tech/tags/net.md>), [net-11](<https://devfeed.tech/tags/net-11.md>), [net-11-preview-7](<https://devfeed.tech/tags/net-11-preview-7.md>), [union-types](<https://devfeed.tech/tags/union-types.md>)

### AI overview

An overview of the new features in C# 15, which ships with .NET 11. The article covers union types, closed hierarchies, the preview memory-safety redesign, and several smaller language changes.

### Source excerpt

C# 15 ships with .NET 11. It adds union types, closed hierarchies, a preview of the updated unsafe model, and a few smaller changes that remove everyday ceremony. The post Explore new features available in C# 15 preview appeared first on .NET Blog.

## Six Live Kubernetes Recommendations: AKS, Cilium, Rate Limiting, and More

DevFeed: [Six Live Kubernetes Recommendations: AKS, Cilium, Rate Limiting, and More](<https://devfeed.tech/articles/six-live-kubernetes-recommendations-aks-cilium-rate-limiting-and-more-19004.md>)

Original publisher: [Read original article](<https://www.pulumi.com/blog/getting-started-aks-pulumi-csharp/>)

Author: Adam Gordon Bell

Published: 2026-06-15T12:00:00Z

Content type: tutorial

Language: en

Sources: [Pulumi](<https://devfeed.tech/sources/pulumi.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Azure](<https://devfeed.tech/topics/azure.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Cilium](<https://devfeed.tech/topics/cilium.md>), [Docker Hub](<https://devfeed.tech/topics/docker-hub.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [aks](<https://devfeed.tech/tags/aks.md>), [azure](<https://devfeed.tech/tags/azure.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cilium](<https://devfeed.tech/tags/cilium.md>), [container-registry](<https://devfeed.tech/tags/container-registry.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>), [web-app](<https://devfeed.tech/tags/web-app.md>)

### AI overview

A writeup of a live workshop on building an AKS cluster, Azure Container Registry, and a random-cat web app in C# with Pulumi. It presents recommendations for working with Kubernetes on Azure, including choosing a language the team already uses, and describes how Docker Hub rate limiting affected the workshop.

### Source excerpt

On June 10th, Engin and I ran a live workshop building an AKS cluster, an Azure Container Registry, and a random-cat web app from scratch in C#. This is the writeup, including the parts we didn't get to live. Since this post was published, Pulumi has added first-class support for HashiCorp Configuration Language (HCL). You can now write Pulumi programs in HCL directly, alongside general-purpose languages like TypeScript, Python, Go, and C#. To see how it works, see Pulumi HCL. Live demos keep you honest. On June 10th my AKS workshop went a little sideways. Partway through, Docker Hub rate-limited my image pull and we had to adapt the content on the fly. The original plan was to stand up an AKS cluster with Cilium, an Azure Container Registry with the cluster's pull permission wired in code, and a random-cat web app, then split the infrastructure from the workload into separate Pulumi stacks. Live, we didn't make it through all of that, but we had some fun tangents and it turned out to be a great session. So here are my six recommendations for working with Kubernetes on Azure from this recent workshop. 1. Pick the language your team already uses I opened the session by asking the room what language they prefer to work in, with one caveat from me: "Hopefully, it's not PowerShell because this is not in PowerShell." We got some C# answers and zero requests for PowerShell, which works out, because the whole workshop is in PowerShell C#. I chose C# because, first, I genuinely love the language. I spent the early part of my career as a C# developer, and on Azure it just makes sense. Second, an Azure workshop tends to draw a big turnout of C# devs, and if they aren't C# devs themselves, they often work somewhere the backend team uses C#. Pulumi lets you bring that language to your infrastructure rather than learn a new DSL. AI coding assistants also came up. LLMs have substantially more C# and Go in their training data than HCL or Bicep. As I put it live: "If you're working

## Native .NET Buildpack Support is Now Available on App Platform

DevFeed: [Native .NET Buildpack Support is Now Available on App Platform](<https://devfeed.tech/articles/native-net-buildpack-support-is-now-available-on-app-platform-19914.md>)

Original publisher: [Read original article](<https://www.digitalocean.com/blog/net-buildpack-support-app-platform>)

Author: Bikram Gupta

Published: 2026-03-05T21:21:25Z

Content type: release

Language: en

Sources: [DigitalOcean](<https://devfeed.tech/sources/digitalocean.md>)

Topics: [Digital Ocean](<https://devfeed.tech/topics/digital-ocean.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [Git](<https://devfeed.tech/topics/git.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [NuGet](<https://devfeed.tech/topics/nuget.md>)

Tags: [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [digitalocean](<https://devfeed.tech/tags/digitalocean.md>), [dockerfiles](<https://devfeed.tech/tags/dockerfiles.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [f-sharp](<https://devfeed.tech/tags/f-sharp.md>), [git](<https://devfeed.tech/tags/git.md>), [net](<https://devfeed.tech/tags/net.md>), [product-updates](<https://devfeed.tech/tags/product-updates.md>), [release](<https://devfeed.tech/tags/release.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

DigitalOcean App Platform now supports native .NET buildpacks, allowing developers to deploy .NET applications from Git repositories without maintaining Dockerfiles. The platform detects the project, selects the SDK version, restores dependencies, and builds the application for production.

### Source excerpt

The .NET ecosystem continues to power a significant share of enterprise and cloud-native applications, from web APIs and microservices to full-stack applications built with ASP.NET Core. Developers building with C#, F#, and Visual Basic need a deployment experience that matches the productivity of the framework itself: push code, and let the platform handle the rest. Today, we're excited to announce native .NET buildpack support on DigitalOcean App Platform. You can now deploy your .NET applications directly from a Git repository without writing or maintaining Dockerfiles. App Platform automatically detects your .NET project, installs the correct SDK version, and builds your application for production. Benefits Zero Configuration: Push your .NET code to a Git repository, and App Platform handles runtime detection, SDK installation, and build configuration automatically--no Dockerfile required. Multi-Language Support: Build applications in C#, Visual Basic, or F# using the .NET and ASP.NET Core frameworks, all with the same streamlined deployment experience. Automatic SDK Management: App Platform selects the appropriate .NET SDK version based on your project's TargetFramework or global.json configuration, supporting .NET 8.0, 9.0, and 10.0. Production-Ready Defaults: The buildpack compiles with the Release configuration by default and automatically detects ASP.NET Core web applications to configure the correct process type. How Detection Works Once you connect your Git repository, App Platform identifies your application as a .NET project by looking for specific files in your repository root. App Platform confirms a .NET application if it detects any of the following: Solution files: *.sln, *.slnx Project files: *.csproj, *.vbproj, *.fsproj File-based apps: *.cs Once detected, the buildpack takes over: SDK Detection: Determines the required .NET SDK version from your TargetFramework property or global.json file Dependency Restore: Runs dotnet restore to fetch NuGet pa

## Automatically Signing a Windows EXE with Azure Trusted Signing, dotnet sign, and GitHub Actions

DevFeed: [Automatically Signing a Windows EXE with Azure Trusted Signing, dotnet sign, and GitHub Actions](<https://devfeed.tech/articles/automatically-signing-a-windows-exe-with-azure-trusted-signing-dotnet-sign-and-github-actions-21851.md>)

Original publisher: [Read original article](<https://www.hanselman.com/blog/automatically-signing-a-windows-exe-with-azure-trusted-signing-dotnet-sign-and-github-actions>)

Author: Scott Hanselman

Published: 2025-11-28T19:31:25Z

Content type: tutorial

Language: en

Sources: [Scott Hanselman](<https://devfeed.tech/sources/scott-hanselman.md>)

Topics: [Azure](<https://devfeed.tech/topics/azure.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [azure](<https://devfeed.tech/tags/azure.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [dotnetcore](<https://devfeed.tech/tags/dotnetcore.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [signing](<https://devfeed.tech/tags/signing.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A tutorial on signing a Windows executable with Azure Trusted Signing, dotnet sign, and GitHub Actions. It describes cloud-based certificate management, CI/CD integration, prerequisites, and approximate pricing for small projects.

### Source excerpt

Mac Tahoe (in Beta as of the time of this writing) has this new feature called Edge Light that basically puts a bright picture of an Edge Light around your screen and basically uses the power of OLED to give you a virtual ring light. So I was like, why can't we also have nice things? I wrote (vibed, with GitHub Copilot and Claude Sonnet 4.5) a Windows Edge Light App (source code at https://github.com/shanselman/WindowsEdgeLight and you can get the latest release here https://github.com/shanselman/WindowsEdgeLight/releases or the app will check for new releases and autoupdate with Updatum). However, as is with all suss loose executables on the internet, when you run random stuff you'll often get the Window Defender 'new phone, who dis' warning which is scary. After several downloads and no viruses or complaints, my executable will eventually gain reputation with the Windows Defender Smart Screen service, but having a Code Signing Certificate is said to help with that. However, code signing certs are expensive and a hassle to manage and renew. Someone told me that Azure Trusted Signing was somewhat less of a hassle - it's less, but it's still non-trivial. I read this post from Rick (his blog is gold and has been for years) earlier in the year and some of it was super useful and other stuff has been made simpler over time. I wrote 80% of this blog post, but since I just spent an hour getting code signing to work and GitHub Copilot was going through and logging everything I did, I did use Claude 4.5 to help organize some of this. I have reviewed it all and re-written parts I didn't like, so any mistakes are mine. Azure Trusted Signing is Microsoft's cloud-based code signing service that: No hardware tokens - Everything happens in the cloud Automatic certificate management - Certificates are issued and renewed automatically GitHub Actions integration - Sign during your CI/CD pipeline. I used GH Actions. Kinda Affortable - About $10/month for small projects. I would like

## How Does Dotnet Publish Work

DevFeed: [How Does Dotnet Publish Work](<https://devfeed.tech/articles/how-does-dotnet-publish-work-4525.md>)

Original publisher: [Read original article](<https://feeds.feedblitz.com/~/923705738/0/baeldung/ops~How-Does-Dotnet-Publish-Work>)

Author: John Caleb

Published: 2025-08-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Baeldung - Ops](<https://devfeed.tech/sources/baeldung-ops.md>)

Topics: [Deployment](<https://devfeed.tech/topics/deployment.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [NuGet](<https://devfeed.tech/topics/nuget.md>), [trimming](<https://devfeed.tech/topics/trimming.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [build](<https://devfeed.tech/tags/build.md>), [cli](<https://devfeed.tech/tags/cli.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [deployment-tools](<https://devfeed.tech/tags/deployment-tools.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [net](<https://devfeed.tech/tags/net.md>), [nuget](<https://devfeed.tech/tags/nuget.md>), [publication](<https://devfeed.tech/tags/publication.md>), [trimming](<https://devfeed.tech/tags/trimming.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains how the .NET dotnet publish command prepares applications for distribution by building the project, resolving dependencies, and producing deployable files. It covers deployment targets, common publishing options, framework-dependent and self-contained deployments, and optimizations such as trimming and single-file publishing.

### Source excerpt

Explore what dotnet publish does, how it works behind the scenes, and how to use it efficiently in various deployment circumstances. Related Stories Configuring Environment Variables in Ansible Introduction to GoCD Using a Package Manager in GitHub Actions

## Migrating From PostgreSQL to MongoDB in a .NET EF Core Application

DevFeed: [Migrating From PostgreSQL to MongoDB in a .NET EF Core Application](<https://devfeed.tech/articles/migrating-from-postgresql-to-mongodb-in-a-net-ef-core-application-21837.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2025/05/migrating-from-postgresql-to-mongodb-in-a-net-ef-core-application/>)

Author: Luce Carter

Published: 2025-05-01T12: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>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [azure](<https://devfeed.tech/tags/azure.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [efcore](<https://devfeed.tech/tags/efcore.md>), [genai](<https://devfeed.tech/tags/genai.md>), [migration](<https://devfeed.tech/tags/migration.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [net](<https://devfeed.tech/tags/net.md>), [orm](<https://devfeed.tech/tags/orm.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [relational-databases](<https://devfeed.tech/tags/relational-databases.md>)

### AI overview

This tutorial explains how to migrate a .NET application using PostgreSQL and Entity Framework Core to MongoDB with the MongoDB EF Core Provider. It also describes using Relational Migrator to transform relational data and model it for MongoDB collections.

### Source excerpt

For many reasons--including scalability, flexibility, and modernization--more and more development teams are looking to migrate away from PostgreSQL to MongoDB. In the past, these teams might have been ... The post Migrating From PostgreSQL to MongoDB in a .NET EF Core Application appeared first on DEV.

## 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.

## Increasing GitHub Actions Disk Space

DevFeed: [Increasing GitHub Actions Disk Space](<https://devfeed.tech/articles/increasing-github-actions-disk-space-37725.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/github-actions-disk-space/>)

Author: Carlos Alexandro Becker

Published: 2024-11-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [aws](<https://devfeed.tech/tags/aws.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [docker](<https://devfeed.tech/tags/docker.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [go](<https://devfeed.tech/tags/go.md>), [haskell](<https://devfeed.tech/tags/haskell.md>), [jobs](<https://devfeed.tech/tags/jobs.md>), [nix](<https://devfeed.tech/tags/nix.md>), [space](<https://devfeed.tech/tags/space.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

The article explains why GitHub Actions workers can run out of disk space and describes removing unused preinstalled tools, Docker images, caches, and SDKs through YAML configuration.

### Source excerpt

A couple of days ago, all of a sudden, my jobs started running out of space.

## Retry flaky tests with dotnet test and PowerShell

DevFeed: [Retry flaky tests with dotnet test and PowerShell](<https://devfeed.tech/articles/retry-flaky-tests-with-dotnet-test-and-powershell-20782.md>)

Original publisher: [Read original article](<https://conductofcode.io/post/retry-flaky-tests-with-dotnet-test-and-powershell/>)

Author: {"twitter"=\>"hlaueriksson"}

Published: 2023-03-26T19:00:00Z

Content type: tutorial

Language: en

Sources: [Henrik Lau Eriksson](<https://devfeed.tech/sources/henrik-lau-eriksson.md>)

Topics: [PowerShell](<https://devfeed.tech/topics/powershell.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Smoke Tests](<https://devfeed.tech/topics/smoke-tests.md>), [Playwright](<https://devfeed.tech/topics/playwright.md>), [Selenium](<https://devfeed.tech/topics/selenium.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cli](<https://devfeed.tech/tags/cli.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [flaky](<https://devfeed.tech/tags/flaky.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [mstest](<https://devfeed.tech/tags/mstest.md>), [nunit](<https://devfeed.tech/tags/nunit.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [retry](<https://devfeed.tech/tags/retry.md>), [selenium](<https://devfeed.tech/tags/selenium.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [xunit](<https://devfeed.tech/tags/xunit.md>)

### AI overview

This tutorial presents a PowerShell script that uses dotnet test and TRX result files to track failed tests, retry them, report the final result, and allow a configured percentage of failures. It demonstrates the script with NUnit, MSTest, and xUnit.

### Source excerpt

Introducing test.ps1, a script for running flaky tests - Keeps track of failing tests and retries them - Notifies the test framework of the current retry iteration - Makes it possible to accept a certain percentage of failing tests - Outputs the test result in a coherent way

## 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.

## 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.

## Uruchamianie aplikacji .NET jako 32-bitowej w 64-bitowym systemie

DevFeed: [Uruchamianie aplikacji .NET jako 32-bitowej w 64-bitowym systemie](<https://devfeed.tech/articles/uruchamianie-aplikacji-net-jako-32-bitowej-w-64-bitowym-systemie-27585.md>)

Original publisher: [Read original article](<https://gagor.pro/2013/10/uruchamiania-aplikacji-net-jako-32-bitowej-w-64-bitowym-systemie/>)

Author: Tom

Published: 2013-10-29T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>)

Tags: [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [dotnet](<https://devfeed.tech/tags/dotnet.md>), [howto](<https://devfeed.tech/tags/howto.md>), [net](<https://devfeed.tech/tags/net.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This Polish how-to explains how to run a .NET application as a 32-bit process on a 64-bit Windows system. It uses CorFlags.exe from the Windows SDK to mark the executable as 32-bit, allowing it to use the 32-bit ODBC client.

### Source excerpt

Kolejna zabawna sytuacja - pewna aplikacja dotNET'owa działała dziwnie na 64-bitowym systemie, a tymczasem na 32-bitowej maszynie ta sama aplikacja działała bez problemów. Jedyna różnica to inne wersje klientów ODBC na tych systemach, które po kilku testach okazały się być przyczyną całego zła. Pojawił się pomysł by odpalić aplikacje na 64 bitowym systemie ale w trybie 32 bit - poniżej krótkie HOWTO jak to osiągnąć: potrzebujemy narzędzia corflags.exe które pozwoli oznaczyć nam binarkę jako 32-bitową, do pobrania tutaj external link a instrukcja jej użycia tutaj external link . Instalujemy Windows SDK i zaznaczamy wyłącznie .NET Development Tools w kategorii Developer Tools / Windows Development Tools Odpalamy CMD i w nim CorFlags z lokalizacji: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin (przynajmniej u mnie): cd C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\ CorFlags.exe c:\sciezka\do\pliku.exe /32BIT+ Tyle - aplikacja uruchomiła się bez problemu jako 32 bitowa i korzystała z 32 bitowego ODBC.