Blog Logo
TAGS

# .NET 6 OpenAPI with TypeScript Client Generation

This is a sample application demonstrating .NET 6 with OpenAPI client code generation. While gRPC and GraphQL seem to be en vogue, REST with OpenAPI offers many of the same benefits in terms of contra...

Read more...

Generate ASP.NET Core OpenAPI Spec At Build Time

I recently worked with Swashbuckle, a .NET package that can generate Swagger 2.0 and OpenAPI 3.0 specifications from existing ASP.NET Core solutions. The benefit of the library is we can write HTTP AP...

Read more...

How .NET 7.0 boosted AIS.NET performance by 19%

At endjin, we maintain Ais.Net, an open source high-performance library for parsing AIS message. Last year when .NET 6.0 came out, we re-ran our benchmarks and found a 20% performance boost. Weve repe...

Read more...

Prototyping, an underestimated design skill

Coding is an underestimated part of the design. When we think about the design, we immediately fall to whiteboard diagrams, sticky notes, or endless discussions. That’s fine and one way of doing thing...

Read more...

From order to chaos: Anti-patterns in Unity software design

Unity is undeniably a powerful game engine, but there’s a disheartening trend I can’t ignore: Too many projects developed with Unity end up in a complete mess. In the Unity project graveyard, many ven...

Read more...

An in-depth guide to Dapr workflow patterns in .NET

After covering Dapr workflow basics in the previous article, let’s take a look at the different application patterns that can be used with Dapr workflow and .NET. The patterns covered in this post are...

Read more...

Rich Domain Model with DDD/TDD (Reviewed)

Through my journey of building Domain Models I had good and bad experiences that today I share with you to save a few hours of your development time. These are opinionated approaches that I follow whe...

Read more...

Introducing Predictive Debugging: A Game-Changing Look into the Future

With the introduction of debugging tools, software developers were empowered to interactively investigate the control flow of software programs to find bugs in live environments. At JetBrains, we’ve a...

Read more...

Tales from the .NET Migration Trenches - Intro

Over the past year or so Ive been part of a large-ish modernization effort, both migrating from .NET 4.8 to .NET 6 (the latest LTS at the time) and from an on-premise deployment to Azure. While these ...

Read more...

AWS Cognito and Web Applications – Protecting and Accessing APIs (JavaScript and .NET Core)

A typical web application consists of a frontend (HTML, JavaScript, CSS), a backend (e.g. REST API) and database for persistence. Token based authentication is a very common way to manage authenticati...

Read more...

A cheat sheet to migrate from Moq to NSubstitute

Tim Deschryver wrote a blog post titled A cheat sheet to migrate from Moq to NSubstitute on August 14, 2023. The article provides a comprehensive guide on migrating from Moq to NSubstitute. It covers ...

Read more...

Elsa Workflows

Elsa Core is a workflows library that enables workflow execution in any .NET Core application. Workflows can be defined using code and using the visual workflow designer. Documentation can be found [h...

Read more...

# Hashids

A small .NET package to generate YouTube-like IDs from numbers. It converts numbers like `347` into strings like `yr8`, or array of numbers like `[27, 986]` into `3kTMd`. You can also decode those IDs...

Read more...

ASP.NET Core: How to Maximize Performance and Scalability of Your App

Whether you have an app with just a few users or millions of users per day, like Agoda, improving the user experience by optimizing application performance is always crucial. In the case of very high-...

Read more...

Warnings with latest version from SponsorLink

Hey team, I appreciate the effort, and really like Moq, thank you for creating it! In one project, I just did a dependency update and noticed that I get MOQ101 warnings when building in Visual Studio,...

Read more...

NonEmpty catamorphism by Mark Seemann

The universal API for generic non-empty collections, with examples in C# and Haskell. This article explores the concept of catamorphisms and how they can be used to digest data structures into potenti...

Read more...

An in-depth guide to Dapr workflow patterns in .NET

After covering Dapr workflow basics in the previous article, let’s take a look at the different application patterns that can be used with Dapr workflow and .NET. The patterns covered in this post are...

Read more...

Rider 2023.2: Better C# Support, UX/UI Enhancements, AI-Powered Features, and More

A new major update for Rider has been released, featuring better C# support with new inspections, context actions, and formatting options. The UX/UI has been enhanced with a reworked Build tool window...

Read more...

[![NuGet](https://img.shields.io/nuget/v/erroror.svg)](https://www.nuget.org/packages/erroror) [![Build](https://github.com/amantinband/error-or/actions/workflows/build.yml/badge.svg)](https://github.com/amantinband/error-or/actions/workflows/build.yml) [![publish ErrorOr to nuget](https://github.com/amantinband/error-or/actions/workflows/publish.yml/badge.svg)](https://github.com/amantinband/error-or/actions/workflows/publish.yml) [![GitHub contributors](https://img.shields.io/github/contributors/amantinband/error-or)](https://GitHub.com/amantinband/error-or/graphs/contributors/) [![GitHub Stars](https://img.shields.io/github/stars/amantinband/error-or.svg)](https://github.com/amantinband/error-or/stargazers) [![GitHub license](https://img.shields.io/github/license/amantinband/error-or)](https://github.com/amantinband/error-or/blob/main/LICENSE) A simple, fluent discriminated union of an error or a result.

A simple, fluent discriminated union of an error or a result. `dotnet add package ErrorOr` - [Give it a star ⭐!](#give-it-a-star-) - [Getting Started](#getting-started) - [Single Error](#single-error)...

Read more...

Building Scalable Serverless Applications: Hosting .NET Minimal APIs with Google Cloud Functions

In today’s fast-paced digital landscape, developers are constantly seeking efficient ways to build and deploy applications that are scalable, cost-effective, and require minimal maintenance. The combi...

Read more...