Skip to content

Blog

Modeller DSL Parser: Your Gateway to Flexible Parsing in C

Welcome to the world of parsing with Modeller DSL. This lightweight, high-speed, and adaptable parsing library for C# empowers you to construct parsers with ease.

Getting Started with Modeller DSL Parser

Modeller.DslParser is a parser combinator library, offering a high-level, declarative approach to crafting parsers. These parsers resemble a high-level specification of a language's grammar, yet they are expressed within a general-purpose programming language, requiring no special tools for producing executable code. Parser combinators offer enhanced capabilities compared to regular expressions, as they can handle a broader range of languages, all while being simpler and more user-friendly than parser generators like ANTLR.

Avoiding flaky tests with TimeProvider and ITimer

This is an extract from Andrew Lock's blog. Jump over and check out his work, he is a very talented individual and has some awesome posts.

What's the problem with the existing APIs?

Even if you're new to C#, you have likely needed to get "the current time" at some point. The default way to do that is to use the DateTime.UtcNow or DateTimeOffset.UtcNow static properties. You can call these properties from anywhere in your code so they're an easy thing to reach for wherever you are.

Utilizing MassTransit in .NET Core with RabbitMQ

Are you in search of an open-source distributed application framework designed for .NET, one that streamlines the development of message-based applications? MassTransit is the solution you've been seeking. It offers a straightforward yet robust means of constructing distributed systems using message-based architectural paradigms, including event-driven, publish/subscribe, and request/response patterns.

In the next few posts, I will explain my thoughts and guide you through the process of harnessing MassTransit within a .NET-based ASP.NET Core Web API.

By the conclusion of this series, you will be well-equipped to establish and configure a producer and consumer message service for RabbitMQ. We will also delve into some advanced RabbitMQ use cases and explore key concepts essential to effectively work with distributed solutions.

Project Directory Structures

Various methods exist for organizing a project's directory structure, but I have a particular preference. Prior to delving into that, let's examine the conventional approaches often suggested by templates and demoware and why they may not be the most advantageous choice.