Latest Posts On Code Maze

Different Ways to Validate an Uploaded File in ASP.Net Core

Different Ways to Validate an Uploaded File in ASP.Net Core

As developers, we often tend to oversee the security of our applications. Whether the user misclicks on the wrong file or purposely uploads a malicious one, we should always validate the input loaded through our application.Β In this article, we'll look at a few...

Code Maze Weekly #201

Code Maze Weekly #201

Issue #201 of the Code Maze weekly. Check out what's new this week and enjoy the read. .NET and C# Top Picks The Saga of .NET Core and ASP.NET Core [www.mobilize.net] Since the .NET Core term is fading away slowly, let's remember how it...

How to Get the Number of Files in a Folder With C#

How to Get the Number of Files in a Folder With C#

In this article, we are going to see how to get the number of files in a folder. C# provides several methods to determine file counts within a folder, each tailored for specific use cases.Β  A simple middleware that logs your request headers can go a long...

Different Ways to Run Background Tasks in ASP.NET Core

Different Ways to Run Background Tasks in ASP.NET Core

In this article, we'll explore different ways of running background tasks in ASP.NET Core applications without depending on external providers. [sc name="github" url="https://github.com/CodeMazeBlog/CodeMazeGuides/tree/main/aspnetcore-features/RunningBackgroundTasks"...