Azure und IoT
()
About this ebook
Related to Azure und IoT
Titles in the series (100)
JavaScript auf dem Server Rating: 0 out of 5 stars0 ratingsEinstieg in Google Go Rating: 0 out of 5 stars0 ratingsJava EE Security Rating: 0 out of 5 stars0 ratingsErfolgreiche Spieleentwicklung: OpenGL, OpenAL und KI Rating: 0 out of 5 stars0 ratingsJava 7: Fork-Join-Framework und Phaser Rating: 0 out of 5 stars0 ratingsHTML5 für Mobile Web Rating: 0 out of 5 stars0 ratingsNutzeraspekte in Suchmaschinen: Komponenten für eine gelungene Usability-Gestaltung Rating: 0 out of 5 stars0 ratingsGeolocation mit PHP: Foursquare-API, Google Places & Qype Rating: 0 out of 5 stars0 ratingsAlgorithmen: Grundlagen und Implementierung Rating: 0 out of 5 stars0 ratingsNFC: Near Field Communication für Android-Entwickler Rating: 5 out of 5 stars5/5IT Wissensmanagement: Theorie und Praxis Rating: 0 out of 5 stars0 ratingsjQuery Mobile - Basics: Basics Rating: 0 out of 5 stars0 ratingsErfolgreiche Spieleentwicklung: OpenCL Rating: 0 out of 5 stars0 ratingsHTML5 Security Rating: 0 out of 5 stars0 ratingsNintex Workflow: Konzepte und Strategien für leistungsfähige SharePoint-Workflows Rating: 0 out of 5 stars0 ratingsSkalierbare Softwaresysteme: Design, Betrieb und Optimierungspotenziale Rating: 0 out of 5 stars0 ratingsJavaScript für Eclipse-Entwickler: Orion, RAP und GWT Rating: 0 out of 5 stars0 ratingsSharePoint-Entwicklung für Einsteiger Rating: 0 out of 5 stars0 ratingsQualitätssicherung mit JavaScript und PHP Rating: 0 out of 5 stars0 ratingsAmazon Web Services für .NET Entwickler Rating: 0 out of 5 stars0 ratingsMobile Business: Was Entscheider morgen wissen müssen Rating: 0 out of 5 stars0 ratingsC++: Kurzportträt einer zeitlosen Sprache Rating: 0 out of 5 stars0 ratingsJava EE 7: Ein Ausblick Rating: 0 out of 5 stars0 ratingsServiceorientierte Architektur: Anforderungen, Konzeption und Praxiserfahrungen Rating: 0 out of 5 stars0 ratingsÜberzeugende Präsentationen: Konzeption, Technik und Design Rating: 0 out of 5 stars0 ratingsTFS 2012 Versionskontrolle: Grundlagen, Check-In Policies und Branch-Modelle Rating: 0 out of 5 stars0 ratingsApache Tapestry: Einstieg in die komponentenorientierte Webentwicklung Rating: 0 out of 5 stars0 ratingsAgile Architektur mit .NET - Grundlagen und Best Practices Rating: 0 out of 5 stars0 ratingsTFS 2012 Anforderungsmanagement: Work Items und Prozessvorlagen Rating: 0 out of 5 stars0 ratingsBig Data: Technologiegrundlagen Rating: 0 out of 5 stars0 ratings
Related ebooks
Java ME: Pragmatische Plattform für Mobile und Embedded Rating: 0 out of 5 stars0 ratingsVaadin Schnelleinstieg Rating: 0 out of 5 stars0 ratingsCross-Device-Entwicklung für Android: Kommunikation mit smarten Geräten Rating: 0 out of 5 stars0 ratingsASP.NET Core: Eine Einführung Rating: 0 out of 5 stars0 ratingsXamarin für Android: Einführung in Android GUI und Hardware Rating: 0 out of 5 stars0 ratingsVisual Studio Release Management Rating: 0 out of 5 stars0 ratingsApps mit Azure Rating: 0 out of 5 stars0 ratingsBlackBerry-10-Entwicklung mit der Momentics IDE Rating: 0 out of 5 stars0 ratingsDer Microsoft 365 Trainer Microsoft 365 Certified- Enterprise Administrator Expert: Vorbereitung zur Prüfung MS-101 Rating: 0 out of 5 stars0 ratingsMicrosoft Dynamics NAV 2018 RapidStart Rating: 0 out of 5 stars0 ratingsTFS 2012 TFS 2012 Team Build - Architektur und Installation: Architektur und Installation Rating: 0 out of 5 stars0 ratingsWindows Phone 8.1: Alles Wissenswerte für Entwickler Rating: 0 out of 5 stars0 ratingsTroubleshooting und Monitoring von Exchange und Office 365 Rating: 0 out of 5 stars0 ratingsPhotoshop CS6: Creative Cloud • RAW-Konvertierung • Bildretusche Rating: 0 out of 5 stars0 ratingsWIN10, die 21 häufigsten Fehlermeldungen und die Lösung dafür Rating: 0 out of 5 stars0 ratingsJavaFX Rendering & 3D Rating: 0 out of 5 stars0 ratingsWeb Services mit Apache CXF: Schnell und einfach erklärt Rating: 0 out of 5 stars0 ratingsAufsetzen, Testen und Betrieb einer Android-App Rating: 0 out of 5 stars0 ratingsVaadin mit Eclipse, Clojure und OSGi Rating: 0 out of 5 stars0 ratingsAgiliät und Continuous Delivery Rating: 0 out of 5 stars0 ratingsSoftware Development Trends: Wegweisende Beiträge für eine neue IT: Wegweisende Beiträge für eine neue IT Rating: 0 out of 5 stars0 ratingsHTML 5 meets GWT Rating: 0 out of 5 stars0 ratingsEnterprise Java Web Services Rating: 0 out of 5 stars0 ratingsMicrosoft AJAX: AJAX Libary, ASP .NET 2.0 Extensions, AJAX Control Toolkit Rating: 0 out of 5 stars0 ratingsTesting mit Visual Studio 2012: Testing mit Visual Studio 2012 Rating: 0 out of 5 stars0 ratingsSharePoint Kompendium - Bd. 13 Rating: 0 out of 5 stars0 ratingsSoftware entwickeln mit C#, WPF und dem MVVM-Konzept Rating: 0 out of 5 stars0 ratingsVirtueMart - Der Joomla!-Shop: Der erfolgreiche E-Commerce-Start mit Joomla! und VirtueMart Rating: 0 out of 5 stars0 ratingsSharePoint Kompendium - Bd. 16 Rating: 0 out of 5 stars0 ratingsProgressive Web-Apps: Offlinefähige Web-Anwendungen mit nativen Qualitäten Rating: 0 out of 5 stars0 ratings
Programming For You
Hacken mit Python und Kali-Linux: Entwicklung eigener Hackingtools mit Python unter Kali-Linux Rating: 0 out of 5 stars0 ratingsJavaScript kurz & gut Rating: 3 out of 5 stars3/5PowerShell: Anwendung und effektive Nutzung Rating: 5 out of 5 stars5/5Algorithmen: Grundlagen und Implementierung Rating: 0 out of 5 stars0 ratingsWeniger schlecht programmieren Rating: 4 out of 5 stars4/5Python kurz & gut: Für Python 3.x und 2.7 Rating: 3 out of 5 stars3/5C++: Eine kompakte Einführung Rating: 0 out of 5 stars0 ratingsEigene Spiele programmieren – Python lernen: Der spielerische Weg zur Programmiersprache Rating: 0 out of 5 stars0 ratingsLinux Grundlagen - Ein Einstieg in das Linux-Betriebssystem Rating: 0 out of 5 stars0 ratingsMikrocontroller in der Elektronik: Mikrocontroller programmieren und in der Praxis einsetzen Rating: 0 out of 5 stars0 ratingsProgrammieren lernen mit Python 3: Schnelleinstieg für Beginner Rating: 0 out of 5 stars0 ratingsGames | Game Design | Game Studies: Eine Einführung (Deutschsprachige Ausgabe) Rating: 0 out of 5 stars0 ratingsGit kurz & gut Rating: 0 out of 5 stars0 ratingsProgrammieren für Einsteiger: Teil 1 Rating: 0 out of 5 stars0 ratings.NET-Praxis: Tipps und Tricks zu .NET und Visual Studio Rating: 0 out of 5 stars0 ratingsMicrosoft Word 2016 (Microsoft Press): Einfache Anleitungen für wichtige Aufgaben Rating: 0 out of 5 stars0 ratingsAndroid-Entwicklung für Einsteiger - 20.000 Zeilen unter dem Meer: 2. erweiterte Auflage Rating: 0 out of 5 stars0 ratingsDas große Python3 Workbook: Mit vielen Beispielen und Übungen - Programmieren leicht gemacht! Rating: 4 out of 5 stars4/5HTML5-Programmierung von Kopf bis Fuß: Webanwendungen mit HTML5 und JavaScript Rating: 0 out of 5 stars0 ratingsRaspberry Pi: Mach's einfach: Die kompakteste Gebrauchsanweisung mit 222 Anleitungen. Geeignet für Raspberry Pi 3 Modell B / B+ Rating: 0 out of 5 stars0 ratingsRichtig einsteigen: Excel VBA-Programmierung: Für Microsoft Excel 2007 bis 2016 Rating: 0 out of 5 stars0 ratingsPython-Grundlagen Rating: 0 out of 5 stars0 ratingsPython | Schritt für Schritt Programmieren lernen: Der ultimative Anfänger Guide für einen einfachen & schnellen Einstieg Rating: 0 out of 5 stars0 ratingsLinux Befehlsreferenz: Schnelleinstieg in die Arbeit mit der Konsole, regulären Ausdrücken und Shellscripting Rating: 0 out of 5 stars0 ratingsPraktisches Programmieren in C: Grundlagen und Tipps Rating: 0 out of 5 stars0 ratingsSQL – kurz & gut Rating: 0 out of 5 stars0 ratingsRaspberry Pi: Einstieg • Optimierung • Projekte Rating: 5 out of 5 stars5/5Python programmieren lernen: Der spielerische Einstieg mit Minecraft Rating: 0 out of 5 stars0 ratingsVue.js für alle: Wissenswertes für Einsteiger und Experten Rating: 0 out of 5 stars0 ratingsPython kinderleicht!: Einfach programmieren lernen – nicht nur für Kids Rating: 0 out of 5 stars0 ratings
Reviews for Azure und IoT
0 ratings0 reviews
Book preview
Azure und IoT - Christian Wißmann
GmbH
1 Push-Benachrichtigungen versenden
Microsoft hat mit Azure eine mächtige Plattform für die unterschiedlichsten Aufgaben geschaffen. Ein Teil davon sind die Azure Notification Hubs. Sie sind der Nachfolger des Windows-Push-Benachrichtungsdiensts (Windows Push Notification Service, WNS) und haben dessen Handhabung noch einmal vereinfacht.
Dieses Kapitel liefert anhand eines einfachen Beispiels den direkten Einstieg in die Benutzung der Azure Notification Hubs. Als Grundlage wird im ersten Schritt eine App im Windows Store registriert. Anschließend wird die dazu passende App entwickelt, die die Benachrichtigungen empfängt, und ein Notification Hub eingerichtet. Zu guter Letzt wird eine kleine Konsolenanwendung erstellt, die die Benachrichtigungen verschickt. Auf technischer Seite kommen Windows 10 mit Visual Studio 2015 zum Einsatz. Es sollte aber auch problemlos mit Windows 8.1 laufen.
App im Windows Store anmelden
Damit ein Notification Hub mit einer App kommunizieren kann, muss diese im Windows Store registriert sein. Dazu melden Sie sich im Dev Center an [1] und wechseln auf das Dashboard (Abb. 1.1). Hier hatte Microsoft endlich ein Einsehen und aus den getrennten App Stores für Windows und Windows Phone wurde einer. Man muss hier also nicht mehr darauf achten, die App auch im richtigen Store zu registrieren.
Abbildung 1.1: Auswahl des passenden Dashboards im Windows DevCenter
Mit der Registrierung muss noch keine fertige App eingereicht werden. Es geht in erster Linie darum, einen Namen zu reservieren und die für die Benachrichtigungsdienste erforderlichen Konfigurationsdaten zu erhalten.
Um eine App im Windows Store anzumelden, klicken Sie auf der linken Seite auf Neue App Erstellen. Danach müssen Sie einen eindeutigen App Namen eingeben. Ist dieser noch nicht vergeben, können Sie die App mit App-Name Reserveren im Store anlegen (Abb. 1.2). Anschließend unter Dienste – Pushbenachrichtigungen die „Live Services-Website" aufrufen (Abb. 1.3).
Abbildung 1.2: App Name reservieren
Abbildung 1.3: Klicken Sie Live Services-Websites, um zu den Clientschlüsseln zu gelangen
Hier finden Sie die notwendigen Daten, welche für die Konfiguration des Notification Hub im Azure Portal notwendig sind (Abb. 1.4).
Abbildung 1.4: App-Details für die Konfiguration des Notification Hubs
Zurück im Dashboard sehen Sie nun Ihre soeben registrierte App (Abb. 1.5).
Abbildung 1.5: Windows Store Dashboard mit registrierter App
Client-App erstellen
Im nächsten Schritt erstellen Sie eine Windows-Store-Universal-App, die die gesendeten Benachrichtigungen empfängt. Als Projektvorlage wählen Sie die Blank-App aus den Universal-Apps (Abb. 1.6).
Abbildung 1.6: Universal App anlegen
Nachdem die Solution geöffnet ist, muss die Universal-App mit der App im Windows Store verknüpft werden. Hierfür ist ein Rechtsklick auf die Universal-App erforderlich, anschließend wählen Sie Store | Associate App with the Store. Im nun folgenden Assistenten müssen Sie sich mit dem Live-Konto anmelden, auf dem die Developer-Lizenz für das Dev Center läuft. Nach der Anmeldung erhalten Sie eine Liste aller im Dev Center registrierten Apps. Aus dieser wählen Sie die im ersten Schritt erstellte App (Abb. 1.7) und schließen den Assistenten ab. Nun ist die App mit dem Windows Store verknüpft.