Access Employees

Programming

4 article(s)

Using Static Lambdas and JetBrains’ RequireStaticDelegate in C#

Published in by Gustavo Mauricio de Barros

 Using Static Lambdas and JetBrains’ RequireStaticDelegate in C#

This article examines the use of static lambdas, a feature introduced in C# 9, which prevents unnecessary heap allocations by disallowing variable captures in lambdas. It also highlights how the JetBrains [RequireStaticDelegate] attribute can assist in enforcing this pattern within APIs.

READ MORE

Using YARP with Dynamic Database Configuration in ASP.NET Core

Published in by Gustavo Mauricio de Barros

Using YARP with Dynamic Database Configuration in ASP.NET Core

Learn how to configure YARP (Yet Another Reverse Proxy) in ASP.NET Core to load routes and clusters directly from a database.

READ MORE

Polymorphism in EF Core

Published in by Gustavo Mauricio de Barros

Polymorphism in EF Core

Polymorphism in EF Core with Star Wars droids: Learn how to model and query polymorphic entities using TPH, TPT, and TPC strategies with practical C# examples inspired by Star Wars droids for efficient and maintainable database design.

READ MORE

How to execute mathematical expressions in a string in .NET

Published in by Gustavo Mauricio de Barros

How to execute mathematical expressions in a string in .NET

Discover how to execute mathematical expressions in a string in .NET. Understand how it works and its advantages.

READ MORE