Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
In the world of C# programming, asynchronous operations and lazy data streaming are two essential concepts that help developers write efficient and responsive applications. While C# does not offer a direct "async yield" keyword, you can cleverly combine the power of async and yield to achieve similar behavior. In this article, we will explore how you can create asynchronous generators using async methods and iterators to efficiently stream data.

In this blog, we will embark on a journey to create a simple Angular CRUD (Create, Read, Update, Delete) application using the cutting-edge tools, .NET Core 7 and Entity Framework Core. This beginner-friendly guide will provide you with the necessary steps and insights to kickstart your web development career with confidence.

Action injection in ASP.NET Core WebAPI refers to the process of injecting services directly into action methods of a controller. It allows you to obtain the required services for a specific action method without having to inject them into the controller's constructor.

In C#, the yield keyword is used in combination with an iterator to create custom iterator blocks. An iterator is a special kind of method that allows you to iterate over a collection of items, generating values on-the-fly, and returning them one by one. The yield keyword simplifies the implementation of custom iterators, making the code more readable and efficient.

In .NET Core, the "OneOf" library provides a simple and effective way to work with discriminated unions (sum types) in C#. It allows you to define types that can hold values of different types but only one value at a time, making it useful for representing scenarios with multiple potential outcomes or states.

The implicit operator approach allows you to define implicit conversion between two types. It enables you to convert an instance of one type to another type implicitly without requiring an explicit casting operator.

Software architecture plays a crucial role in the success of any .NET project. It sets the foundation for scalability, maintainability, and extensibility. Two popular approaches that developers often consider are vertical slicing and clean architecture. In this blog post, we will explore the key differences between these two approaches and help you understand which one might be the right fit for your project.

Using Microsoft.Extensions.Configuration.UserSecrets to manage sensitive information in .Net development

In this blog, we will see how to use xUnit and moq in .net core. This approach allow use to write unit tests for our application without creating implementation for tests.

In this blog, you will learn how to use delegates. Why should you use delegate, What purpose does delegate services. Build in delegates in .net

In contemporary web applications, it is frequently necessary to upload files. Whether it involves uploading images, documents, or any other file format, ensuring a seamless user experience when dealing with uploads is crucial. This article will delve into the process of incorporating file upload functionality into an ASP.NET Core Web API.

In the. NET Core, a HostedService, is a type of class that embodies a background task or service running asynchronously within an application. Its purpose is to initiate when the application starts and conclude when the application ceases. HostedService is an integral component of the generic host in .NET Core, enabling various functionalities like executing background processes, managing job schedules, and monitoring system resources.

When it comes to .NET Core development, ensuring smooth and effective data transfer between middleware components is essential for creating resilient and adaptable applications. This article examines five effective approaches that enable seamless data transfer within your middleware pipeline

In ASP.NET Core, App Trim refers to a feature that automatically removes unused assemblies from the application's memory during runtime. This helps to reduce the memory footprint of the application and improve its overall performance.

In recent years, the .NET platform has evolved significantly, with the introduction of modern .NET. This new version of the platform offers many new features and improvements over the older .NET Framework. As a result, many developers are now considering porting their applications from .NET Framework to modern .NET. In this article, we will discuss the process of porting applications from .NET Framework to modern .NET and the benefits of doing so.

In this blog, we will learn how to create a mock API server using Postman.

Here I'm going to explain ASP.NET Core 6.0 features and improvement.

In this blog, you will learn about Null Conditional Operator and Null Coalescing operator.

In this blog, you will learn about Microservices in .NET Core.

In this blog, you will learn about .Net Core API With Swagger Documentation.
Everything on .NET Core, not only its blogs: the .NET Core page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog