Speed Comparison: Dapper vs Entity Framework

by 

|

|  

in ,

A few months ago I ran across a blog post about getting started with Dapper.NET. I had heard of Dapper before but had never actually tried to use it. Dapper is known for being fast, but I was curious just how much faster it would be in the situations I typically find myself: writing database…

Read more…

Deploying Reports for SQL Server Reporting Services

by 

|

|  

in

This is the long-overdue follow up to our Developing Reports for SQL Server Reporting Services post. Today I’m going to cover how to deploy your reports to an instance of SSRS. Assumptions Here are some things to keep in mind before deploying your SSRS reports: The Reporting Services feature must be installed and set up…

Read more…

Sticky Sessions for Amazon’s Elastic Load Balancers

by 

|

|  

in ,

One of the great features of Amazon’s Elastic Load Balancers (ELB) – at least in my opinion – is the ability to establish sticky sessions (or session affinity). These allow clients to connect to specific instances in the load-balancer for the life of a session. In typical situations (when you don’t use sticky sessions), calls…

Read more…

Broadening My Horizons (or How I Moved Outside the Silo and Learned a New Development Methodology)

by 

|

|  

in ,

I’ve been writing software professionally for ten years. Primarily I’ve worked on the web, but I’ve written everything from line-of-business apps to SQL business reports to CMS-based websites. I’ve always worked in small shops with one to three developers. We’ve always been fairly siloed; each of us writing our own software that we were individually…

Read more…

TeamCity Builds with the Visual Studio 2012 Test Runner

by 

|

|  

in ,

Since we use private GitHub repositories for our code, we needed something to easily manage our builds. When we had a new project recently start up, we decided it was time to take the plunge with TeamCity. However, we found a problem with this: we use fakes for unit testing, something that requires the Visual…

Read more…

500,000 Reps and Counting

by 

|

|  

in

In March, the EliteForm team celebrated a major milestone: 500,000 reps tracked by our PowerTracker system. If you’re not familiar with EliteForm, it’s a company we launched in 2012 that provides coaches a way to create workout designs in a web-based application (StrengthPlanner) and publish them to touchscreen based units mounted on weight racks (PowerTracker)….

Read more…

JSON and .NET Decimals

by 

|

|  

in ,

I recently had a problem with my controller inconsistently picking up a decimal value in my model. Here’s what the Action looked like: [HttpPost] public ActionResult SaveItem(Item myItem) {…} For simplicity we’ll say this is what Item looked like: [DataContract] public class Item { [DataMember] public long Id { get; set; } [DataMember] public decimal…

Read more…

Debugging on the Web

by 

|

|  

in ,

When we develop for Windows, we use a debugger. So why does so much of our web development follow the code refresh ”Did it work?” progression? All modern web browsers have some sort of web development tools. These can be used to check your CSS, manually manipulate Document Object Model (DOM) elements, and even debug…

Read more…

Our Experience with Telerik Reporting

by 

|

|  

in

The Beehive team recently had the opportunity to improve the quality of its reporting. We came to the conclusion that our current implementation too slow, difficult to keep configured, and too difficult to maintain. Our original implementation used SQL Server Reporting Services (SSRS), which is a server-based solution from Microsoft. This choice made sense in…

Read more…

Exceptions: Exceptionally Slow

by 

|

|  

in

For almost everything you do, there’s always more than one way to skin a cat crack an egg, and coding is no exception. Ask 1000 programmers to write the same program and they will write it 1000 different ways. Sometimes this can get you in trouble and oftentimes experienced coders will see pitfalls before they…

Read more…