Quantcast
Channel: Mikael Eliasson
Browsing all 35 articles
Browse latest View live
↧

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 Article


Drying 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 Article


A reusable datareader

Usually writing simple select statements against the database involves a lot of cermony. I'll show how this can refactored here.

View Article

Linq 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 Article

The great optimization, part 1

I'll describe how I fixed an insanely slow algorithm. In this part I'll cover the analysis phase.

View Article


Vscommands 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 Article

Fluentsecurity 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 Article

Speaking 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 Article


Introducing 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 Article


String.split for collections

Here is an C# implementation of a split method that works like string.Split() but for collections.

View Article

Formatting 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 Article

Combining 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 Article

Entity 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 Article


Efutilities, 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 Article

Cannot 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

Browsing all 35 articles
Browse latest View live