---
title: "John Ubaque (@alexulag) | Hashnode"
description: "Developer. Read the latest articles by John Ubaque on Hashnode."
url: "https://hashnode.com/@alexulag"
---

@alexulag

# John Ubaque

@alexulag · Bogota CO · Joined December 2020

Developer

### [Composición vs herencia](https://alexulag.hashnode.dev/composicion-vs-herencia?utm_source=hashnode&utm_medium=feed)

Alternativa a la herencia en golang

4 min read · [alexulag.hashnode.dev](https://alexulag.hashnode.dev/composicion-vs-herencia?utm_source=hashnode&utm_medium=feed)

[May 5, 2025](https://hashnode.com/posts/composicion-vs-herencia/6818bb4fc6fa15ae164853f8)

### [Creando una pseudo expresión lambda en Go casi como funcionan en C#](https://alexulag.hashnode.dev/creando-una-pseudo-expresion-lambda-en-go-casi-como-funcionan-en-c?utm_source=hashnode&utm_medium=feed)

Aprende a emplear funciones anónimas y genéricos en Go

2 min read · [alexulag.hashnode.dev](https://alexulag.hashnode.dev/creando-una-pseudo-expresion-lambda-en-go-casi-como-funcionan-en-c?utm_source=hashnode&utm_medium=feed)

[Oct 22, 2024](https://hashnode.com/posts/creando-una-pseudo-expresion-lambda-en-go-casi-como-funcionan-en-c/671705c0e76773affd266290)

### [Custom Middleware in ASP.Net 5](https://alexulag.hashnode.dev/custom-middleware-in-aspnet-5?utm_source=hashnode&utm_medium=feed)

Durante la ejecución del ciclo de vida de una aplicación en asp.net core contamos con diferentes aplicaciones o rutinas dentro de nuestros proyectos que se ejecutan de forma secuencial dentro del pipeline de la aplicación. Imagen tomada del sitio de...

3 min read · [alexulag.hashnode.dev](https://alexulag.hashnode.dev/custom-middleware-in-aspnet-5?utm_source=hashnode&utm_medium=feed)

[May 27, 2021](https://hashnode.com/posts/custom-middleware-in-aspnet-5/60aefa185c02001765cf3758)

### [Cancellation tokens with MediatR and .Net](https://alexulag.hashnode.dev/cancellation-tokens-with-mediatr-and-net?utm_source=hashnode&utm_medium=feed)

When we start to code using the CQRS pattern with mediatR library you can see that our handlers (queries and commands) always implement the handle method with a parameter called cancellationToken of type System.Threading.CancellationToken. public a...

2 min read · [alexulag.hashnode.dev](https://alexulag.hashnode.dev/cancellation-tokens-with-mediatr-and-net?utm_source=hashnode&utm_medium=feed)

[Feb 28, 2021](https://hashnode.com/posts/cancellation-tokens-with-mediatr-and-net/603be7d70dad7e6b99e217fc)

### [Thin controllers in ASP.Net Core](https://alexulag.hashnode.dev/thin-controllers-in-aspnet-core?utm_source=hashnode&utm_medium=feed)

As we start implementing an API in ASP.Net core we usually repeat the constructor on each controller and the decorators for each controller class, for example: \[ApiController\] \[Route("api/\[controller\]")\] public class ToDoController : Contro...

2 min read · [alexulag.hashnode.dev](https://alexulag.hashnode.dev/thin-controllers-in-aspnet-core?utm_source=hashnode&utm_medium=feed)

[Feb 21, 2021](https://hashnode.com/posts/thin-controllers-in-aspnet-core/60329623f51caf4448563247)
