.NET nanoFramework Blog

Custom attributes with constructor

Yes, you read that correctly! nanoFramework just got support for these. You can now have custom attributes with a constructor and access the value on the constructor. Let's see some code to illustrate this. Consider these two classes defining attributes. public class AuthorAttribute : Attribute { private readonly string _author; public string Author => _author; … Continue reading Custom attributes with constructor

New preview feeds for nanoFramework!

Until now nanoFramework has been using MyGet as its NuGet feed provider to host preview and test packages. MyGet is a decent provider but only offers 100MB storage on their free trier. Actually they offer 2GB to OSS projects (which is great) and for which we’ve applied, but it turns out that setting up the … Continue reading New preview feeds for nanoFramework!

Oil tank telemetry with nanoFramework

The first commercial products with the “nanoFramework inside” label (a shameless copy of the old Intel® logo) are out in the wild! Literally.They were built to perform in a demanding industry and deployment scenarios: oil fields! These devices have been developed and built by OrgPal, a leading remote-monitoring manufacturer and solution provider for the oil … Continue reading Oil tank telemetry with nanoFramework

NuGet, assembly and native versions

nanoFramework C# class libraries are distributed as NuGet packages to be consumed by projects. This has been like this since day one. NuGet packages are practical, easy to distribute, easy to consume, easy to update. But they had a …minor… problem. Actually, make that two… 😉 One was that the dependency between the managed assembly … Continue reading NuGet, assembly and native versions