From Markdown to HTML: a practical .NET renderer
Less theory, more code: parse Markdown with Markdig, inspect its structure, validate links and sanitize the HTML before displaying it.
Journal
Published articles, technical notes and practical ideas.
14 articles found · Page 1 of 2
Less theory, more code: parse Markdown with Markdig, inspect its structure, validate links and sanitize the HTML before displaying it.
That little “3 min read” label takes only a few lines of logic. Here’s how I calculate it from Markdown in .NET and display it in Angular.
Show an address on a map, open Street View, and add a “Use my location” button. A step-by-step Angular walkthrough with practical code examples.
A familiar service, a shorter constructor, and a few details worth knowing before changing your existing C# code. Practical examples without the long explanation.
Stripe, Skrill, PAY.nl and Mollie expose different APIs, but the same integration concerns keep returning. A practical .NET design for initialization, redirects, verified callbacks and reliable payment state.
How I use Codex to turn an idea into a plan, organize work in Markdown files and build step by step, with practical prompts you can adapt to your own project.
A practical guide to basic, named and typed HttpClient usage in .NET, with registration, headers, JSON requests, timeouts, cancellation and lifetime decisions.
A practical SQL Server cache behind ICacheProvider: typed values, JSON serialization, expiration, invalidation, and the tradeoffs to consider in a .NET application.
How FileStore selects local disk or Azure Blob Storage for each API client, with code for the shared contract, upload, download, and the boundaries to watch.
A practical look at FileStore migrations: creating tables, changing columns, configuring the runner, version numbering, and the limits of rollback.