Blog

Interop in .NET nanoFramework

José Simões

Have you ever faced the situation of needing to add support for a specific hardware? Or to perform some computing intensive task that would be more efficiently executed in C/C++ rather than with managed C# code?

This is possible with the support that .NET nanoFramework has to plug “code extensions”. It’s called Interop.

What exactly does this? Allows you to add C/C++ code (any code, really!) along with the correspondent C# API.
The C/C++ code of the Interop library is added to an nanoFramework image along with the rest of the nanoCLR.
As for the C# API: that one is compiled into a nice .NET nanoFramework library that you can reference in Visual Studio, just like you usually do.

The fact that this is treated as an extension of the core is intended and, in fact, very positive and convenient. A couple of reasons:

  • Doesn’t require any changes in the main…

View original post 3,071 more words

Setup Visual Studio to access preview versions feed

If you are one of those developers that like to have access to the shiny and newer versions of the components you use, this post is for you. It also applies if you are testing a PR for one of the class libraries or one of the experimental develop branches. A bit of background information … Continue reading Setup Visual Studio to access preview versions feed

Debugging a visual studio extension

Although it has got easier over the years, debugging Visual Studio extensions is generally thought of as a dark art, this blog post is aimed at those people who wish get started. Specifically it is aimed at debugging the nanoFramework Visual Studio extension which will help us (with the aid of all willing volunteers) to … Continue reading Debugging a visual studio extension

One small ‘step’ for a debugger, one giant leap for the embedded world!!

Today the nanoFramework project hit a major milestone: we’ve released a new version of our Visual Studio extension. What's so special about that I hear you ask... Well it is the first one with the capability of debugging managed code! Many will think that this is not a big feat, but it is. It has … Continue reading One small ‘step’ for a debugger, one giant leap for the embedded world!!

The name’s Framework, nanoFramework

You're probably thinking: "what the heck is nanoFramework?" Our vision for it is to be a platform that enables the writing of managed code applications for constrained embedded devices. Developers can harness a familiar IDE such as Visual Studio and their .NET (C#) knowledge to quickly write applications without having to worry about the low level hardware intricacies of a … Continue reading The name’s Framework, nanoFramework