Screenshot_10_26_14__7_52_pm_large

Khalid Abuhakmeh

What's The Deal With Nullables and Lambdas?

Fixing a bug within RimDev.Filter

At Ritter Insurance Marketing, we developed a nice simple library around filtering enumerables called RimDev.Filter. It works great for our APIs.

On Friday, we ran into an interesting case with nullables. The following code would throw an exception.

private class Person
{
 public decimal? Rating { get; set; }
} . . .

Read More

June 14, 2015

ASP.NET Web API Easier ModelBinder Registration

In our current API work, we use a few custom types. We also let our clients send in comma delimited arrays of primitive types. To support our choices, we need to utilize WebAPI's IModelBinder interface. Our previous registration code looked like this.

var provider = new SimpleModelBinderProvider(
typeof(string[]), new  . . .

Read More

June 10, 2015

NuGet.org Migration Suggestion

A friendly response to "Nuget.org server status"

If you are NuGet.org user, you may have recently noticed stability being an issue. NuGet is crucial to .NET development and we collectively lose our minds when it isn't available. In a recent post, the NuGet team shed some light on the issues:

For the last few weeks we have experienced a few hours of downtime a few times a . . .

Read More

June 09, 2015

Basic ASP.NET MVC Application Flow

Follow The Yellow Brick Road

I've been using ASP.NET MVC since its early beta, and it has taken me years to perfect my application flow. If you are new to building ASP.NET MVC applications, or any MVC based web applications then this post is designed just for you. Hopefully, I can jump start your understanding and make your development experience smooth.

The . . .

Read More

June 07, 2015

Using SecureString in C# For Sensitive Information

It has been a week long adventure with the Security Assertion Markup Language, better known as SAML. Part of the SAML specification asks that any producer of a SAML response needs to sign it with a X509 certificate. This insures the authenticity of the response and allows the response to be verified at its ultimate destination. Most signing . . .

Read More

May 30, 2015

Using JsonConverters To Get the JSON Output You Want From WebAPI

JSON.NET Magic Goodness

In a previous post, I mentioned our filtering library aptly titled RimDev.Filter. It allows developers to filter any IEnumerable collection using an object comprised of sets and ranges. It is quite magical while being easy to understand. At the same time, we have adopted the practice of echoing the request back to the caller in our responses, . . .

Read More

May 22, 2015

Democracy Vs. Dictatorship

No one's happy

If I've learned one thing over the last year of my directorship, it is that everyone will me when I am "doing it wrong". A point of criticism that I've heard from a few team members is the democratic style of decision making has slowed us down, and potentially hurts us in the long run. The counter style of leading, is I . . .

Read More

May 21, 2015

Archive

All Categories: c#(2) elasticsearch(2) oss(1) home