← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 14
  1. In , we used JsonNode as the input type.

  2. When you need to extract values from complex JSON payloads, manual navigation quickly becomes hard to read and maintain.

  3. In , I showed that XPathNavigator is not tied to XML.

  4. XPath for custom types in .NET

    XPath is widely known as the query language for XML documents.

  5. Integration tests are much more valuable when they run against real services.

  6. When maintaining a library, one of the easiest ways to introduce a breaking change is to update a public type without noticing its impact on consumers.

  7. When you add a NuGet package to a project, you often think about the runtime library only.

  8. Snapshot testing is a technique where the output of a function or component is serialized and saved to disk the first time the test runs.

  9. Adding a Clone method to a C# record When using records, creating a copy with with is concise: var sample = new Sample("meziantou"); _ = sample with { }; public record Sample(string Value); This works well, but sample with { } is not always obvious as a d…

  10. If you have a Rune and want its Unicode name (for example GRINNING FACE for 😀), there is no built-in API in .NET today.

  11. Pinning GitHub Actions to a full-length commit SHA is one of the simplest ways to reduce supply chain risk in your workflows.

  12. In a previous post, I explained how to generate the OpenAPI document during the ASP.NET Core build and commit it to the repository.

  13. When we talk about new lines, most developers think about \r\n (Windows) and \n (Unix-like systems).

  14. A few years ago, I introduced , a library to ensure you always deal with full paths in your applications and provide common methods to manipulate them easily.