Category Archives: C#

Listing .NET assembly versions in powershell

Sometimes in .NET you end up in assembly version hell. When you’re trying to get your assembly references and binding redirects right, this function can really come in handy, it works directly on a file, or on directories and has … Continue reading

Posted in Build, C#, Note to self | Tagged | Leave a comment

Semantic versioning APIs of .NET assemblies

Package managers are awesome. Here’s a versioning scheme that can ease the pain of complex dependency graphs, while encouraging library authors to think about their consumers. Continue reading

Posted in C# | Tagged , , , , , , | 1 Comment

Evil Regexes

Server side input validation is an essential part of basic web security. Most people use regexes to deal with this. But if you’re not careful, your input validation could be used to denial of service attack your server. Problem Take … Continue reading

Posted in C# | Tagged | Leave a comment