Wouldn’t it be nice if Visual Studio could autogenerate clients for external API? It is actually possible, if they expose an OpenAPI file. Let’s see how!
Continue reading
With HttpRepl you can perform HTTP operations as they were local folders, using the CLI. Let’s see how to configure it and run GET and POST operations.
Continue reading
Swagger is a tool that exposes the documentation of your APIs and helps collaborating with other teams. We’ll see how to integrate it with .NET Core 3, how to add XML comments and status codes.
Continue reading
Are all comments bad? When they are necessary? Why formatting is so important? Writing clean code does not only refer to the executed code, but also to everything around.
Continue reading
Integration tests are useful to check if multiple components fit together well. How can you test your APIs? And how can you mock dependencies?
Continue reading
You’re using DateTime.Now, aren’t you? Be careful, because it may bring some troubles to your application. Here I’ll explain why and I’ll talk about time zones and formatting in C# DateTime.
Continue reading