Jason Rowe

Be curious! Choose your own adventure.

Category: .NET

  • RavenDB Network Tests

    RavenDB Network Tests

    When using RavenDB for important sales and purchase documents how do you know if your code is transactional and safe? That is a question I was asking myself and so I created RavenDBNetworkTests to allow testing of RavenDB with simulated network conditions. The network simulations are done via ToxiProxy. The repo and this blog post […]

  • MDC 2019 Presentation

    MDC 2019 Presentation

    Link to presentation and code for my talk at MDC 2019. https://github.com/JasonRowe/MDC2019 Microservice plumbing with RabbitMQ Jason Rowe, Protolabs The basics of RabbitMQ messaging options and techniques used to ensure reliable messaging.

  • KestrelMock .Net Core Mock Server

    https://github.com/JasonRowe/KestrelMock https://www.nuget.org/packages/KestrelMock There are many powerful mocking frameworks available why build another one? Sure frameworks like WireMock and MounteBank have a bunch of fancy features but who really needs all that. Seriously though sometimes all you need is a response based on URL and post data ridiculously fast. Also a Kestrel mock HTTP server can […]

  • ASP.NET Core Problem Details examples

    In versions 2.1 and 2.2, ASP.NET Core added a feature called “Problem Details” which will help you standardize error messages in API controllers. In 2.2, file new project enables “Problem Details” by default for errors thrown from controllers using the “[ApiController]” attribute. Also with the help from a nuget package Hellang.Middleware.ProblemDetails you can add these […]

  • Debug .Net Memory Issues with WinDbg

    Notes on debugging windows app with WinDbg. Install Windbg Use the Windows 10 SDK and install debugging tools Create dump file via task manager Setup symbols in WinDbg load sos Run to dump out all .net objects in a statistical fashion To dig in more use this article

  • RabbitMQ Client Connection Issues

    If you suspect issues with your RabbitMQ client you can test out connectivity problems using ToxiProxy. Once ToxiProxy server is installed and running use the CLI to setup the proxy. The following command creates a local endpoint ‘localhost:5670’ which will proxy to ‘rabbitmq:5672’. With the proxy setup, you can configure your consumer to use ToxiProxy […]