Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

Browsing "Desktop Developer"

0

Web API 2 – don’t get caught with your parameters down

Hi, A quick post for anyone else who has been literally dying from a lack of sleep trying to workout something that should be fairly simple. Quick background:  I got interested in Web API after I decided to build a friend a simple booking website driven by HTML5, jquery and originally an ASP.NET/c# .NET 4 […]

Read More...
0

Windows 10, how I doth hateth thee mostest

How’s it going folks, thought I’d get another post written up before I switch over to video logs in the future (watch this space). So I don’t really need to do a big introduction to Windows 10, there was a lot of buzz going about the internet not least due in part to the upgrade […]

Read More...
3

Threadsafe Incrementing in C#

Recently I’ve had the opportunity to review a number of different parallel C# methods that were performing work over a collection of items. Nearly all of them have used ++ to increment parent or global variables from inside threaded contexts. Unfortunately the ++ operator is not guaranteed to be threadsafe in C#. So let’s take […]

Read More...
2

Boost your datatransport with XML, VB 11 and denormalisation techniques !

Xml, as we all know, has a drawback, being the potential growth in size, characteristical to the format , especially when dealing with complex types and collections of complex types. Let’s take a look at a classic example, taken from Wikipedia.

&lt…

Read More...
0

Real World Azure – Queue PopReceiptMismatch Bug

This week I’m starting a new series on “Real World Azure”. These are stories or issues I have run into while working with Azure in the “Real World”. Today we’re looking at a bug in the Azure API for Queue Services that appears to have been around for at…

Read More...
4

Intellisense for custom XML in Visual Studio

This is one of those things that I only need once every several months and always forget how to do. Working with custom XML in Visual Studio is a whole lot easier with intellisense. Schema errors are highlighted, enumerated values are displayed, and the amount of typing goes from full tag names to just a few characters followed by tab to complete.

Read More...
4

Why you should not add formats to Microsoft Access tables

Access Version: All

One of the problems with MS Access is that it allows you to do a lot of things that you really should not do, for example adding formats to tables. Here is why adding formats to tables is a bad idea.

1. Create a table

This t…

Read More...
4

Azure Worker Role – Exiting Safely

The basic Azure Worker Role consists of a run method, an endless loop, and a sleep statement. Earlier this week, Magnus Martensson walked through implementing a more sophisticated wait object than the generic Thread.Sleep call. Which reminded me of a problem inherent in the basic Microsoft template.

Every exit is a crash.

Read More...
2

Testing the Not-So-Testable HttpWebResponse

Recently I was working on a library to consume a REST API without exposing any of the specifics to the rest of the application. Implementing a common interface and set of custom exceptions was easy enough, but exercising the internal logic was going to be tough.

Read More...
2

Converting a .Net Console Project to an Azure Worker Role Project

So lets say you’re building a worker role for Azure, but started it out as a Console app for faster local debugging. It comes time to deploy it to Azure for the first time, but there’s no option to convert a Console application to a Worker Role project.…

Read More...
Next Page »