Python – Introduction to Tkinter

By | 27/09/2023

In this post, we will see a brief introduction to Tkinter, a standard Python module that provides a convenient way to develop cross-platform desktop applications with a rich set of widgets and tools.We will explore the basics of Tkinter and learn how to create a window, which serves as the foundation for building GUI applications.Tkinter provides… Read More »

SwiftUI – NavigationSplitView

By | 20/09/2023

In this post, we will see the new container introduced in iOS 16 called NavigationSplitView that, we can use to create two or three column navigation interfaces.It can be useful for apps that need to display a lot of content or for apps that want to provide a more immersive experience.NavigationSplitView is more suitable for… Read More »

Python – Enum

By | 13/09/2023

In this post, we will see how to create and manage an Enum in Pyhton.Just to recap, an Enum is used in programming to give names to individual constant values, which can improve the readability, maintainability, and robustness of our code. Enumerated constants are essentially named constants that belong to a specific set of values,… Read More »

C# – Span

By | 09/08/2023

In this post, we will see what is Span<T> in C# and how we can use it to improve performance.But first of all, what is a Span<T>?From Microsoft web site:“System.Span<T> is a new value type at the heart of .NET. It enables the representation of contiguous regions of arbitrary memory, regardless of whether that memory… Read More »

Category: C#

Python – Management of a SQLite database

By | 02/08/2023

In this post, we will see how to manage a SQLite database with Python.But first of all, what is SQLite?“SQLite is a lightweight, file-based relational database management system that is widely used due to its simplicity, portability, and ease of integration into various programming languages. It provides a self-contained, serverless, and zero-configuration architecture, making it… Read More »

Minimal APIs – Authentication with JWT

By | 26/07/2023

In this post, we will see how to implement JWT (JSON Web Token) authentication in Minimal APIs.We are going to use the same project that we created in the post “Minimal APIs – Minimal APIs with .NET Core“, only changing the type of Dog.Id from Guid to int.These are all the classes: [DOGS.CS] [DATACONTEXT.CS] [IDOGCOMMANDS.CS]… Read More »

Python – Interfaces

By | 19/07/2023

In this post, we will see how to use Interfaces in Python.We remember that an Interface is a powerful concept in object-oriented programming that, allows us to define a common set of methods that implementing classes must provide.It helps establish a contract between classes, ensuring that certain methods are available and must be implemented in… Read More »

C# – Dapper vs EF for CRUD operations

By | 12/07/2023

In many articles and websites, there are many examples of how Dapper is faster than EF to select data in a database.In this post instead, I want to check if Dapper is faster than EF for some CRUD operations like Insert, Update and Delete.I have this curiosity because I have seen that there is an… Read More »

Category: C#