Skip to content

Hi, I'm Ankit

The story of my experiments with code

  • Twitter
  • Facebook
  • GitHub
  • LinkedIn
  • RSS
  • C#
  • .NET/.NET Core
  • Architecture & Design
  • Azure/ AWS
  • DevOps
  • Testing
  • Security
  • About

Domain Driven Design

Generating client code with NSwag for Enumeration class

by Ankit Vijay on July 12, 2020September 26, 2020

This post describes how we can render an Enumeration class as an Enum type in client code with NSwag by implementing Swagger ISchemaFilter.

Read More
.NET, .NET Core, Architecture and Design, ASP.NET Core, ASP.NET Core 3.1, C#, Domain Driven Design, Enum, Enumeration class, Microservices, NSwag, NSwagStudio, Swagger

Series: Enumeration Classes – DDD and beyond

by Ankit Vijay on June 12, 2020September 26, 2020

We typically use Enumeration classes with Domain-Driven Design (DDD). In this series, I will describe how you can use an Enumeration Class beyond DDD.

Read More
.NET, .NET Core, Architecture and Design, ASP.NET Core, DDD, Domain Driven Design, Enumeration class

Enumeration class and JSON Serialization

by Ankit Vijay on June 1, 2020September 26, 2020

In this post, I will explain how we can serialize an Enumeration class using a custom JSON Converter for both System.Text.Json and Newtonsoft.Json.

Read More
.NET, .NET Core, C#, DDD, Domain Driven Design, Enumeration class, Json Serialization

Introduction to Enumeration Classes

by Ankit Vijay on May 21, 2020September 26, 2020

This is the first post in the series: Enumeration classes – DDD and beyond. This post gives an introduction to an Enumeration class.

Read More
.NET, .NET Core, Architecture and Design, C#, Domain Driven Design

Integrity of Collections in Domain-Driven Design

by Ankit Vijay on May 10, 2020September 26, 2020

The post describes the issues with Collection integrity in DDD and how we can use ImmutableList to avoid manipulating collections outside the Domain.

Read More
.NET, .NET Core, Architecture, Architecture and Design, C#, DDD, Domain Driven Design