Content tagged as 'C-Sharp'

Here is a list of all the content that has been tagged as c-sharp.

Software Engineer Interview Quick Question Set

Redirects to legacy blog post.

Software Engineer Interview Process and Questions

Redirects to legacy blog post.

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 exercises and a set of verbal questions. Later on I cut the set of verbal questions down to a quicker set. In this post, I’ll be going over the process and the full set of verbal questions. In a subsequent post I’ll go over the quicker set.

Sanitising User Input from Browser part 2

Redirects to legacy blog post.

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 the malicious code.

C Sharp Dot NET Coding Standards and Guidelines

Redirects to legacy blog post.

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 discussion as to amendments / changes they see that could be useful?

A Handful of Singletons in C Sharp

Redirects to legacy blog post.

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.

Keeping your events thread safe

Redirects to legacy blog post.

An area I’ve noticed where engineers often forget to think about synchronization is when firing events. It seems to be a common misconception, that all that is needed to keep synchronisation, is to check the delegate (technically a MulticastDelegate, or in architectural terms the publisher of the publish-subscribe pattern (more commonly known as the observer pattern)) for null.

Quick walk through, of my UPS library

Redirects to legacy blog post.

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 servers.

Using PSCredentials

Redirects to legacy blog post.

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 passed to the receiving services.

LSP, DbC and dot NET’s support part 2

Redirects to legacy blog post.

Part two.

Message Inspection in WCF

Redirects to legacy blog post.

Message Inspectors can be a very usefull tool in diagnosing problems between WCF services and clients. The messages that are transferred between clients/services can be intercepted and operations performed on them. We’ve used this at work in conjunction with a tool called SaopUI to capture the SOAP messages and fire them at our service. This can be usefull for load testing, concurrency testing scenarios amongst others.