Nullable Reference Types: Avoiding NullReferenceException
Enable nullable reference types in C#: nullability annotations, the ! operator, required members, nullability attributes, and a legacy migration path.
Category
These backend development guides cover the parts users never see: data, queues and services. Most posts compare two options and explain when each wins.
For example, SQL vs NoSQL and Kafka vs RabbitMQ help with common choices. Also, monolith vs microservices tackles the biggest one. Language series live in the Java, Python and Node.js sections below.
149 articles
Enable nullable reference types in C#: nullability annotations, the ! operator, required members, nullability attributes, and a legacy migration path.
Use async and await in C# correctly: what Task really is, ValueTask, ConfigureAwait, async void, cancellation tokens, and…
Write idiomatic LINQ in C#: query vs method syntax, deferred execution, IEnumerable vs IQueryable, multiple enumeration traps, and…
Master object-oriented C#: classes, properties, constructors, inheritance, abstract classes, interfaces, records, and when composition beats inheritance.
Learn C# basics for backend work: value vs reference types, var, string interpolation, if and switch expressions, loops,…
Confused by .NET LTS vs STS? See the release calendar, support windows, and a decision framework for picking…
Learn how to install .NET SDK on Windows, macOS, or Linux, verify it with dotnet --info, then build…
Executive Summary: Most Spring Boot testing is plain JUnit 5 and Mockito: build the service directly and mock…
Executive Summary: Spring Security basics rest on two questions: authentication checks who is calling, and authorization decides what…
Executive Summary: Bean Validation lets you put constraints like @NotNull, @Size, and @Email on fields and check them…
Executive Summary: Java’s built-in HttpClient handles HTTP calls, and Jackson’s ObjectMapper turns JSON into records and back. I…
Executive Summary: The repository pattern puts data access behind a domain-named interface, with an in-memory implementation for fast…
Executive Summary: JPA and Hibernate replace hand-written row mapping with mutable entities managed by an EntityManager. I cover…
Executive Summary: This hands-on project builds a book catalog CRUD app with plain JDBC, H2, and a small…