# trimming

Published articles for trimming.

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

## Test what you ship: MSTest and Native AOT

DevFeed: [Test what you ship: MSTest and Native AOT](<https://devfeed.tech/articles/test-what-you-ship-mstest-and-native-aot-2952.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/dotnet/mstest-source-generation/>)

Author: Amaury Levé

Published: 2026-09-03T18:00:00Z

Content type: article

Language: en

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

Topics: [native aot](<https://devfeed.tech/topics/native-aot.md>), [trimming](<https://devfeed.tech/topics/trimming.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Code generation](<https://devfeed.tech/topics/code-generation.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [deployment](<https://devfeed.tech/tags/deployment.md>), [generation](<https://devfeed.tech/tags/generation.md>), [mstest](<https://devfeed.tech/tags/mstest.md>), [native-aot](<https://devfeed.tech/tags/native-aot.md>), [net](<https://devfeed.tech/tags/net.md>), [source-generators](<https://devfeed.tech/tags/source-generators.md>), [testing](<https://devfeed.tech/tags/testing.md>), [trimming](<https://devfeed.tech/tags/trimming.md>)

### AI overview

MSTest 4.4 uses source generation to let test projects run as Native AOT executables, helping teams test under the same trimming and deployment constraints as their applications. The article explains that this can reveal application issues such as reflection-dependent serialization that managed test runs may miss.

### Source excerpt

MSTest source generation lets test projects use the same Native AOT and trimming deployment model as the applications they validate, while reducing reflection on the test execution path. The post Test what you ship: MSTest and Native AOT appeared first on .NET Blog.

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

## Clustering Similar Stories Using LDA

DevFeed: [Clustering Similar Stories Using LDA](<https://devfeed.tech/articles/clustering-similar-stories-using-lda-31894.md>)

Original publisher: [Read original article](<http://engineering.flipboard.com//2017/02/storyclustering>)

Author: https://www.linkedin.com/in/arnab-bhadury-a6304768 (Arnab Bhadury)

Published: 2017-02-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Flipboard](<https://devfeed.tech/sources/flipboard.md>)

Topics: [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [trimming](<https://devfeed.tech/tags/trimming.md>)

### AI overview

This article explains how Flipboard uses a clustering algorithm and Latent Dirichlet Allocation (LDA) to group related stories into multi-source story roundups. It discusses challenges including high-dimensional text representations, differing word usage, unknown cluster counts, and the need for fast updates.

### Source excerpt

There is more to a story than meets the eye, and some stories deserve to be presented from more than just one perspective. With Flipboard 4.0, we have released story roundups, a new feature that adds coverage from multiple sources to a story and provides you with a fuller picture of an event. Here's how it looks: With our scale of millions of articles and constant stream of documents, it's impossible to generate these roundups manually. So, we have developed a clustering algorithm that's both fast and scalable, and in this blog post, I will explain how we create these roundups on Flipboard. Why is this difficult? Although there are many sophisticated automatic clustering algorithms, such as K-means or Agglomerative clustering, story clustering is a non-trivial problem. Because each text document can contain any word from our vocabulary, most text document representations are extremely high-dimensional. In high-dimensional spaces, even basic clustering or similarity measures fail or are very slow. Additionally, two very similar documents often have very different word usages. For example, one article may use the term kitten and another may use feline, but both articles could be referring to the same cat. Furthermore, we don't know the number of roundups that we expect to see beforehand. This makes it difficult for us to directly use parameteric algorithms such as K-means. Our clustering algorithm also needs to be fast and easy to update, because there is a constant stream of documents coming into our system. Overview Since even the most basic distance measures fail in high dimensions, the first thing we do is lower the problem's dimensionality. We represent each of our text documents as a bag-of-words, and remove stop-words and rare words from our vocabulary. Even after an aggressive trimming, the documents are still very high-dimensional. We then we use Latent Dirichlet Allocation (LDA) to further lower the documents' dimensionality. We use LDA because this algorith