Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 200
  1. For good reasons, many folks don't want to use reflection.

  2. In C# we have many nice guards sitting on top of static exceptions classes like ArgumentNullException, ArgumentOutOfRangeException, etc: As ArgumentException.ThrowIfNullOrEmpty, ArgumentException.ThrowIfNullOrWhiteSpace.

  3. Clearing NuGet Caches

    NuGet can cache a lot of packages and other stuffs over time.

  4. The dotnet documentation gets hints about using GitHub Copilot.

  5. New dotnet version means new features and improvements.

  6. With the latest preview: .NET 10 preview 3, we did get an overhaul on extensions.

  7. Sometimes you want to have a custom 404 page - and since .NET 8 and "Blazor WebApps" the <NotFound> tag of the Router doesn't work anymore, so let's create a custom page for that.

  8. LinkedIn is never short on performance tips on .NET - And this time we drag the whole database towards the client, twice!

  9. C# Language Mind map v14

    After some time, I updated my C# language mind map to the latest version: C# 14.

  10. Long title - short intro?

  11. Recent news came out that Microsoft is working on a new TypeScript compiler written in Go (or golang - whatever you prfer).

  12. IAsyncEnumerable is a type that was introduced in netcoreapp3.1 times.

  13. Tailwind version 4 was just released.

  14. The preview 1 of dotnet 10, and therefore the next iteration of the C# language, is right in front of our doorsteps.

  15. During my recent browsing on LinkedIn I saw that question: IEnumerable vs IEnumerator in C#: One is 2x Faster – Which One?

  16. A contributor for this blog was recently filing a Pull Request to support Postgres.

  17. Very small update - as the work on .NET 10 starts - or better - continues with full force, I did update the LINQ MindMap.

  18. The .NET provided DI container has some means to check if the container can be created.

  19. Did you ever ask yourself: When will the good ol' .NET Framework retire?

  20. Almost all applications are using CORS (Cross-Origin Resource Sharing) to allow the client to access the resources from the server.

  21. Fabian Gosebrink and I finally launch our new website: developer-academy.ch.

  22. Debugging is important, and it's often useful to be able to inspect the state of objects in the debugger.

  23. As I am an open source maintainer myself, I want to highlight my personal thoughts on why open source is important.

  24. Sometimes you are faced with the need to authenticate videos and images in Angular.

  25. Recently, there were two new features merged in .NET 10 I think are small little quality of life improvements: Avoid Blocking on startup with BackgroundServices and a new string comparer.

  26. LINQ has a Join operator, that basically translates to something like a SQL INNER JOIN.

  27. Having fun with ValueTuple

    Just as a heads up: This blog post will probably bring you 0 value in your daily life - well, maybe a short smile.

  28. Ahhhh dear LinkedIn - a pool of gems where everyone is expert in everything.

  29. Sometimes we have to make assumptions in our code.

  30. I already showcased a simple modal dialog in a previous post.

  31. Entity Framework has two methods for converting a query to a list or an array: ToListAsync and ToArrayAsync.

  32. When retrieving data from your database with Entity Framework, there are two major options: ToArray and ToList.

  33. Today, we are going to benchmark the performance of the Minimal API in ASP.NET 9 (and for reference against ASP.NET 8 as well) against the classic Controllers.

  34. In this blog post I will show you two tricks how to easily switch between a branch back and forth and how to get the last checked out branches.

  35. A feature that isn't really new but still didn't get my attention until recently is: "Central Package Management".

  36. I know that there is a lot of fuse about TUnit and I am here writing about xUnit.

  37. Join us for an exciting seminar with Fabian Gosebrink about .NET 8, Nx, and Angular!

  38. You might have heard that Swagger is removed in the templates of ASP.NET 9.

  39. In async code it is very common to pass a CancellationToken to the method that is being awaited.

  40. I came across a very annoying "issue" with LINQ joins (left joins) in Entity Framework where the compiler drove me nuts!

  41. I am a great fan of API tests.

  42. In this blog post I will discuss the pros and cons of soft deleting records in a database versus other approaches you can take.

  43. I recently came across the FormattableStringFactory to create dynamic FormattableString instances.

  44. The .NET team has been working on a new experiment called async2, which is a new implementation of the async/await pattern that is designed to be more efficient and more flexible than the current implementation.

  45. Even though it was introduced in .NET 7, I came across recently the AsParametersAttribute.

  46. .NET is big, very big!

  47. You often here that the async/await keywords leads to a state machine.

  48. How not to benchmark!

    I came across a recent LinkedIn post about the let statement in LINQ and it's performance implication.

  49. UUID v7 in .NET 9

    .NET natively knows UUID v4 aka Guid.NewGuid().

  50. In this blog post, I will show you how to use GitHub Codespaces to make it easier for contributors to get started on your open-source project.