Tag: .net

  • Harnessing C# for Geospatial Calculations: Computing Distance between GPS Coordinates

    Harnessing C# for Geospatial Calculations: Computing Distance between GPS Coordinates

    Brief Overview of C# The programming language landscape is like a vibrant mosaic, each piece shimmering with its unique capabilities and functionalities. In this expansive domain, C# (pronounced C-Sharp) has managed to carve out its distinct niche, gleaming brightly for its simplicity, versatility, and robustness. Incepted by Microsoft as part of its .NET initiative, C# […]

  • How to Create SHA512 in C# Example

    How to Create SHA512 in C# Example

    Are you looking for a way to create SHA512 hashes in C#? In this article, we’ll guide you through the process step by step. SHA512 is a widely used cryptographic algorithm that generates a 512-bit hash value. It’s commonly used for password storage, digital signatures, and data integrity checks.

  • C# Base64 decode and encode

    C# Base64 decode and encode

    Here is an quick example how to encode/decode a string to base64. This example works already on .net core 2.0 or above.

  • .Net Core PDF Library from HTML (DinkToPdf)

    .Net Core PDF Library from HTML (DinkToPdf)

    If you need an PDF library, wich converts an HTML document to a PDF you need a library. There are a lot of libraries on the market, but only a few wich are free and open source. In my projects i used the DinkToPdf library, wich is a wrapper for the webkit engine (the chrome […]