Code Maze https://code-maze.com/ Learn. Code. Succeed. Thu, 05 Sep 2024 05:45:32 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://code-maze.com/wp-content/uploads/2020/01/Code-Maze-Favicon.png Code Maze https://code-maze.com/ 32 32 Load Testing ASP.NET Core Web API With JMeter https://code-maze.com/aspnetcore-load-testing-web-api-with-jmeter/ https://code-maze.com/aspnetcore-load-testing-web-api-with-jmeter/#respond Thu, 05 Sep 2024 05:45:32 +0000 https://code-maze.com/?p=120961 In this article, we will learn how to load test an ASP.NET Core Web API with JMeter. So let’s get going. Introduction to JMeter Load testing is crucial for ensuring that web applications perform well under heavy traffic. JMeter is a popular and robust open-source tool for measuring the performance and functionality of web applications. When […]

The post Load Testing ASP.NET Core Web API With JMeter appeared first on Code Maze.

]]>
https://code-maze.com/aspnetcore-load-testing-web-api-with-jmeter/feed/ 0
StringValues in ASP.NET Core https://code-maze.com/aspnetcore-stringvalues/ https://code-maze.com/aspnetcore-stringvalues/#respond Mon, 02 Sep 2024 06:06:27 +0000 https://code-maze.com/?p=120954 When developing web applications using ASP.NET Core, we frequently encounter scenarios where we need to manage collections of strings. These collections can originate from various sources, such as HTTP headers, query strings, form data, and configuration settings. Efficiently handling these collections is crucial for maintaining the performance and scalability of our web applications. That’s where […]

The post StringValues in ASP.NET Core appeared first on Code Maze.

]]>
https://code-maze.com/aspnetcore-stringvalues/feed/ 0
How to Implement Log4net in C#/.NET https://code-maze.com/csharp-implement-log4net/ https://code-maze.com/csharp-implement-log4net/#respond Wed, 28 Aug 2024 05:55:15 +0000 https://code-maze.com/?p=120940 In this article, we will learn how to implement Log4net, a logging framework for C# applications, and how to use it effectively. Knowing how to log properly helps us to be more efficient while debugging, monitoring, and maintaining our applications. Let’s begin. Why Log4net? Log4net is a popular logging framework for .NET applications. It’s flexible […]

The post How to Implement Log4net in C#/.NET appeared first on Code Maze.

]]>
https://code-maze.com/csharp-implement-log4net/feed/ 0
Dynamically Change the ServiceLifetime of a Registered Service in .NET https://code-maze.com/dotnet-dynamically-change-the-servicelifetime-of-a-registered-service/ https://code-maze.com/dotnet-dynamically-change-the-servicelifetime-of-a-registered-service/#respond Mon, 26 Aug 2024 05:38:25 +0000 https://code-maze.com/?p=120924 Managing dependencies is essential in modern application development. .NET provides a powerful Dependency Injection (DI) system, with ServiceCollection at its core. Typically, we register a service and use it as is. However, there are instances when we need to change the ServiceLifetime of services after registration. This article explores methods for changing ServiceLifeTime, providing practical […]

The post Dynamically Change the ServiceLifetime of a Registered Service in .NET appeared first on Code Maze.

]]>
https://code-maze.com/dotnet-dynamically-change-the-servicelifetime-of-a-registered-service/feed/ 0
Differences Between Record Struct and Record Class in C# https://code-maze.com/csharp-differences-between-record-struct-and-record-class/ https://code-maze.com/csharp-differences-between-record-struct-and-record-class/#respond Wed, 21 Aug 2024 05:20:50 +0000 https://code-maze.com/?p=120918 In this article, we’ll discuss the differences between record struct and record class in C#. First, we will shortly explain each of the types. Afterward, we’ll show and describe each difference between them.  Let’s start.  Record Struct and Record Class in C# C# is built upon two categories of types: value types and reference types. […]

The post Differences Between Record Struct and Record Class in C# appeared first on Code Maze.

]]>
https://code-maze.com/csharp-differences-between-record-struct-and-record-class/feed/ 0
Advanced Debugging in C# https://code-maze.com/csharp-advanced-debugging/ https://code-maze.com/csharp-advanced-debugging/#respond Mon, 19 Aug 2024 06:16:46 +0000 https://code-maze.com/?p=120884 In this article, we’ll be talking about advanced debugging and inspecting data in C#. We’ll be using Visual Studio 2022 to demonstrate all the debugging techniques. For more information about general debugging, we have another article on the basics of debugging, so feel free to check it out.  Let’s start by creating a project that […]

The post Advanced Debugging in C# appeared first on Code Maze.

]]>
https://code-maze.com/csharp-advanced-debugging/feed/ 0
Introduction to the Wolverine Library in .NET https://code-maze.com/dotnet-wolverine-library/ https://code-maze.com/dotnet-wolverine-library/#respond Wed, 14 Aug 2024 06:17:06 +0000 https://code-maze.com/?p=120880 In this article, we’ll introduce the Wolverine library and its benefits for .NET developers. We’ll cover installation, setting up our first project, and core concepts around messaging. By the end, we’ll understand how to use Wolverine effectively in common practices and see real-world examples to help integrate it into our .NET applications. Let’s get into […]

The post Introduction to the Wolverine Library in .NET appeared first on Code Maze.

]]>
https://code-maze.com/dotnet-wolverine-library/feed/ 0
Run a Large Language Model(LLM) Like ChatGPT Locally With C# https://code-maze.com/csharp-run-large-language-model-like-chatgpt-locally/ https://code-maze.com/csharp-run-large-language-model-like-chatgpt-locally/#respond Mon, 12 Aug 2024 05:37:29 +0000 https://code-maze.com/?p=120874 We are quickly entering the era of AI in Tech and software development. AIs are no longer relegated to research labs. More recently, we have gained access to using AI on the web and even on our personal devices. Now, we can run AIs locally on our personal computers. This article will explore how we […]

The post Run a Large Language Model(LLM) Like ChatGPT Locally With C# appeared first on Code Maze.

]]>
https://code-maze.com/csharp-run-large-language-model-like-chatgpt-locally/feed/ 0
What are the Differences Between Onion Architecture and Clean Architecture in .NET? https://code-maze.com/dotnet-differences-between-onion-architecture-and-clean-architecture/ https://code-maze.com/dotnet-differences-between-onion-architecture-and-clean-architecture/#respond Wed, 07 Aug 2024 06:02:24 +0000 https://code-maze.com/?p=120849 In this article, we are going to discuss the differences between onion architecture and clean architecture in .NET. These patterns are often used interchangeably, and while they are very similar, there are some key differences that we will highlight. First, let’s talk about the two architectures. What Is Onion Architecture? Onion architecture is a type […]

The post What are the Differences Between Onion Architecture and Clean Architecture in .NET? appeared first on Code Maze.

]]>
https://code-maze.com/dotnet-differences-between-onion-architecture-and-clean-architecture/feed/ 0
Implementing the Saga Pattern Using Rebus and RabbitMQ https://code-maze.com/dotnet-implementing-the-saga-pattern-using-rebus-and-rabbitmq/ https://code-maze.com/dotnet-implementing-the-saga-pattern-using-rebus-and-rabbitmq/#respond Mon, 05 Aug 2024 05:30:11 +0000 https://code-maze.com/?p=120847 In this article, we provide a technical guide on implementing the Saga Pattern using Rebus and RabbitMQ in a .NET environment. Rebus is a .NET library designed to create distributed applications with messaging capabilities, simplifying the process of sending and receiving messages. Check out our detailed article for a deeper understanding of Rebus and its […]

The post Implementing the Saga Pattern Using Rebus and RabbitMQ appeared first on Code Maze.

]]>
https://code-maze.com/dotnet-implementing-the-saga-pattern-using-rebus-and-rabbitmq/feed/ 0