• C# Digest
  • Posts
  • Implementing Blocked Floyd-Warshall algorithm

Implementing Blocked Floyd-Warshall algorithm

for solving all-pairs shortest path problem

The article discusses an implementation of the Blocked Floyd-Warshall algorithm for solving the all-pairs shortest path problem. It explains the theory behind the algorithm, which splits a graph's weight matrix into blocks and calculates shortest paths between vertices using these blocks.

Manage large volumes of logs in your .NET apps with no compromises. By decoupling log ingestion from retention and separating storage from query compute, you gain full control without the cost overload. Plus, with advanced querying tools, you can resolve incidents faster. And our enterprise-grade governance suite ensures your entire system stays compliant and secure.

In this post, Steve shares a solution to programmatically disable the recording (exporting) of an Activity when instrumenting code for OpenTelemetry. The author explains the implementation details, including modifying the ActivityTraceFlags and IsAllDataRequested properties of the Activity object to prevent recording and reduce overhead.

ASP.NET Core 9 and IAsyncEnumerable
6 minutes by Tomasz Pęczek

This post explores streaming data asynchronously from Blazor based on async streamed JSON and NDJSON. It also covers the implementation of a custom formatter to receive async streamed JSON in ASP.NET Core, highlighting the challenges and providing code examples.

This article shows how to implement a geo location search in an ASP.NET Core application using a LeafletJs map. The selected location can be used to find the nearest location with an Elasticsearch Geo-distance query. The Elasticsearch container and the ASP.NET Core UI application are setup for development using .NET Aspire.

Conditional compilation symbols in C#
3 minutes by Bart Wullems

This article discusses the use of conditional compilation symbols in C#, which are preprocessor directives that allow developers to include or exclude portions of code based on specific conditions.

how did you like this issue?

Login or Subscribe to participate in polls.

newsletters

Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.