C# all the way down to the microcontroller.
.NET nanoFramework™ makes it easy to write C# code for embedded systems. Use the tools and skills you already have – Visual Studio, NuGet, real debugging – on constrained devices from many silicon vendors.
dotnet tool install -g nanoffusing System.Device.Gpio;
using System.Threading;
var gpio = new GpioController();
var led = gpio.OpenPin(2, PinMode.Output);
while (true)
{
led.Toggle();
Thread.Sleep(500); // that's it. blinky.
}- NuGet downloads
- 30M+
- sensor & display libraries
- 100+
- licensed, free for commercial use
- MIT
- member project
- .NET Foundation
Why .NET nanoFramework
Embedded development that feels like the rest of your .NET work.
Your C# skills, unchanged
APIs aligned with .NET IoT. Generics, familiar namespaces and NuGet packages – no new language to learn.
Real debugging on real hardware
Breakpoints, stepping and watches on the device, from Visual Studio or VS Code. No printf archaeology.
Connected by default
Wi-Fi, Ethernet and AT modems, TLS 1.3, MQTT, and SDKs for Azure and AWS.
Open, community-driven
Built in the open on GitHub by contributors, partners and silicon vendors. Successor to .NET Micro Framework.
Get started
From unboxing to blinking in three steps.
Grab a supported board, a USB cable and ten minutes. The full walkthrough lives in the docs.
Read the getting-started guideInstall the extension
For Visual Studio or VS Code, from the Marketplace.
Flash the firmware
nanoff installs the right image for your board.
nanoff --target <YOUR_TARGET> --serialport COM3 --updateDeploy and debug
Create a project from the template, press F5, set a breakpoint. You're doing embedded.
Hardware
Runs on the chips you already use.
Reference targets are built, tested and published by the core team on every release. Flash one with nanoff and you're running.
- EspressifESP32 familyWi-Fi and Bluetooth SoCs.ESP32S2S3C3C5C6C61H2P4
- Raspberry PiPico & Pico 2RP2040 and RP2350, with and without wireless.RP2040RP2040_WRP2350RP2350_W
- STMicroelectronicsSTM32Nucleo, Discovery and IoT kits.F091RCF429IF769IL475EAZ3166
- NXPi.MX RT1060Crossover MCU evaluation kit.MIMXRT1060_EVK
- OrgPalPalThree & PalXIndustrial IoT boards.PALTHREEPALX
- Silicon LabsGiant GeckoEFM32 GG11 starter kit.SL_STK3701A
- Texas InstrumentsSimpleLinkSub-GHz and Wi-Fi LaunchPads.CC1352R1CC3220SF
- CommunityYour board hereMany more boards live in community targets, and adding your own is documented.Community targets →
In production
Shipping in oil fields, solar plants and factories.
Sponsor the project
.NET nanoFramework is free. Keeping it that way isn't.
The project is built by volunteers and funded entirely by sponsors. Your support pays for build and test infrastructure, hardware for the test lab, documentation and learning materials. If .NET nanoFramework is part of your product, please help keep it healthy.
Both go straight to the project. On Open Collective every contribution and expense is public. Building a product on .NET nanoFramework? Talk to us about partnering.
Current sponsors – thank you
Community
Come build with us.
Questions, show-and-tell, or your first pull request – the team and community hang out on Discord and GitHub.
Contribute
Code, docs, samples or a blog post – everything on this site is Markdown in a GitHub repo, so it's all one pull request away.


