Encrypting a web.config file

1. Publish your web application to IIS

Eager and Lazy Loading in Entity Framework

If you have a customer entity that looks like this…

Calculating Distances in CSS

I was originally planning this week to write a short introduction to Entity Framework, when I saw that I had received a seventh upvote on my answer to this Stack Overflow question.

Aggregate Explained

For my money, LINQ is in itself a reason to program in C#. It saves time, reduces the amount of code needed to perform a given task, and is simple to debug. A function I really like is Aggregate. That said, I admit that it took a while for me to adopt it into my coding repertoire because its name doesn’t do a very good job at describing what it does or how to use it.