Screenshot_10_26_14__7_52_pm_large

Khalid Abuhakmeh

Software Developer and All Around Nice Guy @AquaBirdConsult

Create WebAPI UrlHelper Anywhere with StructureMap

The flailing of a WebAPI noob

We are currently in the process of writing a new API using WebAPI. We are also writing a documentation framework called Descriptor. This library allows any developer to describe a chunk of code using a fluent interface, and then later take those descriptions and run them through a formatter. This is to help generate a helpful home endpoint . . .

Read More

March 24, 2015

Disabling Mac OS X Dashboard

The dumbest feature of Yosemite

The widgets dashboard has to be the dumbest feature of Mac OS X. I use the magic mouse and gesture between virtual desktops, and swiping right one too many times leaves me staring at this useless and dated mess of widgets.

Silvrback blog image

To disable this feature, perform the following directions:

  1. Open up System Preferences...
  2. Click Mission Control
  3. Select Off . . .

Read More

March 20, 2015

Using An ExpressionVisitor To Inspect A C# Expression

I was working with Justin Rusbatch today on a really awesome piece of code to be seen in a later blog post, but we ran into an interesting problem. We needed to know whether an IQueryable was already ordered or if it was not. After going through many iterations, Justin found the gem known as an ExpressionVisitor.

This class is designed to be . . .

Read More

March 19, 2015

The Thin Line Between Constructive and Negative Criticism

I would describe my personality as a "half-glass empty dreamer". What the heck is that? It means not being content with what has already been done, and constantly pushing myself and others to be better. During that push to be better, a lot of criticism is thrown around. I criticize code, actions, process, behavior, and anything else . . .

Read More

March 10, 2015

Null Reference When Initializing A C# Object

The training wheels come off, and we fall down

I was helping another developer today, and we noticed something strange happening. We were initializing an object, and it was throwing a null reference exception right off the bat.

using System;using System.Collections.Generic;public class Program{ public static void Main() { var example = new TestClass { Name = "Khalid Abuhakmeh",  . . .

Read More

March 09, 2015

New Silvrback Blog Post With Alfred Workflow

For the Mac users, sorry PC

I write a significant amount and it can be time consuming, so anything I can do to reduce "time to post" helps. I am also a big fan of Alfred, a launcher for Mac users. So decided to create a workflow for getting to a new post.

Alfred

The workflow uses the "blog" keyword to open up the articles page on your Silvrback account via . . .

Read More

March 06, 2015

Using FluentValidation With WebAPI and Dependency Injection

I've always been a huge proponent of FluentValidation and will continue to be. I don't rarely make technology choices before starting a project, but this library has become so automatic that I don't even flinch to add it. So we started a new WebAPI project, and I wanted to use FluentValidation as the foundation of all validation . . .

Read More

March 03, 2015

Archive

All Categories: c#(1) home