The Only Microservice Template You'll Ever Need
This blog post outlines how to use BytLabs.MicroserviceTemplate, to define your use cases in the Domain, Application, and Infrastructure layers.
Easy-to-understand tutorials on the .NET stack with C# language
This blog post outlines how to use BytLabs.MicroserviceTemplate, to define your use cases in the Domain, Application, and Infrastructure layers.
This article explains what are FP Functions or Pure Functions in C# functional programming and why they matter.
In this article, you will learn how to use C# attributes in your own code and how to use reflection along with attributes.
In this article, we're going to be learning about a whole host of different tips and tricks related to data types and objects in C# and .NET.
In this article, we're going to be learning about a whole host of different tips and tricks related to numbers and dates in C# and .NET.
In this article, we're going to be learning about a whole host of different tips and tricks related to C# String and Formatting.
CQRS design pattern C# is a simple pattern that strictly segregates the responsibility of handling command input into an autonomous system from the responsibility of handling side-effect-free query/read access on the same system.
The Chain of Responsibility is an ordered list of message handlers that know how to do two things; process a specific type of message, or pass the message along to the next message handler in the chain. The Chain of Responsibility provides a simple mechanism to decouple the sender of a message from the receiver.
In this post, we will discuss different types of comparison methods, such as equality operators, object.equals method and IEquatable interface, used for comparing values in C#.
In this article, we will discuss, the IS and AS keywords in C# and the importance of IS and AS operators in C#.
In this article, I will introduce you to an alternative style of programming called declarative programming. Proper declarative programs are easier to read, understand, and maintain.
The Template Method pattern in C# enables algorithms to defer certain steps to subclasses. The structure of the algorithm does not change, but small well-defined parts of its operation are handled elsewhere.
State Pattern in C# allow an object to alter its behavior when its internal state changes. This is achieved by an object variable changing its subclass, within a hierarchy.
In this post, you will learn how to send and receive Emails in ASP.NET with C#.
The Strategy pattern in C# lets the algorithm vary independently from clients that use it. The Strategy pattern enables a client to choose which algorithm to use from a family of algorithms and gives it a simple way to access it.
The Mediator pattern in C# enables objects to communicate, without knowing each other's identities. It also encapsulates a protocol that objects can follow.
Observer in C# is a behavioral design pattern that allows one object to notify other objects about changes in their state. In this article, you'll learn how to implement the Observer in C#.
The Iterator pattern in C# provides a way of accessing elements of a collection sequentially, without knowing how the collection is structured.
This article discusses whether String.Format is as efficient as StringBuilder in .NET.
A complete collection of c# pattern programs. This article explains the list of star pattern programs in c# programming language.
This article explains the Generics in C# with the help of a real-time problem and its step by step solution using c# generics. This article serves to be an in-depth post on getting started with generics in c#.
C# String class represents a string data type. This tutorial explains strings in C# and how you can use strings in your .NET applications.
Learn what is a memory leak in C# and how to measure .NET application performance with a variety of tools to diagnose memory issues.
A Repository mediates between the domain and data mapping layers. Repository Pattern in C# supports the objective of achieving a clean separation and one-way dependency between the domain and data mapping layers.
This C# article discusses the Nullables with Null Coalescing operator and also explains the unique ways to use the Null Coalescing operator.
In C#, delegates form the basic building blocks for events. This post explains the implementation detail of Delegates and Events in C# .NET.
Angularjs Services are objects that contain reusable code that can get consumed across app using Dependency Injection. This article will explain all of the techniques required to create your own AngularJS service.
This article introduces Request Life Cycle and Application Events that takes place as the request travel through MVC framework and Asp.NET platform. It also explains different methods to interact with this events.
Learn how to create lookup tables using enums in entity framework with Code-first approach.
Entity Framework is an Object Relational Mapper (ORM) which is a type of tool that simplifies mapping between objects in your software to the tables and columns of a relational database. In this article you will learn how to use EF Migrations with Git and TFS source control in teams.
The Adapter design pattern is one of the most common, and most useful patterns available to us. This post explains the Adapter design pattern in C# language.
C# 7.0 (.NET Framework 4.7) introduced ValueTuple, a structure which is a value type representation of the Tuple. It can be used where you want to have a data structure to hold an object with properties, but you don't want to create a separate type for it.
When we make something virtual in a platform, we're making an awful lot of promises about how it evolves in the future. For a non-virtual method, we promise that when you call this method, x and y will happen.
A Smart source code indenter that indent the code into columns. Also known as 'code alignment'.
Publish Subscribe or Pub-Sub is a design pattern that allows loose coupling between the application components. This post explains the implementation detail of Pub-Sub using Delegates, EventHandlers and Event keyword in C#.
In this article we will be discussing different methods to achieve parallelism using Tasks in C#.
In this article, you’ll learn about the Task-based asynchronous programming model along with async and await keyword in C#. You will also learn about the application of this asynchronous principle across .Net Applications.
This article serves to be a quick guide for using Tasks in C#. It discusses different methods to create tasks and handle their execution.
This article explains how to use Monitor Class in C#. Monitor and lock is the way to provide thread safety in a multithreaded application in C#. Monitor class is one of the wait based synchronization primitive that provides gated access to the shared resource.
This article explains techniques to tackle the thread synchronization problems and race condition. Thread synchronization refers to the act of shielding against multithreading issues such as data races, deadlocks and starvation.
This article explains what is Race Condition and Shared Resources in a multithreaded program and how much it is critical to synchronize a multithreaded program having shared resources. Thread Synchronization is a mechanism which ensures that two or more concurrent process or threads do not execute some particular section of program especially critical section at the same time.
This article explains how to use C# Threadpool. A thread pool is a collection of threads that can be used to perform several tasks in the background. This leaves the primary thread free to perform other tasks asynchronously.
This article is a complete introduction to threading. It explains what is a thread and why it is used in programming. Threading enables your C# program to perform concurrent processing so that you can do more than one operation at a time.
Multithreading in C# is a process in which multiple threads work simultaneously. It is a process to achieve multitasking. It saves time because multiple tasks are being executed at a time.
In this article, we will discuss about C# Fields, Properties and Indexers. A field is a variable which is declared directly in a class or struct in C#. A property is a member that provides a flexible mechanism to read, write, or compute the value of a private field.
Polymorphism in C# relates to the choice of which method to call, where the declared class of a variable is different from the run-time class of the object it references. In this tutorial, you will learn about - inheritance polymorphism and runtime polymorphism in c#.
C# Methods are operations associated with types. To provide a type with methods is to give it some useful functionality. In this article, you will learn different types of methods in C# language.
In this article, we will learn the very basic fundamental of OOPS programming that is classes and objects. Classes are a blueprint for creating individual objects that contain the general characteristics of a defined object type.
Understanding and using object-oriented coding techniques is the key to building well-crafted C# applications. In this part of the C# tutorial, we will talk about object-oriented programming in C#.
In this article, we will look at C# conditional statements. Conditions are used to execute part of a code only if some predefined conditions are fulfilled.