Category: C#

Introducing the .NET wrapper for the Sage One Accounting API

Introducing the .NET wrapper for the Sage One Accounting API

A while back my accountant convinced me to move our accounting package to Sage One Online. Not only am I very happy with the change, I’m also intrigued with their API, which enables developers to integrate with Sage One and perform a wide range of tasks . As a result […]

Create your own Visual Studio extensions with SideWaffle & TemplateBuilder

Create your own Visual Studio extensions with SideWaffle & TemplateBuilder

The SideWaffle Template pack for Visual Studio is great, but did you know you can also create your own template packs using the TemplateBuilder nuget package? In this post I’ll guide you through a step-by-step guide on how you can create your own Visual Studio extensions. It’s not that hard, […]

Office 365 – Share Outlook contacts with Lync Online contextual conversations

Office 365 – Share Outlook contacts with Lync Online contextual conversations

At first glance Microsoft Lync can, to most people, look like just another instant messaging application. However, upon closer inspection it can mean so much more for organizations especially if they start to integrate it into their current day-to-day business systems. For example, if you’re an insurance firm running a […]

Reading PDF files with C#

Reading PDF files with C#

Recently I needed to grab some text values from a number of pdf files. Instead of having to manually open each and every pdf file I just knew there had to be an easier way. After a quick search, I found the solution; iTextSharp, an open source C# library that […]

Null Response From Web Service

Null Response From Web Service

I’m currently working on a pretty big project where we have to consume  a number of web services. These service was written in Java and the guys who wrote them use soapUI in order to test. Personally, I like soapUI. It is a very powerful tool to test your web […]

Handy for the IT toolbox

Handy for the IT toolbox

I was looking for a good pluralisation algorithm. Found a very nice C# class that does a stand-up job. The few words I tried out, were pluralized perfectly: Address => Addresses Wolf => Wolves Entity => Entities Update: A better way to do this would be to use Humanizer

Date and Time Functions in C#

Date and Time Functions in C#

A few nice date formats in C# http://www.daniweb.com/code/snippet184.html DateTime CurrTime = DateTime.Now; Console.WriteLine("DateTime display listing specifier and result:n"); Console.WriteLine("d = {0:d}", CurrTime ); // Short date mm/dd/yyyy Console.WriteLine("D = {0:D}", CurrTime ); // Long date day, month dd, yyyy Console.WriteLine("f = {0:f}", CurrTime ); // Full date/short time day, month […]

Locus Effects

Locus Effects

A while ago I stumbled on a very interesting article by Yuval Naveh on CodeProject about Locus Effects Locus– Latin for "the place." So our Locus is the place where our conscious/mind is set. It is the state of our mind. The Locus can change if an external event alarms […]