Recently I wanted to use Hangfire to coordinate jobs across internal and external web servers, but Hangfire has a 15s delay thanks to it's use of polling SQL Server. You can use Redis or MSMQ to reduce that delay to "instantaneous", but these are two separate computers, so how do they communicate using MSMQ? There are a few gotchas, as you'll see below!
Tuesday, 7 February 2017
MSMQ between two computers
According to Wikipedia, Microsoft Message Queuing or MSMQ is a message queue implementation developed by Microsoft and deployed in its Windows Server operating systems since Windows NT 4 and Windows 95. It's a super-easy method of Inter-Process Communication in Windows.
Labels:
C#,
Hangfire,
IPC,
Message Queues,
MSMQ,
SQL Server
Friday, 27 January 2017
Aurelia and select2
Aurelia - a great JavaScript framework for web development - but it's still in it's early stages so sometimes documentation isn't verbose enough and third party libraries haven't been integrated properly
meet
Select2 - The jQuery replacement for select boxes.
meet
Select2 - The jQuery replacement for select boxes.
Tuesday, 5 April 2016
Windows isn't phoney 8.1
Windows Phone 8.1. Do you use it or ignore it?
After dropping my old phone and using a cheap replacement Lumia for a couple of weeks, here are my impressions of windows phone 8.1 in a nutshell:
It looks impressive. Features on paper are excellent and the minimal UI is cleaner, more grown up, easier to see and coherent unlike other major operating systems.
It promises a lot, with things like continuum, if you can upgrade to windows 10.
After dropping my old phone and using a cheap replacement Lumia for a couple of weeks, here are my impressions of windows phone 8.1 in a nutshell:
It looks impressive. Features on paper are excellent and the minimal UI is cleaner, more grown up, easier to see and coherent unlike other major operating systems.
It promises a lot, with things like continuum, if you can upgrade to windows 10.
Labels:
Continuum,
Lumia,
Mobile,
Windows,
Windows Mobile,
Windows Phone 8.1
Friday, 28 December 2012
Surface Tension
I have in my hot hands a Microsoft Windows Surface running Windows RT (the ARM / lite version of Windows 8).
There's been a lot of criticism of the Surface, and the world always needs another opinion, so here's:
There's been a lot of criticism of the Surface, and the world always needs another opinion, so here's:
My take on three Windows 8 criticisms:
Tuesday, 29 November 2011
Highlighting elements in a Webdriver automated test
So, you use Selenium 2's Webdriver to automate some unit tests in your C# .NET enterprise web application? Me too. Our list of tests is growing longer and longer, and watching web pages fly by automatically can be amusing - but which element is being looked for, or clicked? Can you highlight the element before Webdriver clicks on it?
Labels:
.NET,
automation,
DevExpress,
scripts,
workplace