Merry Christmas and Happy 2025
SEE YOU THE 07th OF JANUARY
SEE YOU THE 07th OF JANUARY
In this post, we will see how to create Unit Test for an Azure Function named “GetListInt”, using Moq, xUnit, and Fluent Assertions.This function is triggered by HTTP requests and takes two query parameters: to and Type. Based on these inputs, it generates a list of integers that are either odd or even, depending on… Read More »
In this post, we will see how to write a good Prompt for a generative model like ChatGPT.But, why should we be careful to write a good Prompt when using AI?A well-structured prompt serves as a clear roadmap, guiding the AI to understand our intentions, context, and specific requirements. Without a precise prompt, we might… Read More »
In this post, we will see what Reflection is and how use it in our programs.But first of all, what is Reflection?“Reflection is part of the System.Reflection namespace in C# that enables us to analyse assemblies and types, create instances dynamically, access properties and fields, invoke methods, and even discover custom attributes. Through reflection, we… Read More »
In this post, we will see how to create and manage a SQLite database using C#. We will create a minimal API to use the database, implement a repository pattern to abstract database operations and finally, we will write unit tests to verify our code.The SQLite database we will use is named TestDb and it… Read More »
In this post, we will see the basics of artificial intelligence, starting with what AI is, how it works, and taking a look at some of the popular chatbots like ChatGPT, Gemini, and others. In the next weeks, we will see how to use chatbots effectively, with a particular focus on ChatGPT, its features, and… Read More »
In this post, we will see what NumPy is and how we can use it in our Python projects.NumPy is an open-source Python library that provides support for large, multi-dimensional arrays and matrices, along with a vast collection of high-level mathematical functions to operate on these arrays efficiently. It is the foundational package for scientific… Read More »
In this post, we’ll see what Decorators are, look at some built-in decorators, and see how to create our own custom decorator.But first of all, what is a Decorator?“A decorator is a design pattern in Python that allows us to add new functionality to our existing object without modifying its structure. Decorators are implemented as… Read More »
In this post, we will see how to manage the PostgreSQL database created in the post “Python – Management of a PostgreSQL database”, using C#.We will define a Minimal API for managing the database using C# and Dapper, combined with the Repository Pattern. Finally, we will add the Unit Test to check that all methods… Read More »