Recent blog entries

From the category archives: David Jones


Another GEM: Microsoft SQL Server Credentials for a Remote Web Service

It was simple enough to get access to a Microsoft  SQL Server from a Web Service when all were running on the same machine. You use Windows Authentication. But when the services are both running locally, with the user running a Windows 10 Universal app that calls the web service, they won’t be logged in an so the web service needs credential for the SQL service.

Read the rest of entry »

More GEMS: Kept getting Network Access Required in a Universal App–An hr or 2 later!

I’m creating a Windows 10 Universal Phone App that talks to a Web Service to post an entity (object) in Microsoft SQL Server running on the same machine as the Web Service. Initially did all including the app on my laptop using localhost as the network target. Solved the SQL Server credentials .. OK. But when I switch to using the laptop’s system name or its IP address (all still running on same machine) got Network Access Required error.

Read the rest of entry »

Little GEMS: XAML page not linked to its Codebehind Page .. Solution


In developing a Universal Windows app, when you add an existing XAML and its Codebehind page, they often end up unlinked in the Solution Explorer. This limits the ability to autogenrate event handlers in the codebehind page for UI elements.Spaso Lazarevic has a good solution that involves a little editing of the project file.

Read the rest of entry »

Win 10 IoT Core: Raspberry Pi 2 Peripherals – Serial (Update 3)

There are currently 2 reserved GPIO pins on the RPI2 that ordinarily are SOC (I call native) serial. A future Tx and Rx  but not at the moment. Serial is achieved on the RPI2 with Win 10 IoT Core via a USB-Serial device connected to a Host USB port on the RPI2. There are though limitations in that the widely used FTDI chipset is not supported by Microsoft, although we have a solution. An alternative is over Bluetooth but there is an issue there.

Read the rest of entry »

Win 10 IoT Core: FTDISimpleIoT Debug Trace for StartupTask

The following is the complete Debug output for running the Startup Task. Two versions are shown. One with Managed Code Debugging and one with Native Code Debugging. Mixed is not permitted. An exception is thrown when the FTManager is instantiated. This error is not trapped by a Managed Code (c#) try-catch

Read the rest of entry »

Win 10 IoT Core: SysInfo: A Windows Universal App (WebRest.js)

The Web Portal uses a number of JavaScript files that are embedded in it. The one listed here in full, WebRest.js, is used by a number of the API calls.

Read the rest of entry »

Win 10 IoT Core: SysInfo: A Windows Universal App to get system info (as per the web portal) Updated

A Universal Windows App that mimics the web portal to a Windows 10 IoT Core device. Makes use of the web portal through REST and uses JSON to process the response for display. Can get ipconfig, processes, installed app, default app, OS info etc… All in an app.

Read the rest of entry »

Win 10–Universal (UWP) App: Using JSON from a file to populate a menu

In my previous blog Windows 10 (including IoT) USB HID device identification was covered in detail. This included an app that takes the relevant IDs for an HID device and checks whether it is present on the system. Two of the IDs could be looked up via a menu as they come an HID Usage table. The menu data was loaded from a JSON (text) file and translated using Linq to a list that is the Xaml data source binding for the menu. This blog demonstrates the mechanism for loading JSON data from a text file into an Xaml ComboBox.

Read the rest of entry »

Win 10 IoT Core: Raspberry Pi 2 Peripherals – Connected Devices: USB HID Peripherals

Human Interface Devices (HID) are supported in the “headful/headed” (viz. headless) version of Windows 10 IoT. Anything that takes users input for an app is an HID device, and can include devices such as screens that provide feedback to the user. Traditional HID devices are the mouse and keyboard, whereas gaming devices such as joystick, XBox controller and steering wheel are also HID devices. A barcode scanner or credit scanner are also be HID devices, A system with just a few push buttons to control it has those pushbuttons as a trivial HID. Technically the HID protocol was developed as a protocol for the USB-HID class such that devices that conform to that class do not need a specific driver.

Read the rest of entry »

Win 10 IoT Core: Raspberry Pi 2 Peripherals - Connected Devices (Code)

This blog discusses a UWP (Universal) app that enumerates the drivers on a Windows 10 system (including IoT). Its like the Windows Device Manager app. Full source code is available.

Read the rest of entry »

Pages: Previous12NextReturn Top

David Jone's blog

Search blog



Turkish porno izle video site in rokettubeporno izle