← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. In this article, we will build a minimal version of what ASP.NET Core does - yes, you read right.

  2. List<T> is one of the most versatile collection types in .NET.

  3. Since C# 8, we have nullable reference types.

  4. Events in C# are a powerful mechanism for decoupling components and enabling a publisher/subscriber model.

  5. Are these two expressions the same?

  6. Enums are very simple structures, but some functions like Enum.TryParse can have unexpected behavior.

  7. With respect to the current topic around Moq, I want to showcase how you can easily roll out your own fakes so that you are not depending on a third party library

  8. The famous Moq library faced some criticism due to the usage of SponsorLink.

  9. The .NET 8 preview 7 will bring another exciting feature some of you probably awaiting for a long time: Keyed services.

  10. Where C# is the most dominant language in the .NET world, other languages are built on top of the Framework that deserves their respective place.

  11. With the famous BenchmarkDotNet library you can benchmark a lot - but it doesn't stop with a single .NET version.

  12. Working with databases can sometimes be daunting, mainly when errors occur.

  13. I was recently tasked to migrate an application with around 150 projects from the "old"It is still supported .NET Framework 4.8 to a recent .NET 6.

  14. In this short blog post, I want to showcase three nice tricks you can do with everybody's favorite data type: the dictionary.

  15. Overload resolution in C#

    On a recent LinkedIn Post from Saeed Esmaeelinejad, he asked what is the outcome of: bool flag = SomeMethod(); M(flag ?

  16. Why I like and prefer xUnit

    In almost all of my projects, I only use xUnit, and here is a small love letter.

  17. LINQ is a very powerful tool for querying data.

  18. You may have heard that when you elide the await keyword in a method that returns a Task or Task<T>, you lose the stack trace.

  19. In this blog post, I'll show you the fundamentals of the Mediator pattern and how to implement it in your application from scratch.

  20. C# 12: Collection literals

    A new feature is hitting C# 12 and it is called Collection literals.

  21. A List is one of the most used data types in .NET.

  22. There are many different memory types used in modern C# programs.

  23. Time abstraction in .NET 8

    With the upcoming release of .NET, the team introduced an abstraction of time itself.

  24. With preview 4 of .NET 8, a new terminal logger was introduced.

  25. The nameof operator is a great way to get the name of a variable, type, or member.

  26. TryGetNonEnumeratedCount attempts to determine the number of elements in a sequence without forcing an enumeration.

  27. I did already write about some useful extension methods for Task and ValueTask.

  28. In this blog post, we will explore some cool things you can do with ValueTuple.

  29. Becoming a Microsoft MVP

    In this article, I will talk about my journey to becoming a Microsoft MVP.

  30. In Entity Framework 7, the team has added support for ordered indexes to the fluent API.

  31. In this blog post, we will have a look at the different log levels and how to control them.

  32. Verifying your DI Container

    Microsoft's integrated dependency injection (short DI) container is very powerful, but there are also certain pitfalls.

  33. In this small blog post, I will show you how to create your own Validation attribute in ASP.NET Core to tailor-made your validation rules.

  34. In this blog post, we will discuss the "Unit of Work" pattern and how it can be used to implement domain events in a DDD application.

  35. Let's talk about Contravariance and Covariance in C# using .NET Framework examples!

  36. .NET 8 Performance Edition

    As with every .NET release, Microsoft improves the performance of the runtime and guess what: This release is no exception to this.

  37. In this short blog post, I will show you 5 useful extensions for Task in .NET.

  38. Source Generators are more and more an integral part of the .NET ecosystem.

  39. LINQ on steroids with SIMD

    In this blog post, we will explore the use of SIMD instructions to speed up LINQ queries.

  40. In this blog post we will create a ToolTip component in Blazor from scratch.

  41. Source generators are a powerful feature introduced to C#, allowing developers to generate additional code during the compilation process automatically.

  42. Did you know you can use the 'is not' operator with exception filtering to simplify and improve your error handling in C#?

  43. In this blog post, we will discuss how we can "cache" entries from the database.

  44. Sometimes you have to map an object to another representation in C#.

  45. LINQ // Skip and Take

    Skip and Take are used for pagination or limit the number of elements returned by a query.

  46. In this blog post we will discover how to write your own small task scheduler / job scheduler with cron notation in ASP.NET Core.

  47. In recent months and years, there was a certain hype around benchmarking, also in the .NET community.

  48. I will put that simple question in the room: "Is a square a rectangle?"

  49. The Humble Object Pattern

    The Humble Object Pattern is a design pattern to make especially unit testing easier with the goal of separating behaviors that are easy to handle (domain logic) from behaviors that are hard to handle (like external events or dependencies).

  50. A bit back on LinkedIn, there was a discussion about read-only collection and immutability where this is not the point I want to discuss now, as I already covered that here: "ReadOnlyCollection is not an immutable collection".