Some notes on adding and removing migrations in Entity Framework core.
EF Code First approach (Create class/es first)
Entity Framework, in Code First Manner, can auto-generate the scaffolding for accessing a database from an app from an app’s model class. In a previous blog I covered some issues wrt using Entity Framework Core with a Universal Windows (Platform) app with a Sqlite backend database. The entities are specified as classes in in a .Net Core class project separate to the app project (within the same solution). The issue addressed in that blog was a problem referencing the class library from the UWP project. This blog revisits the same topic with an emphasis upon the steps required to implement an EF Core backed UWP app.
Issue: Can pair a Windows 10 device with an Arduino device and communicate over RFCOMM. But although can pair two Windows 10 devices over Bluetooth Serial, I can’t serially transmit between them: No serial port for OutGoing end.
As part of a series of articles on a set of projects targeted at using a Windows Surface device as the presentation layer for a RPI or Arduino device, this article views the apps as state machines and documents the app states coupling through message passing between them.
Turn your old Surface into into a large touchpad:
Have you got an old RT Surface 1 or 2 gathering dust and don't know what to do with it?
- Create a UWP app to run on a Surface (ARM or x86), or any touchscreen Windows laptop. Could even recycle an Windows Mobile (8.1/10) phone.
- Uses rounded boxes a touch keys.
- Can remotely act as the UI for an app running on any system that supports Serial, Bluetooth(serial) or has network connectivity. Azure IoT Hub is also envisaged as a communication medium.
The Windows 10 UWP app CleanupVS is now in The Store. Its a free app for cleaning up Visual Studio workspaces by recursively deleting bin and obj folders from Visual Studio project folders. This article covers some of the code techniques used in he app.
Including, quick folder count, app metadata, using the Feedback Hub and populating a RichTextbox.
As I discussed in a previous blog article, the Raspberry PI3 Bluetooth driver for Windows 10-IoT-Core becomes errant and misses updates when the update rate is high. This is a known issue with the RPI. This problem does not exist other Windows 10 systems including the Dragonboard running IOT-Core. This article again discusses the problem and presents a workaround that does work. Includes how to disable/enable a driver using devcon.
Despite its detractors, Microsoft has of late has embraced OpenSource with a vengeance. Much code is now available on GitHub under the Microsoft moniker for developers to tweak, extend, debug and contribute. opensource.microsoft.com is the central location for it.
The last leg, of 8, of the world Build tour was held in Sydney this week. What can I say .. it was great. A lot of new and coming Creators features were covered, Insight into the latest Windows technologies was dished out. Here are some of the highlights and summary links.