Quantcast
Channel: Yet Another Chris » Chris S
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

Anti-XSS .NET libraries in 2013

One of the more important parts in Roadkill Wiki is removing malicious HTML from the markup that’s entered, even when the markup (Creole and Markdown) is controlled. The markup you enter is converted...

View Article



Using the this keyword with Typescript and a jQuery function

When you write Typescript, you’re forced by the compiler to use the “this” keyword when you want to access member variables or methods. If they’re static, you’re forced to use the name of the class (as...

View Article

Image may be NSFW.
Clik here to view.

Roadkill reaches the magical 1000 unit test mark

Warning: this post contains large amounts of pro-automated-testing propaganda. Roadkill is now up to over 1000 tests (around 1150) as it gets near the version 2 release coming in 2014. Around three...

View Article

Adding NETWORKSERVICE as a dbo user in SQL Server

If you want to enable integrated security in your SQL Server connection string, and don’t want to have to update your App Pool with a username across different machines you can simply add ‘NT...

View Article

A C# UK bank holiday calculator

In the UK we’re fortunate enough to get 5 free holidays a year, under the guise of “Bank Holidays”. These are mostly on Mondays and come in January, March/April, May, August and December. Below is a...

View Article


Using Appveyor as Roadkill’s CI to run acceptance tests

A while ago Roadkill’s CI solution was hosted on Appharbor, which was a great solution (and free for a single project), but the configuration hacking and I problems with the hosted environment with the...

View Article

.NET logging libraries compared

This is a short presentation I created for the company I work for, and gives my thoughts on the state of .NET logging libraries in 2014. My knowledge comes from day-to-day use of MSEntLib and log4net...

View Article

Starting and stopping all IIS sites in Powershell

This is just a boring Powershell 4 snippet for starting and stopping IIS websites: Import-Module WebAdministration Get-ChildItem -Path IIS:\Sites | foreach { Stop-WebSite $_.Name; } Get-ChildItem -Path...

View Article


Configuring WCF in code

One of the main issues I have with WCF, compared to say a WebApi or a NancyFX based API, are the ridiculously large configuration options you have available. The ABC approach it uses (addresses,...

View Article


What does a principal developer do?

Or to word it another way, What is a Principal Developer? I recently got asked this question at an internal (non-technology-based) event with about 50 people in the room. With a mixture of stage fright...

View Article
Browsing latest articles
Browse All 13 View Live




Latest Images