Development

Using TimeSpan configuration values in .NET Core

As Mark Seeman wrote, you can use TimeSpan setting in .NET Core’s AppSettings.json. It’s really hand...

Read
Development

Component testing in ASP.NET Core

I define “Component testing” as tests that only mocks external depenencies. For example, i only mock...

Read
Development

Service Fabric app health check

Health check is a common pattern in cloud native applications, especially in Kubernetes services. Se...

Read
Development

Any CPU settings in Visual Studio sln content for Service Fabric service

Service Fabric application only runs on x64 platform. By default, Visual Studio creates quite a few ...

Read
Development

Easy way to compare the values of the two complex objects

In C#, Equals (=) check if the two objects are the same or the same instance. Often in unit tests, y...

Read