- C# Digest
- Posts
- Effective Integration Testing with a Database in .NET
Effective Integration Testing with a Database in .NET
Explore EF Core providers, migrations, seeding, and strategies for reliable test suites
Effective Integration Testing with a Database in .NET
12 minutes by Kevin Lloyd
Dive deep into .NET integration testing with databases. Explore EF Core providers, migrations, seeding, and strategies for reliable test suites.
Automate Code Conversion from Legacy VB6 to C#
sponsored by Growth Acceleration Partners
Automate the process of modernizing your codebase while preserving code integrity and business logic. Designed to seamlessly convert your VB6 projects to clean C# source code, the Visual Basic Upgrade Companion (VBUC) tool migrates your code with minimal manual effort. Free for up to 10,000 lines of code, you can experience a straightforward and reliable way to upgrade your legacy applications.
Working with tar files in .NET 8
16 minutes by Andrew Lock
.NET 7 introduced native support for tar files through the TarFile class. The article demonstrates how to create, extract, and list contents of .tar.gz files using both the tar command-line utility and .NET APIs. While .NET provides basic functionality, it lacks some features available in the tar utility, such as creating hardlinks in archives, controlling ownership during extraction, and handling absolute paths.
Tips and tricks from validating a Pull Request
7 minutes by Christophe Nasarre
Tips and tricks to reuse from validating a .NET CLR pull request. The article also covers the use of tools like TraceEvent, XUnit, and dotnet-trace for testing and measuring the impact of the changes on GC performance.
Fast Dictionary Lookup of String in C# 13
5 minutes by Yoshifumi Kawai
In .NET 9, a new method GetAlternateLookup has been added to dictionary-like classes. Until now, Dictionary operations could only be performed via TKey. Now, the new method resolves issues with string keys and ReadOnlySpan, enabling more efficient dictionary operations without unnecessary memory allocations.
Implement ASP.NET Core OpenID Connect OAuth PAR client
6 minutes by Damien Bod
This post demonstrates how to implement an ASP.NET Core application using OpenID Connect and OAuth PAR for authentication, with Keycloak as the identity provider. The setup utilizes .NET Aspire for local development with containers, including a detailed walkthrough of configuring Keycloak in a Docker container and implementing HTTPS support.
how did you like this issue? |