Tag Archives: Code

Tweet your Strava runs with distance in Kilometers

These tweets show the result of fixing the Strava IFTTT service with a webhook. The hook calculates the meters to Kilometers distance. All you’ll need is an IFTTT and Azure account. TLDR Setup webhooks in IFTTT and tweet on the … Continue reading

Posted in Tooling | Tagged , , , , | Leave a comment

TFS Build light with jQuery

We use TFS for our builds. These include release builds, continuous integration builds and regression test build. We want to have a simple build light to keep an eye on the status of all definitions. This is why we use … Continue reading

Posted in Development, Tooling | Tagged , , , , | Leave a comment

Toastr

Toastr is one of those GUI items everybody is familiar with. It is the standard in feedback on webpages. Adding this to your solution is almost mandatory. Continue reading

Posted in Development, Tooling | Tagged , , | Leave a comment

Common.Logging

Image courtesy of Ales Krivec / unsplash.com https://www.nuget.org/packages/Common.Logging/ Common.logging provides an abstraction for the logging framework of choice. For IoC the common.logging offers an interface. NoOpLogger is a fake implementation used for unit testing. I prefer to use the nuget from log4net with … Continue reading

Posted in Development, Tooling | Tagged , , , , , | Leave a comment

AutoMapper

Image courtesy of Mike Enerio / unsplash.com https://www.nuget.org/packages/AutoMapper/ Mapping two objects using convention and coded/configurerd mappings. This comes in handy when moving through the layers of a solution (data > business > viewmodel) Every property with the same name is automatically mapper … Continue reading

Posted in Development, Tooling | Tagged , , , | Leave a comment

Unity

Image courtesy of Tim Gouw / unsplash.com https://www.nuget.org/packages/Unity/ Dependency Inversion is one of the SOLID principles. An IoC container is a must for me when developing. Unity is my goto framework for the last year. I prefer Unity for it’s lifetime control options. Do … Continue reading

Posted in Development, Tooling | Tagged , , , | Leave a comment

EF query optimisation

We have a view that is very slow when you don’t use a filter on the name field. Everywhere in our stored procedures and (sub)queries we have this applied. In our web applicatie we use Entity Framework. The business layer … Continue reading

Posted in Development | Tagged , , , | Leave a comment