CODE.RNR

Learn, code, rock'n'roll

Execute queue with ASP.NET core timed hosted service

This post shows how to create a hosted background service that polls a database for queued jobs on a regular basis and executes them, one at a time.

dotnet core asp.net core hosted service background service queue

My first dotnet contribution

I posted a pull request fixing a default value in dotnet api docs and it got accepted and merged. It ain't much, but it's honest work.

dotnet core github contribution open source SignedXml SHA

Registering decorators in ASP.NET Core DI

This post shows how you can register multiple classes that implement the same interface and decorate each other in ASP.NET Core dependency injection container

asp.net core dependency injection decorator pattern dotnet core

Render Razor view from a dotnet core 3 console app

Razor views are strongly coupled to aspnet core mvc but you can use them in a console app with this minimum setup.

dotnet core razor aspnet mvc console application

Automate blog publishing with Github Actions

I've created a set of github workflows to automate the process of publishing new posts to my static github pages blog.

static site generator github pages github actions CI/CD

This post is generated by the subject of this post

I wrote a static blog generator in dotnet core to support my professional blog that you are currently reading.

dotnet core static site generator github pages

Wrapping async methods to return WinRT async operations

WinRT Universal Windows Platform C# async threading

Mocking sealed classes in C#

How to wrap sealed classes with custom classes that implement mockable interface

C# Azure Unit test Mocking Dependency injection

Windows IoT external IP updater

Creating a Windows 10 core IoT background application that periodically checks the external IP and notifies in email if changed

WinRT Universal Windows Platform Raspberry Pi Windows 10 core IoT C#

Saving One-To-Many abstract relations with Symfony REST

Hanging out with friends of symfony

PHP Symfony REST FOSRestBundle JMSSerializerBundle