- C# Digest
- Posts
- Implementing Blocked Floyd-Warshall algorithm
Implementing Blocked Floyd-Warshall algorithm
for solving all-pairs shortest path problem
Implementing Blocked Floyd-Warshall algorithm for solving all-pairs shortest path problem
29 minutes by Oleg Karasik
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.
Streamline your .NET logging. Cut costs. Stay compliant.
sponsored by Datadog
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.
Disabling Recording of an Activity (span) in .NET OpenTelemetry Instrumentation
6 minutes by Steve Gordon
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.
Implement a Geo-distance search in ASP.NET
4 minutes by Damien Bod
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? |