Latest Posts On Code Maze

How to Find the Latitude and Longitude of a Location in C#

How to Find the Latitude and Longitude of a Location in C#

In this article, we will learn how to find the latitude and longitude of a location in C# using the Google Maps Geocoding API. We'll introduce two different methods for obtaining the coordinates: using the GoogleMaps.LocationServices NuGet package, which simplifies...

Generate QR Codes With QRCoder in .NET

Generate QR Codes With QRCoder in .NET

In this article, we will discuss how to generate QR codes, specifically with the .NET library QRCoder. We will generate basic QR codes that contain simple strings, discuss reading from and writing QR codes to a database, and try out real-life use cases, such as...

Count the Number of Vowels in a String in C#

Count the Number of Vowels in a String in C#

In this article, we will take a closer look at the techniques we can use to count the number of vowels in a string in C#. We will go through the code and learn more about each approach. An age-old question - which one is...

Using Kafka in an ASP.NET Core Web API

Using Kafka in an ASP.NET Core Web API

At its core, Kafka is a distributed streaming platform designed to handle large volumes of data in real-time. Its exceptional performance, fault tolerance, and scalability make it a pivotal component in event-driven architectures. If you rely on Azure Blob in your projects, here's an excellent article by...

How to Create a Zip File in Memory In C#

How to Create a Zip File in Memory In C#

In this article, we will look at how we create In-Memory Zip files in C#. Previously, we discussed how to create and read Zip files in .NET in our Working With Zip Files in C#/.NET article, so we recommend taking a look at that to familiarize yourself with working...

How to Show the Generated SQL Query in EF Core

How to Show the Generated SQL Query in EF Core

Entity Framework Core has many useful features, and in this article, we will see how to use it to show a generated SQL query. EF Core is an open source Object-relational mapper that supports several databases like SQLite, PostgreSQL, MySQL, and also LINQ (Language...

How to Build a URL Shortener in .NET Applications

How to Build a URL Shortener in .NET Applications

When working with URLs in our applications, there are times when they may become too long, clunky, unreadable, and difficult to use. In such situations, we can employ a URL shortener to make them shorter, more readable, and easier to share. Essentially, a URL...