DjzBlog
- H o M e
- LATEST POST
-
Soft-ata : A Simple Firmata with .NET December 02, 2023 19:09 David Jones MVP web firmata arduino csharp An Arduino app LIKE Firmata for RPI Pico W running Arduino. Includes a .NET package so that you can write your own client in C#. Console app included with Blazor and MAUI apps coming soon.
More ... -
Blazor : Add PWA to a WebApplication November 06, 2023 13:52 David Jones MVP web blazor pwa blazor-webapplication Morph a Blazor WA into a PWA version when PWA is not selected when creating the project.
More ... -
GPS : What3Words Mapping - 2 November 05, 2023 23:27 David Jones MVP web w3w gps csharp console The previous post covered using What3Words unique tri-words for any location worldwide. Some apps were presented that implemented an API for getting the three words for any GPS location. The API has now been extended to do a reverse look up. The repository for this has thus been extended.
More ... -
GPS : What3Words Mapping - 1 October 19, 2023 16:09 David Jones MVP web w3w gps csharp console W3W is a mechanism where 3 words uniquely define a square 3mx3m (10’x10’) world-wide. A Console app that takes the GPS coordinates and generates tri-word as well as a URL using them that when pasted into a browser, shows the location on a map.
More ... -
GPS : IOT Hub Mapping App October 17, 2023 13:30 David Jones MVP web gps nmea A previous post, RPI-Pico-Arduino-AzSDK: Bluetooth and GPS and its related GitHub repository encompasses GPS processing on a RPi Pico from basic reception through to sending location information to an Azure IoT Hub. The project presented here encompasses that location Telemetry as well as Blazor app to track the location on a map.
More ... -
Blazor Server Development : Viewing on a phone October 16, 2023 22:35 David Jones MVP web blazor ngrok When running a Blazor (server) app when developing, it is a simple matter to run it on the development machine. But what about accessing it locally on another device such as a phone. ngrok can facilitate that.
More ... -
Wilderness Labs : About Project Lab V3 October 13, 2023 14:56 David Jones MVP med csharp dotnet meadow code appdev iot Wilderness Labs Project Lab 3 is an embedded board based upon the Meadow F7 Core Compute module. It comes with .Net installed and numerous onboard sensors etc, including a 2.8” 320x240 pixel TFT LCD display with 65k colors as well as 4 (direction) buttons.
More ... -
Jekyll : New post and Clone PS scripts September 11, 2023 22:48 David Jones MVP web jekyll powershell Some Powershell scripts for creating a new Jekyll blog post and for adding an additional post in a series of posts using the previous post’s Front Matter using the same Title but requiring a new Subtitle.
More ... -
Aged Care Independent Living : MPU6050 Fall Detection App September 09, 2023 10:50 David Jones MVP aged arduino rpi pico iot-hub c sdk-for-c-arduino aged-care An Arduino sketch to detect a fall based pitch and roll tilt calculations using the MPU6050 accelerometer.
More ... -
GPS : NMEA 101 August 23, 2023 11:17 David Jones MVP web gps nmea An introduction to receiving and interpreting NMEA GPS messages, including one possible “gotcha”.
More ... -
RPI-Pico-Arduino-AzSDK : Bluetooth and GPS Update August 16, 2023 11:21 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino gps bluetooth As discussed in previous blog posts here, there is a 3rd party Arduino Board Support Package for The Raspberry Pi Pico W. A port of the Azure SDK for C Arduino for the RPi Pico with that BSP was also implemented and discussed here. The Pico W has built-in WiFi and Bluetooth capabilities although Bluetooth wasn’t implemented in the original BSP.
More ... -
Jekyll : Rendering on a Mobile Part 2 July 30, 2023 20:17 David Jones MVP web jekyll html strings Console app that parses previous blog post files translating MarkDown image constructs to use the image.html include file.
More ... -
Jekyll : Twitter Card Image Caching July 17, 2023 00:16 David Jones MVP web jekyll twitter devops When regenerating a Twitter Card for a blog post because of image changes, there is an issue with the caching of images used by the card at the Twitter end.
More ... -
Azure DevOps : Notifications July 16, 2023 13:47 David Jones MVP web jekyll When a Jekyll site is committed to Azure Dev Ops, getting email notifications after it is built and deployed.
More ... -
Jekyll : Display Liquid code in a Post July 12, 2023 15:50 David Jones MVP web jekyll Liquid Jekyll code gets evaluated before a page gets rendered. That means that any such code between Markdown code indicators gets evaluated before rendering. Discussion here is about overcoming that.
More ... -
Jekyll : Rendering on a Mobile Part 1 July 08, 2023 23:05 David Jones MVP web jekyll,html With Jekyll Liquid, the rendered text screen width on a phone is inversely determined by the width of the largest image on the page. That is, the wider the widest image on the page, the smaller is the relative width of normal text on the page. This can be managed by controlling the width of images on the page, but a more generic approach is needed.
More ... -
Club Record Certificate : Part 5 ... Edge V Chrome June 02, 2023 19:53 David Jones MVP web blazor code jekyll html linq grouping entity-framework grouping derived-class reflection sport-certificate-generation The app is a Blazor app and the certificate layout is therefore specified by razor page. A print dialog is used to save the certificate page, hosted in a web browser, as a PDF. There are some slight differences in the print dialogs between 2 main web browsers used in Windows, Microsoft Edge and Google Chrome. The app has been updated to detect one or the other and provide slightly different instructions depending upon the browser.
More ... -
Entity Framework : Duplicate Record Linq Queries May 21, 2023 10:45 David Jones MVP web code jekyll html linq entity-framework sqlsvr Some ancillary Linq queries to get duplicate record claims (same claim entered more than once) and to identify records where one is an update to another.
More ... -
Club Record Certificate : Part 4 ... A Derived Class May 15, 2023 19:53 David Jones MVP web blazor code jekyll html linq grouping entity-framework grouping derived-class reflection sport-certificate-generation In the previous post, grouped data was merged into one record with the generation of a CSV list of of the property values on which merged the records differ. A Derived Class was used for the view that adds a string property that is that CSV list. The question is how to generate the instance of the derived class when you have the instance of the base class and the value of the additional property.
More ... -
Club Record Certificate : Part 3 ... The Alternative Certificate Page May 14, 2023 19:53 David Jones MVP web blazor code jekyll html linq grouping entity-framework grouping sport-certificate-generation More on grouping. As per the previous post, display data in a table a a formatted Blazor page such that it can be saved as a PDF file for printing as certificate. Merge grouped records into one though.
More ... -
Club Record Certificate : Part 2 ... The Main Certificate Page May 13, 2023 19:53 David Jones MVP web blazor code jekyll html linq grouping entity-framework grouping linq sport-certificate-generation More on grouping. Display data in a table a a formatted Blazor page such that it can be saved as a PDF file for printing thus generating a certificate of season records for a club athlete.
More ... -
Club Record Certificate : Part 1 ... Athlete Selection May 12, 2023 19:53 David Jones MVP web blazor code jekyll html linq grouping entity-framework linq sport-certificate-generation From a list of club records create a unique list of athletes that have a record. Display athletes in a clickable list so as to select that one athlete such that a certificate can be generated on subsequent pages This displays all records in the original list for that athlete.
More ... -
Nuget updates : With errors such as NU1605 and NU1301 April 21, 2023 03:26 David Jones MVP coding nuget What to do when have many interdependent Nuget package updates to do but update fails when you initiate bulk update in VS Nuget Package Manager UI.
More ... -
Entity Framework Group Summing : 4 - Stored Procedures Part B April 18, 2023 10:45 David Jones MVP web code jekyll html linq grouping entity-framework sqlsvr stored-procedures How to: Calling a Parameterized Microsoft Sql Server Database Stored Procedure from a C# Entity Framework app where the result is a collection.
More ... -
Entity Framework Group Summing : 3 - Stored Procedures Part A April 18, 2023 10:45 David Jones MVP web code jekyll html linq grouping entity-framework sqlsvr stored-procedures How to: Calling a Microsoft Sql Server Database Stored Procedure from a C# Entity Framework app where the result is a scalar or string type.
More ... -
Entity Framework Group Summing : 2 - ExecuteRawSql April 11, 2023 10:45 David Jones MVP web code jekyll html linq grouping entity-framework sqlsvr The task here is to to count the number of times a helper has volunteered to do an activity over a season of athletics meets. In the previous post on this topic, in an Entity Framework context from a Blazor app, consideration was given to using raw Sql queries directly on the database to select activitys over a range of meeting dates grouped on helpers and counted thus for each helper. The previous solution ended up processing the query in Linq after returning all entity values from the Activitys table joined to Helpers table. The database direct solution here uses databasecontext.database..ExcuteRawSql().
More ... -
Entity Framework Group Summing : 1 - Use Linq April 07, 2023 10:45 David Jones MVP web code jekyll html linq grouping entity-framework sqlsvr Been at it again trying this way then that, Doing more searches trying to find something that fits. Eventually did get something that fits the bill. Needed a database grouping computation. Could always assemble the data in an app and then do Linq to make the query. Can it be done more directly at the database?
More ... -
Aged Care Independent Living : Introduction March 29, 2023 10:50 David Jones MVP aged arduino rpi pico iot-hub c sdk-for-c-arduino aged-care A RPi Pico W would make an excellent base for an age care personal alarm pendant.
More ... -
Jekyll : Blog Site Updates - Grouping Query March 23, 2023 17:23 David Jones MVP web jekyll html Linq and SQL Queries can generate quite complex data queries. But you have to dot the Is and cross the Ts before they will work. When is it conceptually simpler (and quicker) to just do a manual search with a couple of for loops?
More ... -
RPI-Pico-Arduino-AzSDK : A Bridge too far ... March 13, 2023 10:50 David Jones MVP ardpico arduino rpi pico iot-hub c sdk-for-c-arduino The RPi Pico W uses WiFi to connect to the internet. Can the code be modified to use a wired NIC such as with an Arduino Uno with an Internet Shield or similar? Nah ….
More ... -
Monkeys on a typewriter coding March 06, 2023 10:45 David Jones MVP coding code Faced with some sample code that doesn’t compile, what do you do? Call for help or tinker with it. Help might be slow on a weekend, or never come. Drilling into the code code can provide a more timely fix.
More ... -
RPI-Pico-Arduino-AzSDK : Addendum February 24, 2023 10:50 David Jones MVP ardpico arduino rpi pico iot-hub c sdk-for-c-arduino Two more samples. The BME280 enviromental sensor has been implemented as an option both in basic mode (telemetry only) and separately in the full mode (telemetry, messages, methods and twins). This latter version has modualised the telemetry components such that it is a simple matter to modify it for other sensors.
More ... -
RPI-Pico-Arduino-AzSDK : The Src Lib February 24, 2023 10:50 David Jones MVP ardpico arduino rpi pico iot-hub c sdk-for-c-arduino Much of this additional functionality has been hived off into a separate directory under the sketch folder. This has also been copied as top level folder of the repository which could eventually become a compiled Arduino library.
More ... -
RPI-Pico-Arduino-AzSDK : Device Twin Prop PATCH February 23, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino Azure SDK for C Arduino ESP2866 sample comes with Telemetry and Cloud to Device Messaging. It does not include Device Twins so lets implement Patch updates.
More ... -
RPI-Pico-Arduino-AzSDK : GET Device Twin Doc February 22, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino Azure SDK for C Arduino ESP2866 sample comes with Telemetry and Cloud to Device Messaging. It does not include Device Twins so lets implement requesting the Device Twin document by the device.
More ... -
RPI-Pico-Arduino-AzSDK : Direct Methods February 21, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino Azure SDK for C Arduino ESP2866 sample comes with Telemetry and Cloud to Device Me3ssaging. It does not include Direct Methods so lets implement that making deeper use of the SDK.
More ... -
RPI-Pico-Arduino-AzSDK : CD Mesages February 20, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino Azure SDK for C Arduino ESP2866 sample comes with Cloud to Device Me3ssaging. Lets expand upon that..
More ... -
RPI-Pico-Arduino-AzSDK : About SDK Implementation February 19, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino A bit or “reverse engineering” aka hacking … Whilst other samples in the Azure SDK for C Arduino implemnted more complex features of the Azure Embedded SDK for C, the ESP2866 sample only implemented basic Telemetry and basic CD Messaging. Therefore the basic port of that sample to the RPi Pico W was similarly limited. Lets expand upon this.
More ... -
RPI-Pico-Arduino-AzSDK : Tools February 18, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino With an IoT Device sending Telemetry to an IoT Hub there are tools that can monitor the system and message it. Also apps can be used to so do.
More ... -
Jekyll : Blog Site Updates February 17, 2023 17:23 David Jones MVP web jekyll html As previously discussed in detail, this site is created as a Jekyll site, with content being submitted to an Azure DevOps repository where it is built and released as Static website, the content of which is stored in an Azure Blob storage. Time for a few small updates.
More ... -
RPI-Pico-Arduino-AzSDK : Telemetry February 17, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino The Azure SDK for C Arduino ESP2866 sample and consequently the port here of that to the RPi Pico w contains a basic Telemetry sample where the payload is just an incremented count and is formed by “manual” creation of the payload json string. Telemtry here has been formalised with the help of the ArduinoJson library. Telemetry properties are also presented here.
More ... -
RPI-Pico-Arduino-AzSDK : The Repository with Extended Features. February 16, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino The Azure IoT Hub Arduino Raspberry Pi Pico with Telemetry repository has expanded upon the functionality of the original ESP2866 Azure SDK for C Arduino sample with the RPi Pico w adding actual sensors for Telemetry sources as well as Direct Methods and Device Twins.
More ... -
RPI-Pico-Arduino-AzSDK : Azure SDK for C Arduino Setup February 15, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino The Pico W BSP for Arduino is available is a repository on GitHub. Alternatively, porting the BSP from the ESP8266 is a simple matter.
More ... -
RPI-Pico-Arduino-AzSDK : Pico W Setup with Arduino February 14, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino Installation of the Arduino Board Support Package on a Pico W including WiFi …
More ... -
RPI-Pico-Arduino-AzSDK : Get Connection Strings ... Scripts February 13, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino A PowerScript (as a function) for generating the IoT Hub Connection Strings as environment variables.
More ... -
RPI-Pico-Arduino-AzSDK : IoT Hub Connection Strings February 12, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino There are a variety of Connection Strings with an IoT Hub for connections between it an dhe device and for related apps. You need the right one for any given context. There is inbuilt security with them so not to be bandu=ied about. This hub has been deleted. How to get the connection strings.
More ... -
RPI-Pico-Arduino-AzSDK : Create an IoT Hub and Device February 11, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino For the Azure IoT SDK C Arduino, an IOT Hub and an “attached” Device are required. There are a number of ways to create them ….
More ... -
RPI-Pico-Arduino-AzSDK : Musings February 10, 2023 10:50 David Jones MVP ardpico arduino rpi pico iot-hub c sdk-for-c-arduino Arduino devices whether Uno or other are a simple way to sensor telemetry data.
More ... -
RPI-Pico-Arduino-AzSDK : Context February 09, 2023 10:50 David Jones MVP ardpico arduino pi pico iot-hub c sdk-for-c-arduino Implementation of the Azure SDK for C Arduino on a RPi Pico W including Telemetry and CD Messages and extended to include Direct Methods and Twinning …
More ... -
Blazor Helpers Server App : Dynamic CSS July 14, 2022 16:18 David Jones MVP blazor blazor css csharp blazor-server Setting style through CSS is the preferred way to set web componnets’ appearnce and layout. It is a simple manner to change style using razor variables.
More ... -
Blazor Helpers Server App : Reverse Reverse Engineering with Entity Framework July 13, 2022 17:31 David Jones MVP blazor blazor entity-framework csharp blazor-server reflection With Entity Framework, you can either use Code-First or Database-First but never the twain shall meet … A work around is presented here.
More ... -
Blazor Helpers Server App : .NET 6 and Telerik V3 Controls Upgrades July 03, 2022 21:06 David Jones MVP blazor blazor entity-framework csharp blazor-server telerik As per the previous post, a Blazor Server app was upgraded to .NET 6 from 6). Telerik Blazor controls were also upgraded to version 3 for 2. This post discuss the upgrades.
More ... -
Blazor Helpers Server App : Version 2 - Club Records July 01, 2022 21:48 David Jones MVP blazor blazor entity-framework csharp blazor-server telerik A discussion functional additions to the Helpers Blazor Server app._
More ... -
Jekyll : Layouts as a Template April 16, 2022 23:17 David Jones MVP web jekyll layout frontmatter template data Using a high level Layout as a template that makes use of FronmtMatter metadata of a post for layed out content in the template.
More ... -
Grove Beginners kit : Arduino Lesson 2 Press Button April 03, 2022 18:23 David Jones MVP ardgrove arduino grove This extends the previous lesson by adding a button to control the LED’s state.
More ... -
Grove Beginners kit : Arduino Lesson 1b Download program to board April 02, 2022 18:23 David Jones MVP ardgrove arduino grove How to download a program from CodeCraft UI to the Grove Beginners Kit for Arduino.
More ... -
Grove Beginners kit : Arduino Lesson 1a Flashing LED April 01, 2022 18:23 David Jones MVP ardgrove arduino grove Using the Grove Beginner Kit for Arduino with CodeCraft to make an LED flash. Includes how-to “blocky-program” the code using CodeCraft.
More ... -
C# Async Threading in Console Apps March 30, 2022 04:49 David Jones MVP coding threading async csharp dotnet With a Console app that has async methods, it’s important to not have a situation where the app completes before these async threads complete. A sorry tail of what not to do!
More ... -
Google Home Windows Bridge : To Azure IoTHub March 24, 2022 17:23 David Jones MVP iot google triggercmd dotnet iot iothub azure And now for the Google Nest getting telemetry from an IoT Hub using a vocal request, and enunciating the result.
More ... -
Jekyll : Embed Videos March 23, 2022 12:21 David Jones MVP web video youtube jekyll Embedding a Youtube video in a Jekyll blog post rather than just linking to it: 2 Solutions. Also displaying raw Jekyll code on a page as well as redirecting from http to https.
More ... -
Google Home Windows Bridge : GPIO Hardware March 22, 2022 13:44 David Jones MVP iot google triggercmd dotnet iot nuget Circuits for DNETCoreGPIO on RPi
More ... -
Google Home Windows Bridge : Update on DNETCoreGPIO March 21, 2022 22:49 David Jones MVP iot google triggercmd dotnet iot nuget The DNETCoreGPIO repository has been further refined and extended with increased focus upon creating the app as a simple Console app that uses the package directly.
More ... -
Nuget Packages 101 : Including a README March 02, 2022 15:52 David Jones MVP coding dotnet nuget readme When you publish a Nuget package there are two ways to include a README file. You can author one on Nuget when uploaded or include one in the package. This covers the inclusion.
More ... -
Nuget Packages 101 : Packaging a Console App March 01, 2022 20:22 David Jones MVP coding dotnet nuget console A .NET Console app project can be easily modified to be a library that packages up its functionality so that it can be published on Nuget. It is then a simple matter to create a Console app, on any .NET platform, that uses the package and use the functionality there.
More ... -
Google Home Windows Bridge : An approach to Hardware February 27, 2022 18:27 David Jones MVP iot google triggercmd dotnet iot Controlling .NET hardware on a RPi using Google Home voice commands.
More ... -
Google Home Windows Bridge : Using Google Home February 27, 2022 16:46 David Jones MVP iot google triggercmd dotnet iot And now for something not quite completely different … With apologies to Monty Python. A bridge between Google Home and Azure IoT Hub! But first, get started with Google Home.
More ... -
Google Home Windows Bridge : TRIGGERcmd February 25, 2022 17:49 David Jones MVP iot google triggercmd dotnet iot json A bridge between Google Home and Windows Embedded devices and Azure IoTHub.
More ... -
Blazor Helpers App Twilio : Mobile Number Check February 24, 2022 15:07 David Jones MVP twilio blazor csharp blazor-server sms twilio mobilenumber Explicit verification of a mobile number before it is used to send SMS.
More ... -
Meltdown : A simple Markup language. January 07, 2022 20:37 David Jones MVP web markup markdown email blazor csharp Meltdown is a text markup parser that is meant as a simple alternative to Markup for novice users.
More ... -
Meltdown : Addendum Recoding for Version 2.1 December 18, 2021 14:22 David Jones MVP web markup markdown email blazor csharp Nothing new functionally here for Meltdown. This is an in depth discussion of the coding for version 2.1 of the Meltdown parser.
More ... -
Meltdown : Send Mail and Nuget Package December 01, 2021 16:58 David Jones MVP web markup markdown email blazor csharp nuget The focus of Meltdown is to make easy to add Markup capability to a C# web mail app. Meltdown now contains a method for sending email using System.Net.Mail and has been added as a page to the Blazor test app. Also, the Meltdown library has been packaged and published as a Nuget package.
More ... -
Meltdown : CS201 Exrecises November 30, 2021 17:14 David Jones MVP web markup markdown email blazor csharp A set of programming questions for a 201 level Computer Science Student that reflect the programming used in developing the Meltdown parser.
More ... -
Meltdown : Coding November 29, 2021 20:32 David Jones MVP web markup markdown email blazor csharp The previous posts on Meltdown, hopefully demonstrate that it is easy to generate an email message that only requires basic formatting, that is HTML formatted . Surely far simpler that writing the message directly using HTML tags and somewhat simpler for simple formatting than Markdown. That was the first “acid test”. But what about simplicity with coding of a Meltdown to HTML parser for a 201 level student ? The conclusion is that a Meltdown parser for most functionality is easy to code but some functionality is a little more complex when trying to “dot the Is and cross the Ts”.
More ... -
Meltdown : Blazor Test App November 27, 2021 17:16 David Jones MVP web markup markdown email blazor csharp A simple to code and use line based Markup language making much use of brackets within a line and with start of line monikers for whole of line impact: A test Blazor App. You can directly enter Meltdown text or try some samples. You see thge generated HTML and it rendered.
More ... -
Meltdown : Console Test App November 26, 2021 17:16 David Jones MVP web markup markdown email blazor csharp A simple to code and use line based Markup language making much use of brackets within a line and with start of line monikers for whole of line impact: A test console app that inputs some sample Meltdown text and shows the generated HTML code.
More ... -
Meltdown : Schema November 25, 2021 17:16 David Jones MVP web markup markdown email blazor csharp A simple to code and use line based Markup language making much use of brackets within a line and with start of line monikers for whole of line impact: The Meltdown Parse Schema.
More ... -
Meltdown : Intro - A Simple Markup Parser November 24, 2021 17:16 David Jones MVP web markup markdown email blazor csharp A simple to code and use line based Markup language making much use of brackets within a line and with start of line monikers for whole of line impact.
More ... -
Blazor-IoT : An Azure IoT Bridge via Blazor October 16, 2021 17:29 David Jones MVP iot iot iothub blazor rpi azure csharp arduino A Blazor app that acts as a go-between an IoT Device and Azure IoT Hub. Blazor receives telemetry from a device over Http which it then forwards to teh IoT Hub. Commands can be forwarded back to the device from the hub via the Blazor app. There is also a command line app that can get telemetry over a serial port and forward this to Blazor. This has been implemented for Arduino devices that have no WiFi/Ethernet. The take-homes are tha the devices don’t need to store hub credentials nor implement the Azure IoT Device SDK, and simple devices don’t need networking to be able to submit telemetry.
More ... -
Grove Beginner Kit For Arduino : The Cloud August 20, 2021 19:01 David Jones MVP ardrpi arduino iothub azure And finally, sending telemetry to an Azure IoT Hub.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 10 - Sensing-movement August 19, 2021 23:01 David Jones MVP ardrpi arduino Reading and responding to the triaxial accelerometer. THIS LESSON DOES NOT WORK AS THE CODECRAFT 3 AXIS SENSOR COMPONENT IS NOT THE ONE IN THE BEGINNERS KIT.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 9 - Measuring Surrounding Air Pressure August 19, 2021 19:01 David Jones MVP ardrpi arduino Read the temperature and air pressure sensor (BMP280). This page hasn’t been converted to Blocky style yet.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 8 - Detecting Surrounding Temperature & Humidity August 19, 2021 19:01 David Jones MVP ardrpi arduino Read the temperature-pressure sensor (DHT11). This page hasn’t been converted to Blocky style yet.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 7 - Displaying Data on an OLED August 19, 2021 19:01 David Jones MVP ardrpi arduino Use of the OLED display ad I2C. Includes the use of Arduino libraries.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 6 - Sound Sensitive LED Light August 19, 2021 19:01 David Jones MVP ardrpi arduino Determining the intensity of sound to turn an LED on/off. This page hasn’t been converted to Blocky style yet.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 5 - Light Intensity August 19, 2021 19:01 David Jones MVP ardrpi arduino Using an LDR sensor to determine the light intensity and turning the LED off/on depending upon the level.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 4 - Making the Buzzer go BEEP August 19, 2021 19:01 David Jones MVP ardrpi arduino Controlling the buzzer by sending an oscillating digital signal to it, like the flashing LED. The signal used for the (passive) buzzer is PWM.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 3 - Controlling the Frequency of the Blink August 19, 2021 19:01 David Jones MVP ardrpi arduino This lesson introduces Analog to Digital conversion. The LED flash rate is controlled by the Rotary Potentiometer.
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 2 - Pressing Button to light up LED August 19, 2021 19:01 David Jones MVP ardrpi arduino This extends the previous lesson by adding a button to control the LED’s state.
More ... -
Grove Beginner Kit For Arduino : Download program to board August 18, 2021 20:01 David Jones MVP ardrpi arduino How to download a program from CodeCraft UI to the Grove Beginners Kit for Arduino
More ... -
Grove Beginner Kit For Arduino : Codecraft Lesson 1 - Flashing LED August 18, 2021 19:01 David Jones MVP ardrpi arduino Using the Grove Beginner Kit for Arduino with CodeCraft to make an LED flash. Includes how-to “blocky-program” the lesson in CodeCraft..
More ... -
Grove Beginner Kit For Arduino : Setup August 17, 2021 10:01 David Jones MVP ardrpi arduino More informaton.
More ... -
Grove Beginner Kit For Arduino : The Hardware August 16, 2021 19:01 David Jones MVP ardrpi arduino About the Grove Beginners Kit for Arduino Hradware..
More ... -
Grove Beginner Kit For Arduino : Plug and play unboxing August 15, 2021 10:01 David Jones MVP ardrpi arduino About the demo app on the the Gove Beginners Kit that runs first time it is launched..
More ... -
Grove Beginner Kit For Arduino : Install Codecraft August 13, 2021 19:01 David Jones MVP ardrpi arduino You can use CodeCraft in a web browser or install the app locally. This page covers the installation.
More ... -
Grove Beginner Kit For Arduino : Codecraft Intro and Index August 13, 2021 10:01 David Jones MVP ardrpi arduino The Grove Beginner Kit For Arduino includes an Arduino Uno board with preconnected devices. The lessons supporting this present coding using the Arduino IDE. These pages present the same lessons using the Codecraft IDE that uses the Blocky style of coding with specific Grove Arduino blocks.
More ... -
Blazor Helpers App Members : 8. Search based upon BIB No. or Name August 10, 2021 17:20 David Jones MVP blazor blazor entity-framework csharp blazor-server telerik A page for finding a member’s name based upon their BIB No (registration number). Uses Telerik ComboBoxes. Is double ended in that can search also for BIB No using athlete’s name or part thereof.
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 10 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 10
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 9 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 9
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 8 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 8
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 7 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 7
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 6 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 6
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 5 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 5
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 4 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 4
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 3 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 3
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 2 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 2
More ... -
Redirect to Grove Beginners Kit for Arduino : Lesson 1 July 20, 2021 15:22 David Jones MVP aka aka Redirect to Grove Beginners Kit for Arduino Lesson 1
More ... -
Blazor Helpers App Members : 7. async EF calls from an Entity Property July 14, 2021 17:37 David Jones MVP blazor blazor entity-framework csharp blazor-server Updating a class property value is synchronous code and therefore any consequential async awaited calls can be an issue. The recommended workaround is to implement OnPropertyChanged event for the class. Alternatively you can use StateHasChanged() in Blazor code to get around, for example, making async Entity Framework calls in synchronous code.
More ... -
Blazor Helpers App Members : 6. A Recursive Entity Group Property - Team Leader June 30, 2021 23:21 David Jones MVP blazor blazor entity-framework csharp blazor-server Handling a Recursive entity property with Entity Framework Core.
More ... -
Blazor Helpers App Members : 5. Many to Many Entity Relationships June 10, 2021 20:25 David Jones MVP blazor blazor entity-framework csharp blazor-server With Code-First, to get Entity Framework to generate the scaffolding for when one entity requires a list of another, both entities require a list of the other as a property. When the new migration is added a secondary table that joins both is generated. This simplifies some of the explicit coding for group membership covered in some of the previous posts in this series.
More ... -
Blazor Helpers App Members : 4. Members Table - AddNewMember Code June 10, 2021 00:15 David Jones MVP blazor blazor entity-framework csharp blazor-server The complete code for the AddMemberviaCSV() method.
More ... -
Blazor Helpers App members : 3. Some Reflection with the Members Table June 09, 2021 20:44 David Jones MVP blazor blazor entity-framework csharp blazor-server Using Reflection when parsing a Csv file to generically write entity property values to a Members table in an Azure SQL database using Entity Framework Core.
More ... -
Blazor Helpers App Members : 2. Nuances with adding a Members Table June 09, 2021 20:43 David Jones MVP blazor blazor entity-framework csharp blazor-server Some issues that arose when adding a Members table to an existing Blazor app when the data is provided as a CSV file.
More ... -
Blazor Helpers App Members : 1. Overview of adding a Members Table June 09, 2021 20:42 David Jones MVP blazor blazor entity-framework csharp blazor-server The Helpers app, as previously covered in posts here, has been extended to include a Members table. This includes uploading new members from a Csv file as well as for updating existing members, using Entity Framework Core.
More ... -
Jekyll : Redirect http to https May 19, 2021 15:48 David Jones MVP web jekyll html links redirect htaccess javascript Simple redirect of http URLS to https in Jekyll/Markdown using Javascript code.
More ... -
Azure Static Web Apps : General Availability May 12 2021 May 13, 2021 23:02 David Jones MVP web web azure-static-webapp azure-functions Azure Static Web Apps can now be deployed to Azure in production ready mode as Az SWA have gone GA. There is still a Free plan but now there is the Standard pan which includes such things as BYO Functions, and SLA as well as other new options and increased limits.
More ... -
Azure Static Web App : A Simple Static Content App April 21, 2021 12:38 David Jones MVP web web blazor azure-static-webapp csharp The Azure Static Web App template with a bit of filtering, provides a quick-and-dirty way to get some fixed content up online on Azure using GitHub Actions. In this example, some signs at a sports ground were turned into Blazor pages by photographing them and including them on razor pages directly as images.
More ... -
An Azure Static Web App with EF : Posts in this series April 19, 2021 16:39 David Jones MVP web ef An index to the four posts about SWA and EF
More ... -
An Azure Static Web App with EF : 4. Cascade and SetNull Deletions April 18, 2021 16:27 David Jones MVP web web blazor azure-static-webapp csharp entity-framework-core cascade-delete Implements EF Cascade Delete for a required entity property and EF SetNull for an optional entity property.
More ... -
An Azure Static Web App with EF : 3. Entity Framework Core Implementation April 17, 2021 16:56 David Jones MVP web web blazor azure-static-webapp csharp entity-framework-core Code First Entity Framework core with full CRUD activity was used as the backend database in a C# Azure Function, with a Blazor WASM Web App. This replaced the use of LocalStorage as per a previous post which in turn replaced static app data.
More ... -
An Azure Static Web App with EF : 2. Index of the Repository April 16, 2021 18:34 David Jones MVP web web blazor azure-static-webapp csharp entity-framework-core An Azure Static Web App was developed by extending the tutorial on that topic to contain 3 editable entities mimicking a database with a view to extending to use EF with an Azure SQL database. Each milestone was noted as a separate branch of the repository. This post is an idex to those branches in chronological order.
More ... -
An Azure Static Web App with EF : 1. Multiple Entities and LocalStorage April 15, 2021 18:34 David Jones MVP web web blazor azure-static-webapp csharp entity-framework-core An Azure Static Web App was developed by extending the tutorial on that topic to contain 3 editable entities mimicking a database with a view to extending to use EF with an Azure SQL database.
More ... -
Blazor Helpers App : EF Core Tutorial March 14, 2021 23:13 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first A tutorial on using Entity Framework Core based upon the two sample Blazor apps previously presnted here.
More ... -
Blazor Helpers App : Two Sample Apps March 10, 2021 15:18 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first Whilst not making the app source code public, there are now two apps that demonstrate the Entity Framework Core functionality as used in the app. One a Blazor Server (only) and the other a port of that to a Blazor Wasm app.
More ... -
Blazor Helpers App Twilio : Onforwarding SMS February 14, 2021 18:56 David Jones MVP twilio blazor csharp blazor-server sms twilio Forwarding a deciphered Y/N response to Admin as an SMS message using Twilio.
More ... -
Blazor Helpers App Twilio : Receiving SMS February 14, 2021 18:55 David Jones MVP twilio blazor csharp blazor-server sms twilio Receiving confirmation replies for volunteered tasks via SMS using Twilio. Includes deciphering the response into a Yes or No.
More ... -
Blazor Helpers App Twilio : Sending SMS February 14, 2021 18:54 David Jones MVP twilio blazor csharp blazor-server sms twilio An outline of getting started with sending request for confirmation SMS messages from Blazor based upon a database of Helpers and self-assigned tasks using Twilio, including getting started.
More ... -
Blazor Helpers App Twilio : Setting up February 14, 2021 18:53 David Jones MVP twilio blazor csharp blazor-server sms twilio Getting started with Twilio for sending and receiving SMS messages..
More ... -
Blazor Helpers App Twilio : Discussion about using SMS February 13, 2021 18:14 David Jones MVP twilio blazor csharp blazor-server sms twilio Discussion about using SMS to request confirmations from volunteers using SMS in the Helpers app.
More ... -
Blazor Helpers App : More on Includes with Selections February 12, 2021 14:59 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first Another look at using .Includes when using Entity Framework to query a SQL Server database as part of a Blazor Server app..
More ... -
Azure Devops Jekyll Site : Ruby Version 3 issue February 11, 2021 17:28 David Jones MVP web jekyll web devops markdown disqus azure ruby Needed to set Ruby <3.0 to solve Build failure in Azure Devops Pipeline.
More ... -
Blazor Helpers App : Entity Update February 09, 2021 18:39 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first update Entity Update including the need, or not, to do an EntityStste update before SaveChanges().
More ... -
Blazor Helpers App : Cascade Delete February 08, 2021 01:24 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first cascade-delete Adding Entity Framework Deletion, including Cascade Delete to the Helpers App.
More ... -
Blazor Helpers App : Add Some Data February 04, 2021 12:02 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first Add some sample data to the Helper app from a compound Json string and display it in a razor page.
More ... -
Blazor Helpers App : EF Migrations and CRUD Operations January 31, 2021 16:56 David Jones MVP blazor blazor entity-framework csharp blazor-server code-first The previous two posts went into detail about getting a Code First database Entity Framework setup for a Blazor Server app in a transparent manner. Let’s now look at adding some CRUD functionality to app’s service.
More ... -
Blazor Helpers App : Entity Framework Summary January 30, 2021 17:38 David Jones MVP blazor blazor entity-framework csharp blazor-server A summary of the steps for setting up a database using Entity Framework Core via Code First
More ... -
Blazor Helpers App : An Entity Framework Primer January 30, 2021 13:23 David Jones MVP blazor blazor entity-framework csharp blazor-server A HowTo on setting up a Blazor Server App using Entity Framework Core to connect to an SQL Server Database using Code First.
More ... -
Blazor Helpers App : Entity Framework Basics January 29, 2021 11:54 David Jones MVP blazor blazor entity-framework csharp blazor-server Following on from the previous post, this post discusses Code First data access to a SQL Server Database in a Blazor Service app using Entity Framework Core.
More ... -
Blazor Helpers App : Overview of a Database oriented App January 27, 2021 16:59 David Jones MVP blazor blazor entity-framework csharp blazor-server An overview of a Blazor Server app for registering volunteers for tasks to assist assit officials at a track meet.
More ... -
Azure DevOps-Blob Storage Credentials December 16, 2020 14:05 David Jones MVP web jekyll web devops markdown disqus azure This blog covers the creditialing required when doing a Release from and Azure Devops pipeline after the Jekyll Blog Site has been built by the pipeline. An issue arose when the account used for Devops lost its subscription to Azure, but not Azure Devops.
More ... -
Azure Sphere : IoT Central Scripting Limitations December 11, 2020 02:38 David Jones MVP azsphere azsphere azure iot iotedge iothub iotcentral A comparison of the ability to script the setup of an Azure Sphere for direct IoT Hub-DPS interaction versus the IOT Central path. Can you get away with not using the IoT Central portal?
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on ... Arduino November 13, 2020 23:46 David Jones MVP blazor iot iothub blazor rpi azure csharp gpio bindings Posting telemetry data to an IoT Hub from an Arduino device via a Blazor Service
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on a RPi - A Wrap Up October 21, 2020 12:51 David Jones MVP blazor iot iothub blazor rpi azure csharp gpio bindings A final wrap up and conclusion to these posts on Blazor and dotnet/iot
More ... -
Publishing Blazor to Desktop IIS October 11, 2020 17:52 David Jones MVP blazor iis blazor dotnet csharp dotnetcore aspdotnetcore web publishing port Had some issues with publishing a Blazor app form Visual Studio to IIS on my desktop. Have now resolved that with a little help from other MVPs and searches.
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on a RPi - Some Hacks ... and a Solution. October 06, 2020 14:26 David Jones MVP iot iot iothub blazor rpi azure csharp gpio bindings Some attempts at getting around the inability of the Blazor Client app to directly interact with sensors.
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on a RPi - GPIO and Bindings App October 05, 2020 14:06 David Jones MVP iot iot iothub blazor rpi azure csharp gpio bindings A simple Blazor WASM apps that demonstrates what works and doesn’t work with dotnet/iot GPIO and Bindings.
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on a RPi - App for Monitoring an IoT Hub submissions October 04, 2020 14:35 David Jones MVP iot iot iothub blazor rpi azure csharp gpio bindings A Blazor WASM App for periodically monitoring messages sent to an Azure IoT Hub …
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on a RPi - A Simulated IoT Hub Device October 03, 2020 14:33 David Jones MVP iot iot iothub blazor rpi azure csharp gpio bindings A Blazor WASM App simulating sensors on the client…
More ... -
Blazor-IoT : Azure IoT Hub Interaction using Blazor on a RPi - Intro October 01, 2020 18:40 David Jones MVP iot iot iothub blazor rpi azure csharp A discussion about what you can and can’t do with a Blazor app running on a Raspberry Pi wrt interacting with Sensors on the Pi whilst sending the data to an Azure IoT Hub. Includes some exploration of attempts to get around limitations.
More ... -
Blazor : Web App for Logging Restaurant Attendance September 13, 2020 17:48 David Jones MVP blazor blazor aspnetcore dnetcore As a staged relaxation of COVID-19 restrictions, some governments allow restaurants and other public facing businesses to reopen with restrictions of the number in attendance at a time and with logging clients who attend. A Blazor web app has been developed to efficiently and simply facilitate the logging of patrons attendance at a restaurant using a QR Code attached to each table as the initiator of the logging.
More ... -
Blazor How To : And now for a Rap Up August 29, 2020 11:57 David Jones MVP blazor blazor wasm aspnetcore dnetcore csharp upload zipfile httpget httppost httpdelete Fifteen posts this month document how various functionalities such as downloads, uploads, image views, foldler browsing, using Spinnors as well as viewing Markdown content. This post is a rap up of these posts dissecting a Blazor WASM app as presented in the first post in this series…A Compendium of Blazor How To’s
More ... -
Blazor How To : Http Delete Server File Management August 28, 2020 15:09 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp httpdelete A bit of file management is required on the Server so as to be able to delete uploaded and on server generated zip files. This post covers selecting working folders to be cleared and actioning that.
More ... -
Blazor How To : Upload a Zip file. August 27, 2020 15:31 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp upload zipfile httppost Upload a zip file from the client desktop to the server and unzip it. The methodology can be used with any file whether text or binary. It resolves an issue with the method as posted elsewhere.
More ... -
Blazor How To : Zip file creation on Server and Download to Client August 26, 2020 14:54 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp download zipfile Zip up a specific sub folder of the Samples on the Server and Download it to the Client Desktop.
More ... -
Blazor How To : A Client Page for Viewing a Folder on the Server August 22, 2020 14:29 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp A Blazor Client Page for listing a Server Folder’s File Contents and for displaying some of them. There is also an option to zip up the folder and download it to the desktop.
More ... -
Blazor How To : A Client Control for Viewing Images August 22, 2020 14:17 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp This image display mechanism is encapsulted in a custom Blazor Client Component called Image. This post covers the code to get an image from the server and display it in the Component.
More ... -
Blazor How To : A Client Control for Viewing Markdown Content August 22, 2020 14:16 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp The Markdown display mechanism is encapsulated in a custom Blazor Client Component, ReadMe. This post covers the code to request a Markdown file from the server and to render the response.
More ... -
Blazor How To : A Client Text View Control including Copy and Downloads functions August 22, 2020 14:16 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp A Blazor Custom Client Control named ClipBoardComponent, for getting a text file from the server and displaying it. Includes buttons for copying that text to the Clipboard and for downloading it to the desktop as a file.
More ... -
More on creating this blog site August 21, 2020 17:31 David Jones MVP web jekyll web devops markdown disqus azure github This site is a customised Jekyll site using Mardown to author content. It is authored locally uses Azure Devops as a repository where it is built and from where it is publsihed published. It is hosted on Azure as a Blob Storage Static Website. I’ve just added another script to simplify content creation which addresses one of two issues.
More ... -
Blazor How To : WASM Http File Get - Server Response August 20, 2020 23:30 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp server httpget The Server response to a Client Http Get request for a Text, Markdown and Image files.
More ... -
Blazor How To : WASM Http File Get - Client Request August 20, 2020 22:30 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp Making parameterised Http Client Get requests to the Server for various Files types.
More ... -
Blazor How To : Folding Content August 20, 2020 03:44 David Jones MVP blazor blazorhowto aspnetcore dnetcore blazorcomponents csharp How to show and hide Blazor content. Its simple!
More ... -
Blazor : A Recursive Client Folde Component - 2 August 20, 2020 02:47 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp blazorcomponent The previous post described the functionality of Bazor Component called FolderTree for displaying folder information. This post covers the code for the component and a page that hosts it.
More ... -
Blazor : A Recursive Client Folder Component - 1 August 19, 2020 16:48 David Jones MVP blazor blazorhowto wasm aspnetcore dnetcore csharp blazorcomponent As covered in the previous post [A Generic App for displaying Sample Apps]](/blazor/Blazor-A_Generic_App_for_displaying_Sample_Apss-blazor.html), a folder of sample apps is recursive serached for project files on the server. This information is placed in a tree which also unfolds to a a list. This list is passed to the client which uses a Blazor Component to display that content in the tree format, recursively. This post discusses the recurse Component.
More ... -
Blazor : Scanning files on the Server August 19, 2020 15:24 David Jones MVP blazor blazorhowto aspnetcore dnetcore csharp The Blazor app discussed in a previous blog post A Generic App for displaying Sample Apps presents a tree view of sample apps in a repository as uploaded to the Service. This posts covers the recursive scanning of the samples on the Server. The next post covers the Client Blazor Component for displaying this information.
More ... -
Jekyll-Markdown : Embedding Animated Gifs August 19, 2020 13:29 David Jones MVP web jekyll markdown web gif animatedgif blogpost web blazor About capturing an animation as an Animated Gif and using in Markdown web context.
More ... -
Blazor How To : Spinners August 18, 2020 22:30 David Jones MVP blazor blazorhowto web blazor apsnetcore Using Spinners on a Blazor .razor page. Use of a Spinner library.
More ... -
Blazor : A Generic App for displaying Sample Apps August 18, 2020 14:46 David Jones MVP blazor blazorhowto dotnetcore aspnetcore csharp web samples This Blazor WASM app extends to previous functionality so that the samples hosted can be dynamically changed without republishing the app. Some cool Blazor functionality demonstrated.
More ... -
.NET Core : iot Repository July 31, 2020 22:56 David Jones MVP coding dotnet dotnetcore iot csharp I’ve forked the dotnet/iot respository, as djaus2/iot and upgraded the sample apps to .NET Core 3.1, leaving the 2 packages (GPIO and Bindings) and the device drivers at V2.1 for backwards compatibility. I have now done a Pull Request of this back to dotnet/iot.
More ... -
.NETCore : appsettings.json July 31, 2020 18:50 David Jones MVP coding dnetcore appsettings When you create a new Blazor project, you get an appsettings.json file in the structure to get the settings conatined therein at startup. How do you implement it for a .NET Core Console app?
More ... -
Blazor : SPA Template July 31, 2020 18:20 David Jones MVP coding blazor dotnetcore SPA means Single Page Application. In this context, taken literally, it beens that the Blazor app has only one razor page. Here is a way to use just one page but appears to have multiple pages through multiple paths and ASP.NET conditional coding.
More ... -
Blazor : A WASM app for presenting Sample Apps from an API Repository July 20, 2020 14:05 David Jones MVP blazor blazor wasm pwa dotnet dotnetcore iot In a repository such as dotnet/iot (on GitHub), rather than having to download the whole repository to get at the sample apps (or to copy and paste from web pages on GitHub) wouldn’t it be nicer to have a rich UI to present the samples in an interactive way such that when you find one you want, you can get all of project code just for that sample app. GetAnIOTSampleApp does just that for the dotnet/iot repository.
More ... -
Nuget Packages 101 : Creating and using a local Nuget Package July 19, 2020 20:15 David Jones MVP coding dotnet nuget dotnetcore A quick introduction for creating a Nuget package locally and using it directly with a .NET Core app.
More ... -
Blazor : On a Raspberry Pi June 30, 2020 23:29 David Jones MVP blazor blazor web dnetcore aspnetcore Blazor will run on a RPi! Can even create and build it there… And access GPIO. How about remotely accessing RPi’s GPIO via a Blazor WebAssembly App?
More ... -
Blazor : Some activities June 30, 2020 21:39 David Jones MVP blazor blazor web dnetcore aspnetcore A look at persistence of rendered content with the different variants of Blazor Apps.
More ... -
Blazor : More on App Options June 28, 2020 18:02 David Jones MVP blazor blazor web dnetcore aspnetcore My take on a succinct comparison of Blazor App options.
More ... -
Blazor How To : Server App with GPS June 27, 2020 18:37 David Jones MVP blazor blazor web dnetcore aspnetcore gps GPS capability was added to the Blazor Server app using AspNetMonsters.Blazor.Geolocation. Whilst there was a few issues as covered in an Issues post on GitHub, this post encompasses those issues. I have further improved that solutions covered in that post.
More ... -
Blazor : A Server only Web App June 23, 2020 20:42 David Jones MVP blazor blazor web dnetcore aspnetcore mssqlserver qrcode A light weight quick response Blazaor Server app for logging participants entry to a sporting facility for COVID-19 contact tracing. Uses a QR Code generated by the site to navigate users to the site.
More ... -
Blazor Gym Booking App : WebAssembly App - The Projects June 07, 2020 17:08 David Jones MVP blazor blazor web dnetcore aspnetcore Some outlines and code snippets of some of the concepts I learnt in my “learning curve” and some related Blazor code snippets.
More ... -
Blazor Gym Booking App : Musings - Data June 06, 2020 18:16 David Jones MVP blazor blazor web dnetcore aspnetcore An overview of how Bookings data was stored and retrieved in the app using a Sqlite Database.
More ... -
Blazor Gym Booking App : Musings - Getting Started plus Authentication June 05, 2020 23:08 David Jones MVP blazor blazor web dnetcore aspnetcore Issues considered and addressed in building the Blazor web app from scratch. A HowTo.
More ... -
Blazor Gym Booking App : A Booking App for post COVID-19 June 05, 2020 15:22 David Jones MVP blazor blazor covid-19 web dnetcore aspnetcore Developing a Blazor web app from scratch for managing Gym bookings that needs to limit the number of participants in the room at one time.
More ... -
PowerShell : Porting from a System.Windows.Forms Form May 23, 2020 23:50 David Jones MVP coding powershell windowsforms dotnet In the PowerShell tool djaus2/az-iothub-ps on GitHub, I added some graphical UI forms. The UI was first designed in a Windows Forms C# app. This post tells you how.
More ... -
az-iothub-ps : Azure IoT Hub PowerShell V3.0.4 Features May 23, 2020 10:03 David Jones MVP azedge iot-core iothub azure Details, including latest extensions, of the az-iothub-ps PowerShell tool for creating, managing and using Azure IoT Hub components.
More ... -
az-iothub-ps : Previous Info May 22, 2020 17:38 David Jones MVP azsphere aiot-core iothub azure The previous README from the repository
More ... -
Azure Sphere Projects : BME280 Sensor (Part 3) IoT Central May 17, 2020 11:56 David Jones MVP azedge azsphere azure iot iothub bme280 iotcentral Insert summary here
More ... -
PowerShell : Header Metainfo May 11, 2020 19:57 David Jones MVP coding powershell Decided to add metainformaton to each PS file as a header comment. Needed to recusively add a template to PS files.
More ... -
PowerShell : show-image A PS Function to Display an Image in a Windows Form May 10, 2020 20:12 David Jones MVP coding powershell iothub How do you call and show an image from a PowerShell script. You need it in a modal form with that can be closed but such the the calling script waits for its closure. show-image does this.
More ... -
PowerShell : Functions for a quick user response May 10, 2020 17:08 David Jones MVP coding powershell A couple of PowerShell functions for getting a quick single key response from a user for “Yes/No” and “Press any key to Continue” scenarios with options for the prompt and default response, as part of the djaus2/az-iothub-ps tool (available on GitHub).
More ... -
PowerShell : A Function to download and run an Installer May 10, 2020 12:51 David Jones MVP coding powershell I’ve added a Setup menu for downloading and installing the Azure Cli and the Azure Sphere SDK as part of the djaus2/az-iothub-ps tool (available on GitHub). I’ve encapsulated that functionality into a function for reusablity.
More ... -
This blog site construction : Site Calendar Page May 06, 2020 17:29 David Jones MVP web jekyll markdown blogsite devops I’ve added an index of posts in a menu headed by year and months.
More ... -
PowerShell Code Signing of scripts May 05, 2020 14:44 David Jones MVP coding powershell A GitHub repository is available with PowerShell scripts for signing PowerShell scripts!! In particular you can create a personal certificate for local signing, sign individual scripts, recursively sign a folder of scripts and rfecursively unsign them.
More ... -
Azure Sphere Projects : Azure Sphere Getting Started May 04, 2020 13:39 David Jones MVP azsphere azsphere azure iot iotedge iothub How to get started quickly with Azure Sphere using az-iothub-ps too
More ... -
Azure Sphere Projects : DPS and IOT Hub v IOT Central with az-iothub-ps-1 May 03, 2020 10:53 David Jones MVP azsphere azsphere azure iot iotedge iothub iotcentral The az-iothub-ps PowerShell tool was developed to support the Azure IoT Hub and Device creation, management as well as the generation of the runtime json file with connection details for .NET Core Azure IoT Hub SDK Quickstarts, in a menu driven manner. The tool has now been extended for Azure Sphere where DPS (Device Provisioning Service) or IoT Central are used. The tool has now been extended to orchestrate the creation of the required elements, collection of the required connection metadata. The outcome is the generation of the app_manifest.json file required for AzSphere apps. There are some issues though …
More ... -
Azure Sphere : Resources April 23, 2020 23:35 David Jones MVP azsphere azsphere azure iot iotedge iothub A compendium of links to online resources with respect to Azure Sphere
More ... -
Azure Sphere Projects : az-iothub-ps Extensions April 22, 2020 21:40 David Jones MVP azsphere azsphere azure iot iothub powershell The az-iothub-ps suite of PowerShell commands_enable a menu driven creation of Azure IoT Hubs and related entities as well as facilitating the running of Azure IoT Hub SDK .Net Core Telemetry and Device Provsioning Quickstart examples, seamlessly configured to use the hub entities. az-iothub-ps has now been extened to support all most of the steps, in a menu driven manner,required to setup and run an Azure Sphere. It can specifically generate the required app_manifest.json file for and Azure IoT Hub app.
More ... -
Azure Sphere Projects : BME280 Sensor (Part 2) April 20, 2020 02:56 David Jones MVP azsphere azsphere azure iot iothub bme280 In the previous post, an app to read environment values using the BME280 was presented using an Azure Sphere with the device connected by a Grove Shield. With this, the device isn’t directly connected to the Az Sphere’s I2C but connects via an I2C bus master on the shield which communicates with the Az Sphere via a UART. This article discusses the use of an existing GitHub project that supports direct connection of the BME280 to the Azure Sphere via I2C. This project also sends the data to an Azure IoT Hub as telemetry using Device Provisioning Service (DPS).
More ... -
GitHub is now free for Teams April 17, 2020 10:51 David Jones MVP appdev github applicationdev repository devops cicd git GitHub has announced that they are making private repositories with unlimited collaborators available to all GitHub accounts
More ... -
Azure Sphere Projects : BME280 Sensor April 17, 2020 02:30 David Jones MVP azsphere azsphere azure iot iothub bme280 THe BME280 temperature, pressure and humiditty sensor, and similar devices, can be used with some existing sample Azure Sphere projects with and without modification, to stream telemetry data to an Azure IoT Hub. This article looks at a project using the Seeed Grove version of the sensor mounted on a MT3620 Grove shield, as well as a project for when the sesnor is directly connected to the MT3620 Azure Sphere without the shield.
More ... -
az-iothub-ps : Device Provisioning Service scripts added April 15, 2020 22:50 David Jones MVP iot powershell iothub azure The az-iothub-ps suite of PowerShell scripts for creating all of the elements of an Azure IoT Hub scenario as well as automatically querying for connection metadata for IoT device apps, now supports generating a DPS for a Resource Group, as well as connecting a hub in the group to it.
More ... -
Azure Sphere : Trying out some of the Samples April 14, 2020 21:12 David Jones MVP azsphere azsphere azure iot iotedge iothub A previous blog is a landing page to list sample Azure Sphere projects. Also, in the previous blog in this series, some activity was proposed to try out some of these sample projects, extend some and to ultimately implement the device component of some of the Azure IoT Hub Telemetry Quickstarts as discussed and extended in previous blogs here. This article discusses the “cooks-tour” of some of these samples.
More ... -
Azure Sphere Sample Projects V2 April 13, 2020 23:29 David Jones MVP azsphere azsphere azure iot iothub Some links to sample projects for the Azure Sphere on GitHub post Azure Sphere go live (GA).
More ... -
And now for something completely different : Azure Sphere GA, Security and a 2Do List April 01, 2020 15:43 David Jones MVP azsphere azsphere azure iot iotedge iothub Well not completely different. Just had to use the Monty Python phrase! Of late I have delved deep into getting hardware connected to the Raspberry Pi communicating with an IoT Hub, using .Net Core. Telemetry to a user as well as command and control from the user. GPIO, Leds, buttons, motors; I2C and 1-wire environment sensors. Now lets do all of that again with the Azure Sphere.
More ... -
.Net Interactive and Try .Net March 30, 2020 21:05 David Jones MVP web dotnet dotnetinteractive training dotnetcore Recently I have seen the light. An epiphany if you must! .Net Interactive is the way of the future for creating on-line tutorials using Blazor or Markdown Insert summary here
More ... -
.Net Core on IoT : Some Deployment key points March 30, 2020 15:01 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian dotnetio A few short hints on running .NET Core Az IoT Hub apps on the RPi.
More ... -
Now for some HW on the RPi : IoT Hub Device Streaming Apps that Send & Recv real data - 2 more apps March 15, 2020 14:27 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian dotnetio Can now run the DHT22 sensor functionality, as in previous Telemetry post, using Device Streaming. Also can remotely control a DC motor using Device streaming! How good is that!
More ... -
Now for some HW on the RPi : IoT Hub Telemetry App that sends real data March 15, 2020 14:27 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian dotnetio The az-iothub-ps set of PowerShell scripts has been extended: Building upon the .NET Core GitHub project djaus2/DNETCoreGPIO, there is now an app under Telemetry that runs on the RPi that sends real Telemetry data to the IoT Hub. Uses a DHT22 sensor. Only works on Raspbian though.
More ... -
Now for some HW on the RPi : A Sampler from the GitHub Repository dotnet/io March 14, 2020 14:27 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian dotnetio The .NET Core GitHub project djaus2/DNETCoreGPIO runs on the RPi, whether Raspbian or IoT-Core (unchanged) to exemplify some of the hardware capabilities of the GitHub project dotnet/io. This uses Nuget packages from that project rather than direct dependencies.
More ... -
.NET Core on IoT : It's now even easier. Enter names on command line. March 05, 2020 14:27 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian It’s now gone mega: Just run get-iothub GroupName,HubName,DeviceName And it will auto generate all 3!
More ... -
.NET Core on IoT : You can now fully automate Group-Hub-Device creation March 01, 2020 22:45 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian New main Menu item: Get a New: (Group … Hub in Group … Device for Hub) Will generate the 3 new entities as well as connection strings as environment variables etc! All as one command!
More ... -
.NET Core on IoT : Using the az-iothub-ps script February 28, 2020 17:13 David Jones MVP iot powershell dotnetcore iothub azure iot-core raspbian Just the steps to use the script. No background info._
More ... -
.NET Core on IoT : Remote Publishing to the RPI February 27, 2020 19:01 David Jones MVP iot powershell dotnetcore iothub azure iot-core devicestreaming telemetry raspbian You can skip the Background (as per previous post) for building and deploying a .NET Core app on the desktop for the RPi and just follow the steps here. Or read that first for a better understanding. This includes publishing for IoT-Core and Raspbian OS’s.
More ... -
.NET Core on IoT : One more way of doing this - Background February 26, 2020 16:54 David Jones MVP iot powershell dotnetcore iothub azure iot-core devicestreaming telemetry raspbian It may at times be convenient, but building an app on the RPi, whether for IoT-Core or for Raspbian might not be the most efficient way of doing it. Lets look at building the app on the desktop and then copying the built dotnet app to the Pi.
More ... -
.NET Core on IoT : Using the PS Script to run Quickstarts on RPi (Raspbian) February 25, 2020 07:19 David Jones MVP iot powershell dotnetcore iothub azure iot-core devicestreaming telemetry raspbian This copy-paste setup of .NET Core to run the Azure IOT Hub SDK Quickstart apps on a RPi running Raspbian is similar to the previous (simpler) post for IOT-Core but with a few caveats …
More ... -
.NET Core on IoT : Using the PS Script to run Quickstarts on RPi (IoT-Core) - Simpler February 19, 2020 07:19 David Jones MVP iot powershell dotnetcore iothub azure iot-core devicestreaming telemetry A simpler approach is now afforded by a modification made to the generated set-env script. Just set the IoT Hub up as previous on the development desktop, generate the enviroment variables …
More ... -
.NET Core on IoT : Using the PS Script to run Quickstarts on RPi (IoT-Core) February 15, 2020 20:56 David Jones MVP iot powershell dotnetcore iothub azure iot-core devicestreaming telemetry The previous few posts introduced the one stop shop, the az-iothub-ps PowerShell script for setting up an Azure IoT Hub and for orchestrating the running of the Azure IOT Hub SDK Quickstart ,NET Core apps on a desktop. The prior posts in this series covered setting up .NET Core to run on a RPi. This post covers using the script in a PowerShell terminal running on a RPi running Windows 10 IoT-Core. A later post will cover the same scenario but when running Raspbian on the RPi.
More ... -
.NET Core on IoT : Az-IoTHub-PS ... The IoT Hub Quickstart Apps February 15, 2020 16:50 David Jones MVP iot powershell dotnetcore iothub azure iot-core devicestreaming telemetry rpi This repository has a copy of the Azure IoT Hub SDK Quickstart .NET Core apps folder. It has been modified so that all apps get the Hub Connection strings from enviroment variables, that can be set by the PowerShell script in dicussion here. The script can also direct you to the folder for each quickstart upon selection from a menu.
More ... -
.NET Core on IoT : Use the PS Script to set up .NET Core February 14, 2020 22:35 David Jones MVP iot powershell dotnetcore iothub azure iot-core As an extra feature, you can use the az-iothub-ps script to download a targeted Azure IoT Hub SDK binary, expand it to qs-apps\dotnet, configure the shell running .NET Core.
More ... -
.NET Core on IoT : Fast tracking IoT Hub Creation with PS February 05, 2020 13:19 David Jones MVP iot powershell dotnetcore iothub azure iot-core A PowerShell script that delivers the steak knives too! Run ONE script to create a new group, new hub and new device with prompts for names and menus for other info. Get the required connection strings as System environment variables, and a script to regenerate them. What else? The IoT Hub SDK Quickstarts are part of the repo with some mods so that all info required is in the environemnt variables. No editing required!
More ... -
.NET Core on IoT : On Windows Subsystem for Linux January 09, 2020 12:55 David Jones MVP iot csharp dnetcore appdev rpi raspbian iothub azure wsl Digressing a little: A look at getting .NET Core going on Windows Subsystem for Linux using Debian. Debian because that is what Raspbian is. The Console app and Blazor web app as well. Includes first time set up of WSL-Debian.
More ... -
.NET Core on IoT : Getting started on Raspbian January 09, 2020 11:09 David Jones MVP iot csharp dnetcore appdev rpi raspbian iothub azure A Quickstart for setting up .NET Core V3.1 or later on a RPi running Raspbian so as to be able to build and run .NET Core apps from the command line. Start with a Console app. An ASP.NET Core Web App is also run on the device.
More ... -
.NET Core on IoT : Getting started on Win 10 IoT Core January 08, 2020 16:09 David Jones MVP iot csharp dnetcore appdev rpi iot-core iothub azure A Quickstart for setting up .NET Core V3.1 on a RPi running IoT-Core so as to be able to build and run .NET Core apps from the command line. Start with a Console app. An ASP.NET Core MVC Web App is also run on the device.
More ... -
Some PowerShell Functionality January 06, 2020 20:35 David Jones MVP coding powershell Just developed some scripts to assist blogging on my BlogSite. To do so I did some “Monkeys on a Typewriter Coding” using PowerShell. This site is a custom Jekyll-Markdown site. I wanted a couple of scripts to generate a new blog post using metadata obtained from command line parameters and a menu. I could have coded them in Jekyll but chose to do in it in PowerShell.
More ... -
.NET Core on IoT : Options for the RPi January 06, 2020 14:39 David Jones MVP iot csharp dnetcore appdev rpi iot-core raspbian iothub azure There are three or four ways to build .NET Core on the RPi whether IoT-Core or Raspbian. Focus here is upon on the device app development.
More ... -
.NET Core on IoT : Some key facts January 05, 2020 22:17 David Jones MVP iot csharp dnetcore appdev rpi iot-core raspbian iothub azure Let’s look at a few key issues and resources before getting started with .NET Core on the RPi.
More ... -
This blog site construction : Latest January 03, 2020 20:11 David Jones MVP web jekyll markdown blogsite devops As discussed in previous blogs on this site, the site had its roots as a GitHub Pages site. It was then transferred to Azure Devops and further extended there with custom extensions sourced from blogs elsewhere. Custom coding was also done to facilitate features desired for this site. This article sheds more light on how the site was implemented as well as upon some new features recently added.
More ... -
Australia alight again January 03, 2020 16:56 David Jones MVP gen bushfire wildfire cfa nfs emergency Australia is again facing a toturous summer of bushfires (wildfires). Each summer it seems to get worse. In recent days catastrophic fires have started in Victoria nd NSW with hundreds of homes being lost as well as many lives. Remote communities have been isolated. The navy is being used to evaculate one of them.
More ... -
.NET Core on IoT : Quickstart Apps December 29, 2019 21:40 David Jones MVP iot csharp dnetcore
David Jones MVP