SlideShare a Scribd company logo
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Building a Raspberry Pi
Robot Arm with .NET 5,
Blazor and SignalR
PETE GALLAGHER
PETECODES.CO.UK / PJGCREATIONS.CO.UK
12/12/2020
12th December, 2020
For our full Code of
Conduct or to report
an issue, go to:
https://bit.ly/DDDCofC
Be aware of others
Be friendly and
patient
Be welcoming and
respectful
Be open to all
questions and
viewpoints
Be understanding of
differences
Be kind and
considerate to others
DDD 2020! Welcome
Donate!
https://www.justgiving.com/fundraising/developerday2020
Sponsors!
Enjoy your day!
Make it Social! Tweet!
#DDD2020 @developerday
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
About Me
Pete Gallagher
@pete_codes / @PJGCreations
www.PeteCodes.co.uk
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk
IT Consultant, Microsoft Certified Trainer & Azure MVP, Pluralsight Author
Decades of Desktop, Web & Embedded Software experience,
Meetup Organiser,
STEM Ambassador, Code Club Organiser … Gadget Addict
Father of two inquisitive girls
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
What we’re going to be doing…
 .NET 5
 Installing .NET 5
 Hello World(s)
 Raspberry Pi GPIO and the Circuit
 Basic GPIO control
 Device Bindings and Driving Servos
 Blazor and SignalR
 Final Demo
 Q&A
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
.NET 5
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
.NET 5
INFRASTRUCTURE
.NET STANDARD
.NET is a software development platform
DESKTOP WEB CLOUD MOBILE GAMING IoT AI
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
What’s new in .NET?
 Open Source and Cross Platform (Including the Pi)
 C#9 Language Features
 Records
 Init Only Properties
 Pattern Matching
 Top Level Programs
 System.Text.Json
James Newton-King
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
.NET Ecosystem Momentum
> 1.5M
.NET Core Developers
In Visual Studio
#1 Most Loved
Framework
.NET Core
Top 30
Highest velocity OSS Projects
github.com/dotnet
github.com/aspnet
Top 5
Language on GitHub
C#
7x
Faster than Node.js
ASP.NET Core
40%
New to .NET are students
dot.net download survey
Build 2020 – Journey to one .NET - https://www.youtube.com/watch?v=ctSqiD8BGPM
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Install
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Install
Single Line Install
wget -O - https://raw.githubusercontent.com/pjgpetecodes/dotnet5pi/master/install.sh | sudo bash
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Demo 1
Console App
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
.NET Core & GPIO
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
System.Device.Gpio
 Supports I/O, SPI, PWM, I2C
 Supports Raspberry Pi, Beagleboard,
Hummingboard, Odroid etc
 Supports Linux and Windows 10 IoT
 Installs via the CLI or Nuget PM
https://www.nuget.org/packages/
System.Device.Gpio
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi GPIO
Board Numbering
BCM Numbering
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Circuit 1
Pin 10
Pin 26
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Demo 2
Hello World (Again!)
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Iot.Device.Bindings
 Support for
BME280 Temp / Humidity Sensor
MCP23xxx I/O Expander
Explorer Hat
Sense Hat
Servos
Much more…
https://www.nuget.org/packages/
Iot.Device.Bindings
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Circuit 2
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Servo Control Board
Pin 25
Pin 35
Pin 13
Pin 12
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Servos
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Demo 3
Servo Demo
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Blazor
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
“Blazor is a single-page app
framework for building
interactive client-side Web
apps with .NET”
Scott Hansleman
Blazor
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Blazor
 Started Life as Steve Sanderson’s Pet Project
 Web UI Framework based in C#
 Replaces JavaScript
 Razor and HTML
 Server Side or Client Side WebAssembley
 Client Side .NET with no plugins
 Support in most modern Browsers
https://bit.ly/pjgblazor
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
SignalR
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
“ASP.NET SignalR is a library for
ASP.NET developers to add real-
time web functionality to their
applications”
Wikipedia
Blazor
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
SignalR
 Open Source
 Created by David Fowler
and Damian Edwards in 2011
 Enables Bi-directional
Real-Time communications
 Supports;
Web Sockets
Server-Sent Events
Long Polling
https://bit.ly/pjgsignalr
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Raspberry Pi Demo 4
Drive the Arm!
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Links
 GitHub and Workshop
https://bit.ly/dotnet5robotarmrepo
 C# 9 + Dot Net 5
https://bit.ly/pjgdotnet5announcement
 Installing Dot Net 5 on the Raspberry Pi
http://bit.ly/dotnet5pi
 Dot Net GPIO Nuget Package
https://www.nuget.org/packages/System.Device.Gpio
 Dot Net IoT Device Bindings Source Code
https://github.com/dotnet/iot/tree/master/src/devices
 3D Printed Robot Arm
https://www.thingiverse.com/thing:1015238
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Links
 Blazor
https://bit.ly/pjgblazor
 MatBlazor
https://www.matblazor.com/
 Awesome Blazor
https://github.com/AdrienTorris/awesome-blazor
 SignalR
https://bit.ly/pjgsignalr
THURSDAY 17TH DECEMBER
FROM 6.30PM ON ZOOM!
Cathrin Machin
Bringing the Stars Closer Through Art
and Tech
Mohit Bhoite
TBA
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
 Twitter
@pete_codes / @PJGCreations
 Email:
pete@pjgcreations.co.uk
 Website:
https://www.petecodes.co.uk
https://www.pjgcreations.co.uk
 Notts IoT:
https://www.nottsiot.co.uk
 Dot Net Notts:
https://www.dotnetnotts.co
 Notts Dev Workshop:
https://www.nottsdevworkshop.co.uk
 LATi:
https://www.lati.org.uk
 Agile Engineering Podcast:
https://agileengineeringpodcast.com/
 Azureish Live:
https://www.twitch.tv/azureishlive
Contact Me
Slides: https://bit.ly/pjgddd2020
Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes
Contact Me
Pete Gallagher
@pete_codes / @PJGCreations
www.PeteCodes.co.uk
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk

More Related Content

What's hot

Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Peter Gallagher
 
Dot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc NottsDot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc NottsPeter Gallagher
 
Dot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry PiDot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry PiPeter Gallagher
 
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21Peter Gallagher
 
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Peter Gallagher
 
Azure Percept Home Automation - .NET Liverpool - 28-10-21
Azure Percept Home Automation  - .NET Liverpool - 28-10-21Azure Percept Home Automation  - .NET Liverpool - 28-10-21
Azure Percept Home Automation - .NET Liverpool - 28-10-21Peter Gallagher
 
Azure Percept Home Automation - .NET Docs Show - 20-09-21
Azure Percept Home Automation  - .NET Docs Show - 20-09-21Azure Percept Home Automation  - .NET Docs Show - 20-09-21
Azure Percept Home Automation - .NET Docs Show - 20-09-21Peter Gallagher
 
JTAG Debugging with the ESP32, Visual Micro and PlatformIO
JTAG Debugging with the ESP32, Visual Micro and PlatformIOJTAG Debugging with the ESP32, Visual Micro and PlatformIO
JTAG Debugging with the ESP32, Visual Micro and PlatformIOPeter Gallagher
 

What's hot (8)

Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
 
Dot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc NottsDot Net Core 3 with Raspberry Pi - HackSoc Notts
Dot Net Core 3 with Raspberry Pi - HackSoc Notts
 
Dot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry PiDot Net Core 3 with Raspberry Pi
Dot Net Core 3 with Raspberry Pi
 
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
 
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
 
Azure Percept Home Automation - .NET Liverpool - 28-10-21
Azure Percept Home Automation  - .NET Liverpool - 28-10-21Azure Percept Home Automation  - .NET Liverpool - 28-10-21
Azure Percept Home Automation - .NET Liverpool - 28-10-21
 
Azure Percept Home Automation - .NET Docs Show - 20-09-21
Azure Percept Home Automation  - .NET Docs Show - 20-09-21Azure Percept Home Automation  - .NET Docs Show - 20-09-21
Azure Percept Home Automation - .NET Docs Show - 20-09-21
 
JTAG Debugging with the ESP32, Visual Micro and PlatformIO
JTAG Debugging with the ESP32, Visual Micro and PlatformIOJTAG Debugging with the ESP32, Visual Micro and PlatformIO
JTAG Debugging with the ESP32, Visual Micro and PlatformIO
 

Similar to Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020

Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptxBuilding a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptxPeter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...Peter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Peter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...Peter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalRBuilding a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalRPeter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...Peter Gallagher
 
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Peter Gallagher
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Peter Gallagher
 
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...Peter Gallagher
 
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffGetting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffPeter Gallagher
 
Controlling Robots Remotely with Azure
Controlling Robots Remotely with AzureControlling Robots Remotely with Azure
Controlling Robots Remotely with AzureLiam Gulliver
 
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.jsRaspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.jsAndri Yadi
 
Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Peter Gallagher
 
Azure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.jsAzure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.jsPeter Gallagher
 
Getting started with IoT with only your laptop - October 2019 - LATi Bar
Getting started with IoT with only your laptop - October 2019 - LATi BarGetting started with IoT with only your laptop - October 2019 - LATi Bar
Getting started with IoT with only your laptop - October 2019 - LATi BarPeter Gallagher
 
IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021Peter Gallagher
 
Intro to Python
Intro to PythonIntro to Python
Intro to PythonTJ Stalcup
 
Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...
Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...
Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...Peter Gallagher
 
Intro to Python
Intro to PythonIntro to Python
Intro to PythonTJ Stalcup
 
IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021Peter Gallagher
 

Similar to Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020 (20)

Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptxBuilding a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalRBuilding a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
 
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
 
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
Azure IoT Hubs with Raspberry Pi and Node.js - DDD 14 Microsoft - Reading - 1...
 
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffGetting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
 
Controlling Robots Remotely with Azure
Controlling Robots Remotely with AzureControlling Robots Remotely with Azure
Controlling Robots Remotely with Azure
 
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.jsRaspberry Pi 2 + Windows 10 IoT Core + Node.js
Raspberry Pi 2 + Windows 10 IoT Core + Node.js
 
Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023
 
Azure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.jsAzure IoT Hubs with Raspberry Pi and Node.js
Azure IoT Hubs with Raspberry Pi and Node.js
 
Getting started with IoT with only your laptop - October 2019 - LATi Bar
Getting started with IoT with only your laptop - October 2019 - LATi BarGetting started with IoT with only your laptop - October 2019 - LATi Bar
Getting started with IoT with only your laptop - October 2019 - LATi Bar
 
IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...
Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...
Getting started with IoT with only your laptop - September 2019 - Dot Net Liv...
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021
 

More from Peter Gallagher

Supercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAISupercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAIPeter Gallagher
 
Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Peter Gallagher
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Peter Gallagher
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Peter Gallagher
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployPeter Gallagher
 
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Peter Gallagher
 
IoT isn't just for Christmas
IoT isn't just for ChristmasIoT isn't just for Christmas
IoT isn't just for ChristmasPeter Gallagher
 
DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20Peter Gallagher
 

More from Peter Gallagher (8)

Supercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAISupercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAI
 
Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus Deploy
 
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
 
IoT isn't just for Christmas
IoT isn't just for ChristmasIoT isn't just for Christmas
IoT isn't just for Christmas
 
DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20
 

Recently uploaded

一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理kywwoyk
 
1. WIX 2 PowerPoint for Work Experience.pptx
1. WIX 2 PowerPoint for Work Experience.pptx1. WIX 2 PowerPoint for Work Experience.pptx
1. WIX 2 PowerPoint for Work Experience.pptxlouise569794
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...Amil baba
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理kywwoyk
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理eemet
 
Memory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyMemory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyAhmed Abdelazeem
 
NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...
NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...
NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...Amil Baba Dawood bangali
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxArjunJain44
 

Recently uploaded (8)

一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
一比一原版UVM毕业证佛蒙特大学毕业证成绩单如何办理
 
1. WIX 2 PowerPoint for Work Experience.pptx
1. WIX 2 PowerPoint for Work Experience.pptx1. WIX 2 PowerPoint for Work Experience.pptx
1. WIX 2 PowerPoint for Work Experience.pptx
 
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
NO1 Uk Amil Baba In Lahore Kala Jadu In Lahore Best Amil In Lahore Amil In La...
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
一比一原版SDSU毕业证圣地亚哥州立大学毕业证成绩单如何办理
 
Memory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technologyMemory compiler tutorial – TSMC 40nm technology
Memory compiler tutorial – TSMC 40nm technology
 
NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...
NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...
NO1 Pandit Black magic/kala jadu,manpasand shadi in lahore,karachi rawalpindi...
 
F5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptxF5 LTM TROUBLESHOOTING Guide latest.pptx
F5 LTM TROUBLESHOOTING Guide latest.pptx
 

Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020

  • 1. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR PETE GALLAGHER PETECODES.CO.UK / PJGCREATIONS.CO.UK 12/12/2020
  • 3. For our full Code of Conduct or to report an issue, go to: https://bit.ly/DDDCofC Be aware of others Be friendly and patient Be welcoming and respectful Be open to all questions and viewpoints Be understanding of differences Be kind and considerate to others DDD 2020! Welcome
  • 6. Enjoy your day! Make it Social! Tweet! #DDD2020 @developerday
  • 7. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes About Me Pete Gallagher @pete_codes / @PJGCreations www.PeteCodes.co.uk www.PJGCreations.co.uk Pete@PJGCreations.co.uk IT Consultant, Microsoft Certified Trainer & Azure MVP, Pluralsight Author Decades of Desktop, Web & Embedded Software experience, Meetup Organiser, STEM Ambassador, Code Club Organiser … Gadget Addict Father of two inquisitive girls
  • 8. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes What we’re going to be doing…  .NET 5  Installing .NET 5  Hello World(s)  Raspberry Pi GPIO and the Circuit  Basic GPIO control  Device Bindings and Driving Servos  Blazor and SignalR  Final Demo  Q&A
  • 9. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes .NET 5
  • 10. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes .NET 5 INFRASTRUCTURE .NET STANDARD .NET is a software development platform DESKTOP WEB CLOUD MOBILE GAMING IoT AI
  • 11. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes What’s new in .NET?  Open Source and Cross Platform (Including the Pi)  C#9 Language Features  Records  Init Only Properties  Pattern Matching  Top Level Programs  System.Text.Json James Newton-King
  • 12. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes .NET Ecosystem Momentum > 1.5M .NET Core Developers In Visual Studio #1 Most Loved Framework .NET Core Top 30 Highest velocity OSS Projects github.com/dotnet github.com/aspnet Top 5 Language on GitHub C# 7x Faster than Node.js ASP.NET Core 40% New to .NET are students dot.net download survey Build 2020 – Journey to one .NET - https://www.youtube.com/watch?v=ctSqiD8BGPM
  • 13. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Install
  • 14. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Install Single Line Install wget -O - https://raw.githubusercontent.com/pjgpetecodes/dotnet5pi/master/install.sh | sudo bash
  • 15. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Demo 1 Console App
  • 16. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes .NET Core & GPIO
  • 17. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes System.Device.Gpio  Supports I/O, SPI, PWM, I2C  Supports Raspberry Pi, Beagleboard, Hummingboard, Odroid etc  Supports Linux and Windows 10 IoT  Installs via the CLI or Nuget PM https://www.nuget.org/packages/ System.Device.Gpio
  • 18. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi GPIO Board Numbering BCM Numbering
  • 19. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Circuit 1 Pin 10 Pin 26
  • 20. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Demo 2 Hello World (Again!)
  • 21. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Iot.Device.Bindings  Support for BME280 Temp / Humidity Sensor MCP23xxx I/O Expander Explorer Hat Sense Hat Servos Much more… https://www.nuget.org/packages/ Iot.Device.Bindings
  • 22. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Circuit 2
  • 23. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Servo Control Board Pin 25 Pin 35 Pin 13 Pin 12
  • 24. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Servos
  • 25. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Demo 3 Servo Demo
  • 26. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Blazor
  • 27. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes “Blazor is a single-page app framework for building interactive client-side Web apps with .NET” Scott Hansleman Blazor
  • 28. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Blazor  Started Life as Steve Sanderson’s Pet Project  Web UI Framework based in C#  Replaces JavaScript  Razor and HTML  Server Side or Client Side WebAssembley  Client Side .NET with no plugins  Support in most modern Browsers https://bit.ly/pjgblazor
  • 29. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes SignalR
  • 30. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes “ASP.NET SignalR is a library for ASP.NET developers to add real- time web functionality to their applications” Wikipedia Blazor
  • 31. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes SignalR  Open Source  Created by David Fowler and Damian Edwards in 2011  Enables Bi-directional Real-Time communications  Supports; Web Sockets Server-Sent Events Long Polling https://bit.ly/pjgsignalr
  • 32. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Raspberry Pi Demo 4 Drive the Arm!
  • 33. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Links  GitHub and Workshop https://bit.ly/dotnet5robotarmrepo  C# 9 + Dot Net 5 https://bit.ly/pjgdotnet5announcement  Installing Dot Net 5 on the Raspberry Pi http://bit.ly/dotnet5pi  Dot Net GPIO Nuget Package https://www.nuget.org/packages/System.Device.Gpio  Dot Net IoT Device Bindings Source Code https://github.com/dotnet/iot/tree/master/src/devices  3D Printed Robot Arm https://www.thingiverse.com/thing:1015238
  • 34. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Links  Blazor https://bit.ly/pjgblazor  MatBlazor https://www.matblazor.com/  Awesome Blazor https://github.com/AdrienTorris/awesome-blazor  SignalR https://bit.ly/pjgsignalr
  • 35. THURSDAY 17TH DECEMBER FROM 6.30PM ON ZOOM! Cathrin Machin Bringing the Stars Closer Through Art and Tech Mohit Bhoite TBA
  • 36.
  • 37. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes  Twitter @pete_codes / @PJGCreations  Email: pete@pjgcreations.co.uk  Website: https://www.petecodes.co.uk https://www.pjgcreations.co.uk  Notts IoT: https://www.nottsiot.co.uk  Dot Net Notts: https://www.dotnetnotts.co  Notts Dev Workshop: https://www.nottsdevworkshop.co.uk  LATi: https://www.lati.org.uk  Agile Engineering Podcast: https://agileengineeringpodcast.com/  Azureish Live: https://www.twitch.tv/azureishlive Contact Me Slides: https://bit.ly/pjgddd2020
  • 38. Building a Robot Arm with Raspberry Pi, .NET 5, Blazor & SignalR – Copyright Pete Gallagher 2020 – @Pete_Codes Contact Me Pete Gallagher @pete_codes / @PJGCreations www.PeteCodes.co.uk www.PJGCreations.co.uk Pete@PJGCreations.co.uk

Editor's Notes

  1. Thank you for coming!
  2. Thank them Microsoft – giveaways! Black Marble – organisation/volunteers Donations! iO Associates, Grey Matter, NDC London (25-29 January 2021)
  3. .NET is an entire software development platform that takes care of a lot of the heavy lifting for you when you want to build an application. Applications frameworks help you build the specific types of apps or workloads and enable you to literally build any app for any platform with any operating system. Each .NET workload shares a common infrastructure and .NET Standard library. This means not only are your .NET skills portable, but your actual code is portable no matter what you’re building. This makes it easy to share reusable components (called libraries) across the breadth of applications people build. Additionally, there are a broad set of development tools that makes it really productive to write, debug, build and manage code bases. See: www.dot.net
  4. Build 2020 – Journey to one .NET - https://www.youtube.com/watch?v=ctSqiD8BGPM https://insights.stackoverflow.com/survey/2019#technology-most-loved-dreaded-and-wanted-loved3 github.com/cncf/velocity octoverse.github.com www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=plaintext
  5. Each PWM Channel is created passing in;The Chip Number The PWM Channel The Frquency Optionally, the Duty Cycle Percentage We also then create two ServoMotor objects, passing in;The PWM Channel we'll be using The Maximum Angle of the Servo - We're using a 180 degree Servo, so we pass in 180 here The Minimum Pulse Width The Maximum Pulse Width
  6. Blazor replaces javascript and runs C# on the client side directly in the browsers with no plugins needed. Blazor Server – Works as a web Server (Shipped) Blazor Web Assembly (May 2020) Blazor Renders HTML, but Blazor Native but can render to other things like Native Controls for Mobile.
  7. Blazor replaces javascript and runs C# on the client side directly in the browsers with no plugins needed. Blazor Server – Works as a web Server (Shipped) Blazor Web Assembly (May 2020) Blazor Renders HTML, but Blazor Native but can render to other things like Native Controls for Mobile. Originally developed as a pet project by Steve Sanderson at Microsoft, Blazor is Web UI Framework which is based on C#, Razor and HTML. Blazor compiles down to WebAssembly, which makes it super (or blazingly) fast (Hence the Razor with a “B”). Blazor allows developers to write client side .net… You may say “Oh, like Silverlight?”… Nope, no plugins needed… It’s just supported natively in most modern browsers.
  8. Blazor replaces javascript and runs C# on the client side directly in the browsers with no plugins needed. Blazor Server – Works as a web Server (Shipped) Blazor Web Assembly (May 2020) Blazor Renders HTML, but Blazor Native but can render to other things like Native Controls for Mobile.
  9. Server: Hubs ChatHub Startup.cs using BlazorSignalRApp.Server.Hubs; ConfigureServices services.AddSignalR(); app.useEndpoint endpoints.MapHub<ChatHub>("/chathub"); Properties Launchconfig applicationUrl Client Pages Index.razor _imports.rzor Wwwroot Index.html