Category: .NET

Why do we need async keyword in C#?

Last Tuesday, I had a talk in Wrocław about async/await in C# (thanks once again, you rock!). At some point, I asked the audience seemingly simple question. Why do we need async keyword at all? When I look at the...

private protected in C#?

A few days ago I watched a very interesting talk from NDC given by Jon Skeet, Kathleen Dollard and Rob Conery. Around 41:15 minute Kathleen said something very interesting about protected internal: […] if you say protected internal then that...

CodeTip #7 – Aliased generics in C#

It’s pretty funny to me when you think that you know some programming language quite well and suddenly you find out some feature, you’ve never heard before. I mean at all. That’s exactly what happened to me yesterday. Let’s see...

Documenting ASP.NET Core API with Swagger

Writing the documentation is quite similar to unit testing – you know it should exist, but usually, it doesn’t. There are a few reasons for that. First, writing documentation isn’t fun, is it? Who cares about some stupid XML above...