Posts tagged with "C#" - Page 4

gRPC and C# 8 Async stream cancellation

Sep 25, 2019

In the previous post "gRPC and C# 8 Async stream", we looked at how gRPC server stream and C# 8 Async stream work great together. In this post, we are looking at the way we can, from the client, stop the server to stream results back.

Continue reading

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

Page 4 of 6