It's not very often, but there are times when a stored procedure just works a little better than LINQ. Complexity for developers can be decreased while performance can be dramatically increased for users. In those very rare cases, it may make sense to return more than one result set from a stored procedure. This post will show you how to . . .
Oh, what a day... what a lovely day!
I am excited about ASP.NET 5, and so are many of my team members. As excited as I am, I am just as concerned about the new landscape on the horizon. The biggest question isn't wether Microsoft and the ASP.NET team will deliver, but whether the Open Source (OSS) ecosystem will.
The majority of packages on Nuget.org are written for the full . . .
I cam across an interesting problem where I needed to find the second lowest item in a list. You may think this is a simple problem with a simple solution:
Sort the list in ascending order, and take the second item from the list. Done! (Mic Drop)
The knee-jerk solution described above would work for a list of unique items, but not for a . . .
When the Affordable Care Act was signed into law by President Obama, the U.S. government set aside financial incentives for families that qualified for help. In the Ritter Insurance Marketing quote engine, we help consumers determine if they qualify for help, and how much they could potentially save. None of this information is secret, as it . . .
This week has been a busy one for the team and I. Our API is in the public and has been executing some complex LINQ queries. After a data update we started seeing this issue, which may be familiar to any Entity Framework user.
The cast to value type 'System.Int32' failed because the materialized value is null. Either the result . . .
Model Binding A Dictionary Is Easy :)
When building line of business applications, requests for saving dynamic key/value pairs are inevitable. The "best" way to store dynamic data is in a
Dictionary, the mother of all flexible data structures. This post will show you the minimum required to post a dictionary to your ASP.NET MVC action so you can meet your business . . .
In a previous post, I described how to use the MapQuest API and retrieve a user's current address via a reverse lookup. Almost immediately afterwards, MapQuest changed the terms of their API and now they are looking to implement a token based authorization system to prevent abuse. I thought:
Why not implement my own reverse lookup? How . . .