Data Modeling for Scale with Cassandra

Reads and the perils of index tables. I frequently see index tables in Cassandra being used to allow a One Source Of Truth. It’s important to remember when designing a truly distributed system relational algebra really doesn’t scale, and in … Continue reading 

Posted in Cassandra | 1 Comment

AutoMapper 3.2.0 released

Full release notes on the GitHub site Big features/improvements: LINQ queryable extensions greatly improved ICollection supported MaxDepth supported Custom MapFrom expressions supported (including aggregations) Inherited mapping configuration applied Windows Universal Apps supported Fixed NuGet package to not have DLL in … Continue reading 

Posted in AutoMapper | 17 Comments

Working hard and enjoying every minute of it.

I have not blogged in almost a year, I am a total slacker. But, I really want to share what I have been doing and what my team and I have learned, so in the coming months, I will be … Continue reading 

Posted in .Net | 8 Comments

Heartbleed Hotel: The biggest Internet f*ckup of all time

The heartbleed bug is the single biggest f*ckup in the history of the Internet. For anyone that doubts the veracity of this claim let me state the plain and simple facts: Since December of 2011 any individual with an Internet … Continue reading 

Posted in heartbleed, internet, web | Tagged | 13 Comments

Using AutoMapper to perform LINQ aggregations

In the last post I showed how AutoMapper and its LINQ projection can prevent SELECT N+1 problems and other lazy loading problems. That was pretty cool, but wait, there’s more! What about complex aggregation? LINQ can support all sorts of … Continue reading 

Posted in AutoMapper, Entity Framework, NHibernate | 8 Comments

Using Git subtrees to split a repository

We are in a position where we needed to create a new back-end server for an application. The current application is on a MEAN stack (Mongodb, Expressjs, Angularjs, Node.js), but a new client wants the backend to be deployed onto … Continue reading 

Posted in Uncategorized | 6 Comments

Using AutoMapper to prevent SELECT N+1 problems

Back in my post about efficient querying with AutoMapper, LINQ and future queries, one piece I glossed over was how View Models and LINQ projection can prevent SELECT N+1 problems. In the original controller action, I had code like this: … Continue reading 

Posted in AutoMapper, Entity Framework, NHibernate | 13 Comments

Leaving LosTechies

You may (or may not) have noticed that I haven’t posted here in a few weeks. There’s a reason for that… an era is coming to an end. It’s time for me to move on from LosTechies – a community … Continue reading 

Posted in Uncategorized | 7 Comments

Frontend & Backend: Gotta Keep’em Separated

I used to start my web applications by throwing all of my code into one big project.  So I’d have html, css, javascript and all the backend code together in one monolithic directory. Now, I take a different, smarter approach. … Continue reading 

Posted in backend, frontend, web applications | Tagged , | 11 Comments

Successful IoC container usage

Every now and again I here the meme of IoC containers being bad, they lead to bad developer practices, they’re too complicated and on and on. IoC containers – like any sharp tool – can be easily abused. Dependency injection, … Continue reading 

Posted in Dependency Injection, OO | 25 Comments