Posts tagged with "C#" - Page 5

gRPC and C# 8 Async stream

Sep 18, 2019

gRPC and its idea to describe an API in a standardized file, which can generate both client and server code to interact in different languages is a compelling idea. In this post, I would like to have a quick look at the experience you would have with gRPC streaming capability and the new C# 8 async streams, which sounds like a perfect match.

Continue reading

Optimizing Skye Editor using JetBrains dotTrace

This post is a transcript of an internal post I did on Innoveo Solutions internal blog. Thanks to Innoveo to let me share this here!

Skye Editor is our metal model editor which is written in C# 4, WPF uses Model-View-ViewModel design pattern and MVVM Light.

Continue reading

Using Thread.Sleep() in Unit Test! A good idea?

Nov 20, 2012

In my humble opinion it is definitely not a good idea! Why?

  1. It is brittle test because it depends to the CPU load of the machine running the test. Maybe it runs fine on your development machine, and will for sure from time to time fail on your build server because of the load on the server.

Continue reading

Test Driven Development Kata - String Calculator

The subject of this article is the String Calculator proposed by Roy Osherove. The Kata is done in C# uses Visual Studio 2012, JetBrains Resharper 7 and NCrunch.

But what is a TDD Kata? It is an implementation exercise starting with unit tests and leveraging refactoring that you practice daily for around 15 to 30 minutes.

Continue reading

Page 5 of 6