Click here to Skip to main content
15,888,454 members
Articles / Operating Systems / Windows

A Leap In Embedded Programming; .NET Micro Framework

Rate me:
Please Sign up or sign in to vote.
3.20/5 (3 votes)
10 Jan 2011CPOL3 min read 14.9K   2   3
A Leap In Embedded Programming; .NET Micro Framework

Introduction

We .NET programmers are definitely proud that .NET is everywhere. Today, .NET is everywhere from controlling satellites to controlling bicycles. You heard it right, my fellow employee Colin Miller has already developed an application using .NET micro framework which reads every data from a bicycle through Cloud. So what's interesting? Right from the device and sensors fit in the bicycle to the Azure and the end user application runs on .NET and this is something we should be proud of. Through this article, we will discuss more about the same application and how .NET micro framework can make the wildest dreams of any programmer come true.

.NET Micro Framework

Well if you are still wondering what is this framework and if it sounds Greek to you, then you are advised to visit the home page http://www.microsoft.com/netmf/ and as you might be wondering how this could be. I would love to stress a point that micro framework can run on as small as 64K of RAM. There are already more than 1.5 million devices running on this framework. So next time before you operate your washing machine or may be even when you sneak and steal the remote from your wife to change the soap channel to sports channel, you could suspect if it runs on .NET Micro Framework.

Bicycle Computer

As I have mentioned earlier, Colin Miller (Product Manager, .NET Micro Framework, Microsoft) is the proud developer of this project. The interesting part is that he mentions that he hasn't programmed for his daily life since 20 years and if you assume that Colin Miller is from an embedded background who can make wonders with programming embedded devices, then I am sorry to say that you are wrong. Colin Miller is no embedded programmer and what he has developed is with his .NET knowledge.

© Bicycle Computer Application Overview - Jebarson

Hard to believe that this is an embedded program? If you are still suspecting, yeah it's true .NET Micro Framework can make use of DPWS (Devices Profile for Web Services) to connect with any application using SOAP over HTTP and I am pleased to announce that this is compatible with WCF. You can use WsHttpBinding or custom binding for communication.

Colin Miller has taken advantage of Azure services for the uploading of sensor / device data from the Bicycle through SOAP. Once the data is available over Azure, as we have extensively discussing about Azure on this blog, it can be used anywhere platform independent. For more information on this project, I would recommend you visit the below links:

Embedded Programmer

If you are impressed or carrying a dream of becoming an embedded programmer, there cannot be a better opportunity. There are definitely a lot of books available for you to suit your skills and one of the suggested books is "Expert .NET Micro Framework". Microsoft has a dedicated portal for Micro framework http://www.netmf.com/ where you can get all the resources about the framework and programming. A community development is also available where a developer can join and develop a product and showcase his. Forum for discussion on the problems you face and help on any development is available where the experts will help you. Also, you can buy hardware and software development kits ready-made to enhance your skills and learn more.

Stop Dreaming

My advice? Stop dreaming and start developing. Be it a simple lamp switch or a flying Iron Man, you can make your dream possible using .NET.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Microsoft Corporation
India India
I work for Microsoft on MS technologies for application development. My interests include .net, WCF, Azure, Windows Phone, ASP.net, SL, WCF, WPF and many more.

You can visit my site at http://www.jebarson.info

Follow me on twitter @jebarson007

Comments and Discussions

 
GeneralMy vote of 1 Pin
mbyamukama1-Apr-11 16:28
mbyamukama1-Apr-11 16:28 
QuestionMore meat, please Pin
Johann Gerell30-Jan-11 21:33
Johann Gerell30-Jan-11 21:33 
I'm really interested in this, but I miss more content in this article. What you've provided is what I assemble in 2 minutes with Google. Perhaps you could provide a simple sample with code and explain what it is that sets the .NET MF different from .NET and .NET CF?
Time you enjoy wasting is not wasted time - Bertrand Russel

AnswerRe: More meat, please Pin
jebarson30-Jan-11 21:46
jebarson30-Jan-11 21:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.