Twitter

Love this #ted story: "How I became part sea urchin | Catherine Mohr" https://t.co/hkSxukVkIC https://t.co/hkSxukVkIC

2 months ago

Follow

Yesterday I found an interesting sorting problem to work on. The solution involved a SortedDictionary and an ICompa… https://t.co/4x4nfqcFhm

2 months ago

Follow

Hallo @staatsbosbeheer, er ligt hier een koe met een gaatje. Wellicht goed om even polshoogte te nemen. https://t.co/NrmcaXyiuR

3 months ago

Follow

Hi @TheShufflehound, thanks for the beautiful Gillion and Jevelin themes! They are most useful. Are you still developing new themes?

3 months ago

Follow

Categories

TypeScript

Strongly Typed Events 0.3.0 – now with Signals

Turns out that I needed an even smaller type of event: the signal. It is an event that has no data; it just fires. The Strongly Typed Events project started with the IEvent event that was styled after .Net. Then the ISimpleEvent was added in 0.2.0, for scenarios when no sender is necessary. Now I’ve added the ISignal to version 0.3.0.

.NET

Offline Google Authentication for MVC.Net

A while back I wanted to create an ASP.Net MVC client for Google Fit that charted my weight. It turned out that offline Google authentication wasn’t as straight forward as one would hope. This article will explain how it works using Google Fit as an example. The code is applicable to the whole Google API. In this example only one authorization is stored and used across multiple accounts.

.NET, Front

Getting your weight from Google Fit with C#

I think Google Fit is a wonderful platform. It connects multiple devices and apps to give you insight into your fitness. I connected a Withing Smart Body Analyzer scale to the system. What I’m missing is a simple min / max weight per day graph. This blog describes how to get the weight data out of Google Fit into your C# application. You can use your own chart solution to plot a graph.

.NET

Simple Database-less Authentication for MVC.Net

There are many projects that are way too small to setup an ASP.Net membership configuration or OWIN authentication. But you still want to protect your applications by one or more accounts. What to do?

Well… there is a small – but obsolete (!!) – thing that you can try: ASP.Net Forms Authentication. While it is obsolete, it is still usable. In this article I’ll show how to implement it for MVC.Net.

.NET

Rasterizing EMF files with .Net / C#

I can almost hear you think: “Why on earth would anyone use EMF?” Well… I don’t… but MS Office does! Thumbnails that are saved in MS Word documents are in the EMF format. As I struggled to do something with one, I realized that I had to convert it first to a more “easy to handle” format: PNG. Easier said than done.

.NET

A BlockHasher helper class

There are a few instances in which you’ll need to hash a combination of data. You might resort to creating one big string and hashing that. It has a clear disadvantage from a memory and processing point of few. It might even be impractical when files or streams are involved. That’s why I created a BlockHasher utility class that helps to generate these types of hashes.

Loading