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

.NET

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

From GitHub to NuGet

by Ankit Vijay on April 27, 2020September 26, 2020

This post talks about my journey to publish ASP.NET Core Middleware as a Nuget Package from GitHub repository through GitHub Actions.

Read More
.NET, .NET Core, ASP.NET Core, ASP.NET Core 3.1, Continuous Delivery, Continuous Integration, DevOps, GitHub, Nuget, Open Source

Writing better tests with xUnit Theory

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

This post describes some of the pain-points of xUnit Theory and how we can write more descriptive tests by overriding the test output.

Read More
.NET, C#, Testing, Unit Testing, xunit, xUnit Fact, xUnit Theory

NuGet packages – Our Standards and Defaults

by Ankit Vijay on March 29, 2020September 15, 2020

This posts talks about some of the standards and practices we use for our internal NuGet packages in our organization.

Read More
.NET, .NET Core, Nuget

.NET Core and DI – Beware of Captive Dependency

by Ankit Vijay on March 17, 2020September 26, 2020

The post explains captive dependency. It highlights the potential issues when you do not configure lifetime services correctly.

Read More
.NET, .NET Core, .NET Core 2.2, .NET Core 3.0, ASP.NET Core, ASP.NET Core 3.1, Autofac, C#, Captive Dependency, Dependency Injection

Client library for your Rest API – Is it worth the pain?

by Ankit Vijay on February 25, 2020September 26, 2020

Creating a client library for your Rest service can help your clients consume your Rest API. But is it a silver bullet to every problem?

Read More
.NET, .NET Core, Architecture, ASP.NET Core, C#, Microservices

Our failed attempt at IAsyncEnumerable

by Ankit Vijay on February 2, 2020September 26, 2020

C# 8 introduced a great feature of async stream using IAsyncEnumerable. This post talks about potential pitfalls when not using it right.

Read More
.NET, .NET Core, .NET Core 2.2, .NET Core 3.0, ASP.NET Core, ASP.NET Core 3.1, async/await, C#, IAsyncEnumerable

Posts navigation

Older
Newer
Hi, I'm Ankit
Proudly powered by WordPress | Theme: Hammer by AudioTheme.