Quantcast
Channel: Binarymist » C#
Browsing all 11 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using PSCredentials

I’ve been working on a small project that shuts down machines attached by network and of course power feed to an APC Smart-UPS. The code that was shutting down the guests required authentication to be...

View Article



Image may be NSFW.
Clik here to view.

Quick walk through, of my UPS library

Part three of a three part series On setting up a UPS solution, to enable clean shutdown of vital network components. In this post, we’ll be reviewing the library that performs the shutting down of our...

View Article

Image may be NSFW.
Clik here to view.

Keeping your events thread safe

An area I’ve noticed where engineers often forget to think about synchronization is where firing events. Now I’m going to go over a little background on C# delegates quickly just to refresh what we...

View Article

Image may be NSFW.
Clik here to view.

A Handful of Singletons in C#

Recently I was involved in an interview where I was queried on the Singleton Creational design pattern. I thought I’d share what I came up with. In order of preference from most to least used. Most...

View Article

Image may be NSFW.
Clik here to view.

C#.NET Coding Standards and Guidelines

This is the current set of coding standards and guidelines I use when I’m coding in the C#.NET language. I thought it would be good to share so others could get use out of them also, and maybe start a...

View Article


Image may be NSFW.
Clik here to view.

Sanitising User Input from Browser. part 1

I was working on a web based project recently where there was no security thought about when designing, developing it. The following outlines my experience with retrofitting security. It’s my hope that...

View Article

Image may be NSFW.
Clik here to view.

Sanitising User Input from Browser. part 2

Untrusted data (data entered by a user), should always be treated as though it contains attack code. This data should not be sent anywhere without taking the necessary steps to detect and neutralise...

View Article

Image may be NSFW.
Clik here to view.

Software Engineer Interview Process and Questions

A short time ago, I was tasked with finding the right software engineer/s for the organisation I was working for. I settled on a process, a set of background questions,  a set of practical programming...

View Article


Image may be NSFW.
Clik here to view.

Software Engineer Interview Quick Question Set

Ice breakers Tell us a little bit about yourself and what drives you? Ask a question from their CV that is positive, ‘what was your greatest success in your current or last role’ What’s your ideal job?...

View Article


Image may be NSFW.
Clik here to view.

Evaluation of .Net Mocking libraries

I’ve recently undertaken another round of evaluating .NET mocking (fake/substitute/dummy/stub/ or what ever you want to call them now) libraries. Interestingly the landscape has changed quite a bit...

View Article

Image may be NSFW.
Clik here to view.

Automating Specification by Example for .NET Web Applications

If you or your organisation: are/is constrained to running your .NET tests (unit, acceptance) on-site rather than in the cloud would like some guidance on how to set-up Continuous Integration read on....

View Article
Browsing all 11 articles
Browse latest View live




Latest Images