Always ask why
There is no I in team and there is no WHY in patterns or practices. But there should be. Too many people abuse patterns because they didn't learn the WHY.
View ArticleDrying up your razor views
We all know DRY is a good principle to follow but it's now always that easy. I will show you technique using templated delegates that keeps your code both flexible and DRY.
View ArticleA reusable datareader
Usually writing simple select statements against the database involves a lot of cermony. I'll show how this can refactored here.
View ArticleLinq and the cost of skip
When using Linq you need to be aware of some performance pitfalls. Here we look at Skip() and it's hidden cost.
View ArticleThe great optimization, part 1
I'll describe how I fixed an insanely slow algorithm. In this part I'll cover the analysis phase.
View ArticleVscommands and locateinsolution
VSCommands has this great function. Locate file in Solution explorer. But by default it's not bound to any hotkey. Here is how you bind it.
View ArticleFluentsecurity without an ioc container
I just started using FluentSecurity for the first time but on a small project without an IOC container. Here is how you make that work.
View ArticleSpeaking with a bot
I just had a conversation with a bot (or a hacker) that had access to a friends messenger account. It nearly fooled me. Here is the conversation
View ArticleIntroducing sisodb.management
This is the first look at a new project of mine that was released today. SisoDb.Management is a a web based tool for administrating you SisoDb database.
View ArticleString.split for collections
Here is an C# implementation of a split method that works like string.Split() but for collections.
View ArticleFormatting xml with powershell
Ever had to work with an xml file where the xml was minified to one line? Fear not, only two powershell commands are needed to fix it.
View ArticleCombining all files in folder with ps
This is a simple way I found to combine all textfiles in a folder into a single file using powershell.
View ArticleEntity framework pitfalls, include
While EF is not as fast as plain sql it's actually quite fast nowdays but there are a few pitfalls to be aware of. This time: Include()
View ArticleEfutilities, bulk insert and update
With EFUtilities 1.0.0 released it's time to tell the world about the features. This time we will look at getting data into SQL Server fast.
View ArticleCannot drop database with ef
If you have done testing with Entity Framework you might have come across "Cannot drop database XX because it is currently in use.", EFUtilities can solve that for you.
View Article