So we have seen the need to use Xamarin. So lets get started. This article covers installation in Visual Studio on a Windows device
Read the rest of entry »
OK so you have been creating Windows apps for ages including UWP. You have developed apps that run on the Windows desktop and the phone. You understand the rudiments of developing a modern UI app MVM etc. You understand PEM, properties events and methods for classes and GUI elements. You understand database CRUD can attach a database to an app using formal database invocation methods. You might even have mastered the Entity Framework and/or have a deep understanding of ORM. Overall, in coding terms, when confronted with a new programming context you know what you want to do and how you do with UWP or Windows Forms; you just need to do it in the new context. Xamarin Forms, bring it on!
In this article I discuss two ways to the refer a UWP app to an Entity Framework Model Class Library, which appears to not be possible through the normal method of adding references between projects in Visual Studio.
Occasional PC video failures may be due to system overheating and may be rectified by added robust exhaust fans. An assumption that it was the power supply, which had previously resolved the matter, wasn’t the cause for my most recent errant PC condition. Note that if swapping over power supplies, only use the power cables supplied with the new supply. Otherwise you can fry hard drives! Also covered is how to simply get system uptime and a recommendation for PC Health (CPU temperatures, fans etc) is given.
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.
Solved: How to use one line per item in a UWP XAML ListView
I lost the ability to set the device Target so can’t download a UWP app to a Windows Phone or IoT-Core device.
In App Project Debug Settings I got an error:
An error occurred trying to load the page.
Exception from HRESULT: 0x89721500
The previous post outlined in an XAML UI using a ListView how to display a List of instances of a class of public properties using data binding. Layout and padding issues were examined as well as binding to a dictionary of objects. This article covers programmatically adding elements of a collection to an XAML UI.