- C# Digest
- Posts
- Why and How to Execute GraphQL Queries in .NET
Why and How to Execute GraphQL Queries in .NET
Avoid over-fetching from REST APIs with GarphQL
Why and How to Execute GraphQL Queries in .NET
5 minutes by Frank Boucher
Most projects are consuming APIs to get data, and there many ways to do it. One of the most popular ways is to use REST APIs. However, REST APIs have some limitations, such as over-fetching . GraphQL is a great alternative. This post shows how to query a GraphQL API in .NET using Strawberry Shake from a console application.
Styling Blazor Components with CSS
sponsored by Progress
When it comes to styling the web application and its components, Cascading Stylesheets (CSS) is the web standard, which is also used in Blazor development. Learn how CSS support in Blazor works and how CSS isolation solves one of the most frequent web development problems.
Seeding in-memory Entity Framework with realistic data with Bogus
8 minutes by Davide Bellone
You don’t need a physical database to experiment with ORMs. You can use an in-memory DB and seed the database with realistic data generated with Bogus.
Modernizing your WPF application with the Fluent theme
4 minutes by Bruno Sonnino
You have an old WPF application that you would like to modernize, making its UI more up-to-date and in-line with Windows 11 theming. In this article, Bruno will show you how to upgrade your current application to .NET 9 and apply the Fluent theme to achieve a modernized app.
C# Discriminated Unions and .NET Channels
6 minutes by Charles Chen
.NET channels are an easy way to achieve high throughput, concurrent/parallel processing of information without the need to manage common challenges with thread synchronization. Discriminated unions pair nicely with .NET channels as a way to process and output different types of data simultaneously into one stream. When used together, .NET channels with discriminated unions make it clean and easy to process and combine streams of data.
Scan HTML faster with SIMD instructions
4 minutes by Daniel Lemire
Recently, the two major Web engines (WebKit and Chromium) adopted fast SIMD routines to scan HTML content. The key insight is to use vectorized classification: you load blocks of characters and identify the characters you seek using a few instructions. In particular, we use ‘SIMD instructions’, special instructions that are available on practically all modern processors and can process 16 bytes or more at once.
how did you like this issue? |