C#
21 notes
- Exploring Alternatives to Fluent Assertions in .NET Testing
Fluent Assertions has long been a popular choice in .NET for writing clean, expressive test assertions. However, there are plenty of alternatives worth…
- Crafting Custom Validators in ASP.NET Core: A Comprehensive Guide
Unlock the power and flexibility of custom validators in ASP.NET Core with our in-depth guide. Dive deep into the creation of tailor-made validation rules,…
- Using ConfigureServices to Inject Custom Services into the Configure Method in ASP.NET Core
Unlock the power of ASP.NET Core’s dependency injection system by injecting custom services directly into the Configure method. Dive deep into practical…
- Demystifying Authorization Policies in ASP.NET 7.0: A Simple Guide
Dive into the world of ASP.NET 7.0 and explore the power of Authorization Policies. This beginner-friendly guide breaks down how to effectively secure your…
- Understanding the Difference Between Threads and Tasks in C#
Concurrency and parallelism have become pivotal aspects of modern programming, allowing developers to harness the power of multicore processors and deliver…
- How to apply SOLID Principles
In this blog post, we explored the power of SOLID principles in improving the design and maintainability of code. By refactoring a complex class in an…
- Exploring Lesser-Used LINQ Functions in C#
LINQ (Language Integrated Query) is a powerful feature in C# that allows developers to query data from various data sources such as arrays, lists, and…
- Unraveling the Tapestry of Code Complexity: Exploring the Web of Small Things
In the world of software development, code complexity can emerge from numerous small details that interconnect within our codebases. It goes beyond grand…
- Handling Exceptions in ASP.NET Core: A Guide to app.UseExceptionHandler
Exception handling is an essential part of building robust and reliable applications. ASP.NET Core provides developers with various approaches to handle…
- Pipes and Filters Design Pattern: A Practical Approach
The pipes and filters pattern is a powerful tool for breaking down complex data processing tasks into simple, reusable components. It can help you write…
- Understanding SOLID Principles: Open/Closed
This is the part 2 of the series of posts that I’m writing on the topic of solid principles
- Understanding SOLID Principles: Single Responsibility
If your code is not adaptive enough, You process cannot be agile enough.. To make your code more adaptive learn SOLID Principles
- Process trillions of events per day using C#
Learn how to process trillions events per day using C#
- gRPC using C#: a fresh new alternative to build APIs
This blog provides an introduction on gRPC and the gRPC support in C#
- What is this new .NET standard thingy?
This article helps you to get clarity on what exactly is .NET standard and why you need to know
- How to customize Swagger UI in ASP.NET Web API
Documentation is one of the most important thing to any WEB API. That is going to be the single point of reference for the developers who are going to…
- Common mistakes that C# noobs do
Lets face it! all of us when we initially started programming have done some silly mistakes without understanding the language or a language feature…
- A look at C# dynamic type
A brief look at C# dynamic types
- My thoughts on using regions in C#
Coding practices are such a divisive topic in any software team. Each of us will have our own preferences. But when we are in a team we need to bend our…
- C# 7.0 Features – Tuples
Now that VS 2017 RC is released with bunch of cool features along with refactoring support leveraging C# 7.0 features, Now is the best time to take a deep…
- Caller Information Attributes
Introduction .Net 4.5 introduced 3 new attributes: CallerFilePathAttribute, CallerLineNumberAttribute and CallerMemberAttribute which I think many of us…