Type Unions

For situations where values are not always the same kind each time through

Type Unions
27 minutes by Matt Warren

When developing software you may encounter situations where the values that you want to store in a variable are not always the same kind each time through. While you are usually not concerned about storing strings and numbers in the same spot, you may need to store one of a few related types depending on what that data is meant to represent at that moment.

Are you a web developer, a designer, or someone else with a stake in the designеr-developer collaboration process? Then take this newly launched global survey. It aims to shed light on the design handoff and the role design systems play in addressing the inherent challenges. We need your input!

.NET Aspire can really simplify local development for your existing apps, large or small. In this post, we'll look at how easy it is to make your current solutions better with just a few lines of code.

Reading .env Files
3 minutes by Ricardo Mauro

Learn how to read a .env file in C# without using third-party libraries. This guide covers setting up a simple parser to manage environment variables efficiently and securely in your C# applications.

Middleware
5 minutes by Jimmy Bogard

Many ASP.NET MVC 5 applications will have lots of middleware, but not all of the middleware should be migrated without some analysis on whether or not that middleware is actually needed anymore. It isn't the most exciting code to port over, but critical for ensuring our new application preserves the existing behavior of the .NET Framework application.

In the latest versions of .NET, nothing has been marked such a stylistic shift as the introduction of top-level statements. In this short post, we’ll examine how to add properties to your Program instance to improve the readability of utility console applications.

how did you like this issue?

Login or Subscribe to participate in polls.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.