Meadow b4.0.1, easier Nugets, reliable deploy.
Hey there, we’ve got some tasty news for you Meadow fans. 🙂
Meadow b4.0.1 is out!
We’ve got a fresh new beta release that focuses on stability and ease of use, and along with it some major improvements:
- Expanded set of Meadow Base Class Libraries. Meadow is now shipping with a complete set of BCLs. This means you can now access libraries such as System.Numerics, System.Transactions and System.Text.Json. This not only greatly extends the .NET API surface available to Meadow, but it also means that 3rd library compatibility is drastically improved now that Meadow includes many common dependency libraries.
- Nugets are easier to consume. – When you add a Nuget package to your project, the Meadow Visual Studio extension will now automatically resolve and include any necessary base class library (BCL) dlls. So for instance, when you add System.Text.Json, the extension will pull in the required dlls that it needs from our Meadow.Assemblies Nuget package and make sure they get deployed to the board. No more “Can’t find [x].dll” messages.
- Deployment is much more reliable. – We also did a bunch of work on the extensions to integrate with the Meadow.CLI better. As a result, deployment is now not only more reliable, but we’ve reduced the random disconnects that were happening after an app was deployed, and VS was listening for application output.
- Flashing from VS for Windows works again. – We fixed our previous bug in Visual Studio for Windows that prevented Meadow.OS from being flashed correctly. A number of customers were seeing an “unspecified network error,” after upgrading to b4.0, so we had to disable the automatic Meadow.OS upload and required manual flashing to upgrade. No more! Now you can easily upgrade Meadow.OS from Visual Studio again. Note that Mac users still have to flash manually, as that feature isn’t currently possible in VS4Mac.
Use Meadow with an ASP.NET Core Web API to monitor climate.
Check out this awesome remote climate monitoring project you can build with a hack kit!
The project comes with an ASP.NET Core Web API application that you can run and send and receive data via a RESTful interface using JSON. In it, we show how to do end to end server communications and use System.Text.Json and System.Json for JSON serialization and deserialization.
Check out the source code here.
Thats all for this update!