Dot Net Solutions
George V Place,
4 Thames Avenue
Windsor
Berkshire
SL4 1QP
Great Britain
0845 402 1752
GEO: -0.606174, 51.4843
 
 
 
 
09 Sep 2010

Socket Connect - a word of warning

This is the third in a series of articles describing the issues we have encountered when using Sockets in the .Net Micro Framework and highlights quite an acute problem. Symptoms You are attempting to connect to a remote endpoint over TCP. Your code looks not too dissimilar to this: public void SendData(IPAddress address, int port) { IPEndPoint endpoint = new IPEndPoint(address, port); using (var socket = new Socket(AddressFamily.InterNetwork , Socket ... [Read more]
Published: 09 Sep 2010  02:38 | 1  Comment | 0  Links to this post
 
 
 
 
06 Sep 2010

Socket Timing Problems

In a previous blog post I described the Linger error that we were running into from time to time and how you can mitigate against this by setting the ‘Linger’ option on the socket. This was the first of several issues we identified when working with Sockets in the .Net Micro Framework 3.0. The next challenge we faced was to do with intermittent performance problems when communicating over HTTPS. Example: The Socket Client Demo We had noticed that the time it took for our application to com ... [Read more]
Published: 06 Sep 2010  02:09 | 0  Comments | 0  Links to this post
 
 
 
 
02 Sep 2010

Linger error

One of the more significant challenges that we have faced during our last project presented itself to us about halfway through the project timeline. Our .Net Micro Framework application regularly sends messages to remote endpoints out on the internet over HTTPS/TCP. In isolation a single HTTPS request using the .Net Micro Framework was a pain free operation (even if there is no HTTPS stack out of the box). However, the problem was that after an indeterminate period of time our application wou ... [Read more]
Published: 02 Sep 2010  11:07 | 1  Comment | 0  Links to this post
 
 
 
 
31 Aug 2010

Introducing the Meta Data Processor

This article was written from my experiences of working with version 3 of the .Net Micro Framework. Version 4 is now out and promises much – to the best of my knowledge this article is still relevant, but is as yet untested. The Problem: So you’ve been working on the .Net Micro Framework for a while. Recently you’ve added a couple of new classes to your project, implemented some new functionality and now it doesn’t compile. Your code has no syntax errors yet when you attempt to compile you ... [Read more]
Published: 31 Aug 2010  02:18 | 0  Comments | 0  Links to this post
 
 
 
 
18 Aug 2010

Unit Testing the .NET Micro Framework

The .NET Micro Framework enables devices to be developed using the same managed C# language and Visual Studio tools we use for all our other projects. More details about the .NET Micro Framework can be found on the Microsoft site. At Dot Net Solutions, we have a strong belief in Agile development and XP programming. So when we started to develop for the .NET Micro Framework, we immediately looked for its support for unit testing. However, we discovered that there was no support available. No ... [Read more]
Published: 18 Aug 2010  09:46 | 2  Comments | 0  Links to this post
 
 
 
 
17 Aug 2010

.NET Micro Framework Case Study

Here at Dot Net Solutions, we have been working on a project using the .NET Micro Framework for the past year. The .NET Micro Framework enables devices to be developed using the same managed C# language and Visual Studio tools we use for all our other projects. More details about the .NET Micro Framework can be found on the Microsoft site. Much of the development and initial testing was done against the Tahoe II board from Device Solutions. However, the target hardware was somewhat different ... [Read more]
Published: 17 Aug 2010  10:26 | 0  Comments | 0  Links to this post