With FluentValidation, we can easily validate user input and ensure data integrity, reducing the chance of errors and improving the overall quality of our application.
{ author:
@andytechdev
}
#DEVCommunity
#dotNET
Implementing the Cached Repository Pattern in C#
This guide will help you blend the Repository Pattern with Cache Pattern to share some benefits!
#DEVCommunity
#dotNET
We’re tackling 20 intermediate-level C# interview questions to level up your skills and amp up your problem-solving game.
{ author:
@byte_hide
}
#DEVCommunity
#dotNET
Cancellation Tokens in C#
Let's take a look at the concept of task cancellation in general, and the way it works in C#.
{ author:
@RasheedMozaffar
}
#DEVCommunity
#dotNET
Let's check out how this open source framework can help us efficiently create, process, and manage background tasks in an application.
#DEVCommunity
#dotNET
Explore essential best practices for crafting efficient, secure, and scalable .NET Core Web APIs. Focus on performance, security, and maintainability.
{ author:
@CodeWithBola
}
#DEVCommunity
#dotNET
Dictionaries in C# are one of the more useful data structures you can use to store and retrieve data quickly.
Let's explore how they work!
#DEVCommunity
#dotNET
Learn the essentials of async and await keywords in C# and how they can improve your code's efficiency with a clear, real-world example of asynchronous tasks.
#DEVCommunity
#dotNET
Explore how the Repository Pattern in .NET can help create clean, modular, and maintainable code by abstracting the data access layer.
#DEVCommunity
#dotNET
By understanding the concepts discussed in this post and incorporating them into your projects, you'll be well-equipped to build responsive and efficient .NET Core applications.
#DEVCommunity
#dotNET
🔧 Learn to create high-performance CRON jobs in .NET using Coravel, Dapper & more. Boost your system's efficiency step-by-step. 🕐🚀
{ author:
@jamesmh_dev
}
#DEVCommunity
#dotNET
I will guide you on designing .NET class libraries to prevent breaking changes and demonstrate how to leverage the Microsoft.CodeAnalysis.PublicApiAnalyzers package to enforce these principles.
Let's get to it!
#DEVCommunity
#dotNET
• Set up email sending in .NET effortlessly with FluentEmail
• Supports providers like SMTP, SendGrid
• Quick setup without unnecessary code distractions
#DEVCommunity
#dotNET
The advanced memory structures provided by .NET, like Span<T>, Memory<T>, and ReadOnlySequence<T>, can deliver significant efficiency and performance benefits.
Here's how!
#DEVCommunity
#dotNET
A .NET Programmer's Guide to CancellationToken
Let's put CancellationToken to work making HTTP requests and canceling API requests!
{ author:
@rahulpnath
}
#DEVCommunity
#dotNET
Exploring AutoMapper in .NET for object mapping: setup steps & scenarios where manual mapping is better. Find out when to use or avoid it!
#DEVCommunity
#dotNET
Pagination in C#: Complete Guide with Easy Code Examples 📚
All right, everyone -- turn to the next page of your book, and we'll get started on pagination.
{ author:
@byte_hide
}
#DEVCommunity
#dotNET
Discover how the Builder pattern can make constructing complex C# objects more intuitive with method chaining for readability and flexibility!
#DEVCommunity
#dotNET
Explore 7 intriguing open-source C# projects! From generating PDFs to capturing your screen, get inspired and enhance your toolkit with these gems.
{ author:
@dome_tena99
}
#DEVCommunity
#dotNET
Boost your C# app's performance with this guide on Cached Repositories utilizing the Decorator Pattern and Entity Framework Core. Dive in for advanced tips!
#DEVCommunity
#dotNET
.NET validation attributes are a powerful tool for ensuring data integrity across your applications.
Here's how to make us of them!
#DEVCommunity
#dotNET
Better Implementation Of Singleton Pattern in .NET
In this article, I'll explore a particular implementation (SingletonV1) and uncover some intricate issues it presents.
#DEVCommunity
#dotNET
I wanted to show a simple example of how Entity Framework Core works in .NET (specifically .NET 7).
Let's get into it!
{ author:
@MylesB93
}
#DEVCommunity
#dotNET
Learn how to run Kubernetes locally with Kind, Docker, and .NET 8. Detailed steps included. Perfect for those studying Kubernetes. Check it out!
#DEVCommunity
#dotNET
C#: From Fundamentals to Advanced Techniques — A Comprehensive Cheat Sheet
Follow along to enhance your C# programming skills!
{ author:
@sukhsukhpinder
}
#DEVCommunity
#dotNET
Explore how to seamlessly integrate a .env file into .NET Core's IConfiguration for efficient environment management in C# applications.
{ author:
@RicardoDeMauro
}
#DEVCommunity
#dotNET
Explore various ways to containerize your .NET apps beyond just using a Dockerfile. Learn about MSBuild and .NET Aspire for streamlined workflows.
{ author:
@justinchronicle
}
#DEVCommunity
#dotNET
Modern C# Development: Record Types 101
Today, we're diving into the world of records in C#—a fairly new addition to the C# language that can simplify your code.
{ author:
@lovelacecoding
}
#DEVCommunity
#dotNET
Explore C# Lists: Learn dynamic collection management, type safety, and practical examples. Perfect for advancing your C# skills!
#DEVCommunity
#dotNET
async await in C#: 3 Beginner Tips You Need to Know
I’ll highlight 3 beginner tips for using async await in C#.
{ author:
@DevLeaderCa
}
#DEVCommunity
#dotNET
Learn the latest in .NET routing! This article dives into updates, endpoint routing, attribute routing, and more. A must-read for devs working with .NET 7/8.
{ author:
@DotNetDevABP
}
#DEVCommunity
#dotNET
When it comes to security in web applications, one of the main challenges is ensuring user authentication and authorization. Here's how JWT can help.
#DEVCommunity
#dotNET
Enhance your API security with essential practices like robust authentication, HTTPS, input validation, and more for safeguarding data and access.
#DEVCommunity
#dotNET
Discover how C# source generators can automate repetitive tasks in development. This guide shows you how to create and use an enum generator in .NET.
#DEVCommunity
#dotNET
Explore developing a furniture e-commerce web API with .NET Clean Architecture and MongoDB for scalability and flexibility. Learn best practices here.
{ author:
@iamcymentho
}
#DEVCommunity
#dotNET
Implement API Key Authentication in .NET 8 to secure your API, limit access, and monetize effectively. Learn the steps to integrate it smoothly.
#DEVCommunity
#dotNET
Learn to implement social authentication in .NET Web API, offering Google and Facebook login integration. Dive into server-side setup with .NET 6.
#DEVCommunity
#dotNET
Finished my microservices project using .NET 8! It features efficient tech like the Azure Service Bus & Ocelot API Gateway. Check it out!
{ author:
@MidnightASC
}
#DEVCommunity
#dotNET
Amazon MQ RabbitMQ: A Reliable Messaging Solution for Your .NET Projects
Let's learn how to set up RabbitMQ and start using it to send and receive messages from a .NET application.
{ author:
@rahulpnath
}
#DEVCommunity
#dotNET
Understanding Background Services in .NET 8: IHostedService and BackgroundService
Explore these two services to see how they can help you with your long-running operations!
#DEVCommunity
#dotNET
C# Delegates In Practice — Implementing Observer Pattern With Delegates
Sometimes classes need to exchange information with each other without knowing each other directly. Here's how to do it.
#DEVCommunity
#dotNET
Learn how to use HttpClient in .NET to fetch a file's size from a URL with the HEAD method, ensuring efficient downloads without excess data.
#DEVCommunity
#dotNET
Explore how to use the CQRS pattern with MediatR in .NET 8. Learn to separate read and write operations for greater scalability!
{ author:
@DotNetDevABP
}
#DEVCommunity
#dotNET
Learn about set operations, quantifiers, and aggregation with LINQ in part 2. Dive deeper into collections & data manipulation in C#. Read more:
{ author:
@mirzaleka
}
#DEVCommunity
#dotNET
Unlock the potential of async/await in C#. Master the art of asynchronous programming to build more responsive apps, the right way.
#DEVCommunity
#dotNET
To help you confidently tackle questions on exception handling in C# in your interview, we have put together a comprehensive list of questions and answers that delve into various aspects of the subject.
{ author:
@byte_hide
}
#DEVCommunity
#dotNET
Explore integration testing for .NET apps using Docker with TestContainers. Discover efficient setup steps in this detailed guide.
{ author:
@cephalopodluke
}
#DEVCommunity
#dotNET
Learn how to implement JWT Bearer Token Authentication in .NET 8.0 for secure API development. Dive into the detailed guide and examples.
{ author:
@meetToSandy
}
#DEVCommunity
#dotNET
We’ve all faced challenges while managing data in C#, but what if I told you there’s a tool in C# that might help you with managing data validation effectively?
{ author:
@byte_hide
}
#DEVCommunity
#dotNET
A transaction is a sequence of operations performed as a single logical unit of work.
They follow the ACID properties: Atomicity, Consistency, Isolation, and Durability.
{ author:
@byte_hide
}
#DEVCommunity
#dotNET
Discover how to manage and efficiently use multiple DbContexts in a single query execution with practical code examples and techniques in .NET.
#DEVCommunity
#dotNET
Explore delegates, events & lambdas in C#. Learn how these advanced features enhance code flexibility and maintainability for efficient programming.
#DEVCommunity
#dotNET
It's certainly easier to handle authentication and authorization with the recent improvements from Microsoft, and it sure seems like a very promising step in the right direction!
#DEVCommunity
#dotNET
.NET Aspire is the best way to experiment with Dapr during local development
In this article, I'll show you how to use Dapr with .NET Aspire for an unparalleled local development experience.
#DEVCommunity
#dotNET
Build a .NET Blazor app to scan barcodes & QR codes. Learn to leverage interop between C# & JavaScript for seamless functionality integration.
{ author:
@yushulx
}
#DEVCommunity
#dotNET
One of the most exciting features of .NET Core 3.0 and C# 8.0 has been the addition of IAsyncEnumerable<T> (aka async streams). But what's so special about it? What can we do now that wasn't possible before?
{ author:
@nthonyChu
}