Swagger Documentation with Swashbuckle

March 13, 2017

I wanted to document my code such that I get good quality swagger documentation in the test web pages. I'm using Swashbuckle in C# to document a webapi interface.

Project Configuration

You need to configure the project so that it will output documentation (like JavaDoc) to XML files alongside ...

RabbitMQ Despatcher Process

February 21, 2017

I wanted to have a C# process that would listen for entries on a queue, and then reliably despatch them out to other exchanges - one for external consumption, plus a couple of reliable ones for internal usage.

Here's the code I came up with to do this. The intention ...

Durable Queue in RabbitMQ with C#

February 16, 2017

This post outlines a durable messages approach using RabbitMQ as transport. If the receiver crashes, the message it was processing will be presented again when it restarts.

This is a many receivers to one sender situation. Each message will be processed once by one of the processors, and the messages ...

Scripting C# with Iron Python

February 15, 2017

I wanted to integrate IronPython into one of my C# applications. The following code is a proof of concept for this.

This python script is defined in the file script.py

def process(pString, pAgreement):
  if float(pAgreement.balance) > 100.0:
    return pAgreement.agreementNumber
  else:
    return pAgreement.product

txt = process ...

VLC Snapshots

December 13, 2016

I was playing a video through VLC on Ubuntu and I wanted to take a snapshot frame from the video. It wasn't working.

I needed to:

  • Configure VLC to have a snapshots directory
  • Change the Hardware accelerated decoding option at Preferences->Input & Codecs to something other than VPDAU.

References ...

Tags: