Checked Cast vs Convert in C#

Let’s say we want to convert int to short with a bounds check. Is there a difference between checked((short)x) and Convert.ToInt16(x)?

Read More

July 13, 2023

Apache Ignite on .NET 5

.NET 5 was released on November 10. Preliminary testing shows that Ignite.NET works as expected with the new SDK and all tests pass, except single-file deployment on Linux (see below). Official support for .NET 5 is coming in Ignite 2.10.

Read More

November 11, 2020

Playing with C# 8.0 Async Streams in Apache Ignite

C# 8.0 introduces Asynchronous Streams, which combine lazy enumeration and async/await. The most obvious use case here are database queries, where every individual record is pulled asynchronously from a remote server. This applies to Apache Ignite too - SQL and Scan query APIs can be updated with async versions. This requires Ignite code modification and we can expect those things in future versions. However, there is one more query type that we can convert to async version right now - Continuous Query.

Read More

October 9, 2019