Blog

Notas sobre .NET, Azure, Sitecore y rendimiento web. La mayoría de artículos están en castellano y en inglés.

From IIS to Azure Container Apps: my website, containerised and a lot cheaper

Five years after moving this website to .NET Core, it was time for another turn of the screw: stop paying for an App Service running 24/7 for a low-traffic personal site. Here is how I packaged it into a Docker container, deployed it to Azure Container Apps with an Azure DevOps pipeline, and the bumps I hit moving from Windows to Linux. First post of a three-part series.

Versión en castellano

Improve the performance with asynchronous functions to run processes in parallel

Recently I was collaborating with a colleague at work because the running time of a process was far slower than expected. Reviewing the code, we identified that parts of the process could be done in parallel, with which the overall performance was improved by a 200%. In this post, I'll show some basic techniques to work with processes parallelization and will display the performance improvements that can be achieved.

Versión en castellano

Validating API Requests and JSON schemas with Postman

Postman is a useful tool to test API requests, whether we are developing our own APIs, as well as we are using a third party provider APIs, so that we can check all the data received on each request. In this post, I will explain how to include validation tests along with each request, to check the calls are succesful and also that the json data received meet the expected JSON schema agreed.

Versión en castellano

How to automate API requests authorization with Postman using Bearer tokens

Usual part of web development projects is using external services to extend our applications functionality, or build our own microservices based applications providing an API to other applications to consume. In both cases, developers usually make use of tools like Postman to test all these API requests and validate them. All these services are normally protected by some kind of authentication method, which credentials needs to be added to Postman, and this can be a bit annoying to be done manually every single time. In this post, I'm showing how to automate the authorization process with Postman and Client Credentials authentication flow.

Versión en castellano