In the ever-evolving world of .NET development, efficient API communication is crucial. Today, I'm excited to share a game-changing approach I've recently implemented: using Refit to streamline the interaction between two REST APIs over HTTP/S. While the trusty HttpClient has long been a staple in our toolkit, Refit elevates API integration to new heights of … Sigue leyendo Mastering Refit: A Comprehensive Guide to HTTP Client Generation in .NET
Automate E-Commerce Product Descriptions with .NET, Microsoft Semantic Kernel & SLM (Phi-3)
In the highly competitive world of e-commerce, the quality and accuracy of product descriptions can make the difference between a successful sale and an abandoned cart. Detailed, attractive, and well-written descriptions not only inform customers but also enhance your site's SEO, driving more organic traffic. In this post, I'll demonstrate how you can automate the … Sigue leyendo Automate E-Commerce Product Descriptions with .NET, Microsoft Semantic Kernel & SLM (Phi-3)
Image analysis with «Phi-3 Vision»
In this blog post, we'll explore how to leverage the new Phi-3 Vision model within a .NET application. I'll walk you through the entire process from downloading the model to writing and executing the code. Step 1: Download the Phi-3 Model To get started, we need to download the Phi-3 Vision model using the huggingface-cli … Sigue leyendo Image analysis with «Phi-3 Vision»
Upgrading my 2015 Retina Mac with NVMe M.2 SSD (PCIe 4.0): Boosting Performance…
My experience #upgrading a 2015 Retina #Mac from 256 GB to 1 TB storage using an #NVMe M.2 SSD with PCIe 4.0. Boosting #Performance... Up to 3x faster! #Reinstalling #MacOS #hardware
Logging into Elasticsearch using Serilog and logs in Kibana
I have been wanting to talk about this and other similar topics for a long time. Finally, today is de day, mainly because "someone reminded me that I've to do it !" So, let's start: 1. Add following NuGet dependencies: Serilog.AspNetCore Serilog.Sinks.Elasticsearch [Optional] Serilog.Enrichers.Environment Obviously if you are working with Serilog don't forget to also … Sigue leyendo Logging into Elasticsearch using Serilog and logs in Kibana
Unable to access dev.azure.com (git repo) via https. «Recv failure: Connection was reset»
Last few days after change my Internet provider I've been involve in an error witch was related with Push/Pull against my Azure DevOps Git repo (https://dev.azure.com). This errors was coming up from Visual Studio, Fork, Command Line, etc. Error: "fatal: unable to access 'https://dev.azure.com/xxx/xxx/_git/project-sample-1/': Recv failure: Connection was reset" But, Is that error due to … Sigue leyendo Unable to access dev.azure.com (git repo) via https. «Recv failure: Connection was reset»
[Tip] Publishing docker image when trimmed it
Yesterday was one of those days when I got around to upgrading some docker files after the web projects were migrated to DotNet 7. The thing was, I wanted to reduce the size of the docker image as much as possible and take advantage of some improvements since Net 5.0 was released. Although everything seemed … Sigue leyendo [Tip] Publishing docker image when trimmed it
The new challenge: CocktailDev
CocktailDev. My new own project !
Migrating Azure Database for PostgreSQL Single Server to Flexible Server
Estos días han sido de esos en los que tocaba tarea de migración y, bueno, que mejor forma de hacerla que tener seguro el proceso (previa POC) y, además, compartirlo. En este post quiero comentar los pasos que he seguido para la migración. En concreto, se trata de migrar de "Azure Database for PostgreSQL Single … Sigue leyendo Migrating Azure Database for PostgreSQL Single Server to Flexible Server
AspNet API Versioning + Swagger multi-version
Cuando tienes que versionar una API REST en AspNet, lo primero que piensas es en el Routing y en como construirlo adecuadamente para gestionar dicho versionado. De la misma manera, generar un Swagger que soporte cada una de estas nuevas versiones. Durante estos días he estado revisando este tema que hacia ya tiempo que no … Sigue leyendo AspNet API Versioning + Swagger multi-version









