Mmm, software

Sunday, July 30, 2017

Unit testing Service Fabric Reliable Service and Actors with Mocks and Moqs

›
Install-Package Moq Install-Package ServiceFabric.Mocks Some key bits of code you'll need: this.mockRepository = new MockReposit...
Thursday, July 27, 2017

Adding Dependency Injection support for Service Fabric Stateful Services and Actors

›
Check this page out: https://alexmg.com/introducing-the-autofac-integration-for-service-fabric/ Right from the maker of Autofac. You'l...

Adding Dependency Injection support for Service Fabric Stateless API applications

›
Turns out that it's pretty easy (for Stateless Services anyway). In your Package Manager Console: Install-Package Autofac.WebApi2 -V...
Tuesday, July 18, 2017

Adding Azure Active Directory OAuth 2.0 authentication to a Service Fabric Web API (Stateless) service

›
... is pretty much the same as adding it to a normal Web API 2.0 application: [Authorize] public class ValuesController : ApiController...
Sunday, July 16, 2017

Getting Started with deploying your first Azure Service Fabric resource

›
I've recently started getting on the Service Fabric band wagon, running in Azure in my case. When you run Service Fabric in Azure (vs on...
Wednesday, July 12, 2017

Some interesting points regarding automated deployment of Alert Rules within an Azure Resource Group template

›
After some recent endeavours to add Application Insights alert rules, I stumbled (quite sorely) over some quirks around defining Alert Rules...
Friday, May 26, 2017

Connecting to on-premise IBM DB2 instances

›
Check out the following link to see the complete port list for connecting to an IBM DB2 database instance: http://www-01.ibm.com/support/doc...

Getting table column metadata in IBM DB2 v7.2

›
So here's a useful little snippet for getting column metadata for tables in IBM DB2 7.2 : SELECT * FROM sysibm.columns WHERE TABLE_SCH...
Tuesday, May 16, 2017

Unexpected ArgumentNullException when returning from a WCF operation call

›
I've recently run into a problem executing WCF calls to one of my services. I suspect that it has to do with a change to one of the Serv...
Sunday, April 02, 2017

How to copy files to a remote machine with powershell 5 (the easy way)

›
> $creds = Get-Credential > $session = New-PSSession -ComputerName "myremotemachine.mydomain.com" -UseSSL -Credential $cred...
Wednesday, February 22, 2017

Enabling tests and tracking in the "Diagnostics" tab for the "Message Queueing" node in Computer Management on Windows

›
Thanks to a coworker, I finally know how to enable the Diagnostics for MSMQ in Computer Management on Windows so that I can better diagnose ...
Friday, February 10, 2017

Solving "The signature is invalid." errors on MSMQ messages in the "MSMQ, WCF and IIS: Getting them to play nice (Part 3)" series by Tom Hollander

›
My company has recently had need for an MSMQ-backed queueing solution, that happened to match the topology described in Tom Hollander's ...
Monday, February 06, 2017

Automating setup of keys for Release Annotations in App Insights during an automated Release

›
Microsoft has finally added this ability, though the documentation is not available at the time of this writing. For instructions on how to ...
Friday, January 27, 2017

Solving "The storage account named XXXXX already exists under the subscription" when deploying Azure Resource Group templates

›
I've recently run into a problem where I've been unable to deploy multiple resource groups for my applications that contain Storage ...
Friday, November 25, 2016

Solving the dreaded MQ_ERROR_CORRUPTED_SECURITY_DATA (0xC00E0030) MSMQ error

›
I recently started getting a the error  MQ_ERROR_CORRUPTED_SECURITY_DATA (0xC00E0030) when trying to execute tests on my development box whi...
Saturday, November 19, 2016

Switching environments, data sources, and other dynamically changeable settings in TFS Lab (on-premise) for 2013

›
Thanks to a post on this blog , we can access the settings inject into Lab-managed builds in TFS 2012 and 2013. Even though this is 2016 and...
Monday, November 14, 2016

DevExpress and their licensing model suck for professional developers

›
If you're using a build machine, delete all of your *.licx files out of source control. Otherwise you're just asking for trouble.
Friday, November 11, 2016

Data-driven testing with MSTest via configuration-defined data sources and XML as a data source

›
I've done data driven testing with MSTest before. Prior to now, it's been solely with XML file data sources that have been defined i...
Wednesday, November 09, 2016

Solving "System.Net.WebException: The remote server returned an error: (417) Expectation Failed" with a WCF service

›
I recently started getting the following error message when trying to connect to a web service we had put on an Azure VM running behind an A...

Solving "System.Net.WebException: The remote server returned an error: (417) Expectation Failed" with a WCF service

›
I recently started getting the following error message when trying to connect to a web service we had put on an Azure VM running behind an A...
‹
›
Home
View web version

About Me

Alex Marshall
View my complete profile
Powered by Blogger.