<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Syncfusion on Ash Tewari</title><link>https://www.tewari.info/tag/syncfusion/</link><description>Recent content in Syncfusion on Ash Tewari</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Sat, 23 May 2020 02:57:40 +0000</lastBuildDate><atom:link href="https://www.tewari.info/tag/syncfusion/feed.xml" rel="self" type="application/rss+xml"/><item><title>Universal Windows Platform Application on Raspberry Pi</title><link>https://www.tewari.info/2020/05/22/universal-windows-platform-application-on-raspberry-pi/</link><pubDate>Sat, 23 May 2020 02:57:40 +0000</pubDate><guid>https://www.tewari.info/2020/05/22/universal-windows-platform-application-on-raspberry-pi/</guid><description>&lt;p&gt;Universal Windows Platform (UWP) provides a common app platform on every device that runs Windows 10. The core APIs in UWP are the same on all Windows devices – including Desktop PC, Mobile Phone, XBox, Hololens, IOT devices and &lt;a class="link" href="https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide" target="_blank" rel="noopener"&#10; &gt;others&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;You can target specific device capabilities of a device family with &lt;a class="link" href="https://docs.microsoft.com/en-us/uwp/extension-sdks/device-families-overview#extension-sdks" target="_blank" rel="noopener"&#10; &gt;extension SDKs&lt;/a&gt;, but you don&amp;rsquo;t have to do that if you are only using core APIs. Those core APIs include a very &lt;a class="link" href="https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/" target="_blank" rel="noopener"&#10; &gt;impressive&lt;/a&gt; set of UI capabilities. What that means is that you can create a UWP application using C# and XAML which will run on an ARM based processor on Raspberry Pi – because &lt;a class="link" href="https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/buildingappsforiotcore" target="_blank" rel="noopener"&#10; &gt;Windows 10 IOT Core&lt;/a&gt; runs on that.&lt;/p&gt;&#10;&lt;p&gt;Universal Windows Platform (&lt;a class="link" href="https://docs.microsoft.com/en-us/windows/apps/desktop/choose-your-platform" target="_blank" rel="noopener"&#10; &gt;UWP&lt;/a&gt;) has come &lt;a class="link" href="https://www.tewari.info/2014/11/12/universal-apps/" &gt;a long way&lt;/a&gt;. I decided to dust off my good old Raspberry Pi 2B and take it for a spin last weekend.&lt;/p&gt;&#10;&lt;p&gt;The goal was simply to create a Hello World UWP application, deploy it on Windows 10 IOT running on Raspberry Pi (RPi), without using any device specific extension SDKs. Here is the stack -&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a class="link" href="https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide" target="_blank" rel="noopener"&#10; &gt;Universal Windows Platform App&lt;/a&gt; (C#/XAML)&lt;/li&gt;&#10;&lt;li&gt;Raspberry Pi &lt;a class="link" href="https://www.raspberrypi.org/products/raspberry-pi-2-model-b/" target="_blank" rel="noopener"&#10; &gt;Model 2B&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a class="link" href="https://docs.microsoft.com/en-us/windows/iot-core/windows-iot-core" target="_blank" rel="noopener"&#10; &gt;Windows 10 IOT Core&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a class="link" href="https://www.syncfusion.com/uwp-ui-controls" target="_blank" rel="noopener"&#10; &gt;Syncfusion Essential Studio&lt;/a&gt; &lt;a class="link" href="https://help.syncfusion.com/common/essential-studio/release-notes/v18.1.0.42" target="_blank" rel="noopener"&#10; &gt;18.1.0.42&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a class="link" href="https://visualstudio.microsoft.com/" target="_blank" rel="noopener"&#10; &gt;Visual Studio&lt;/a&gt; 2019&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;a class="link" href="https://docs.microsoft.com/en-us/windows/uwp/get-started/create-a-hello-world-app-xaml-universal" target="_blank" rel="noopener"&#10; &gt;Create&lt;/a&gt; a simple UWP application in Visual Studio 2019.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image.png"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;&lt;a class="link" href="https://docs.microsoft.com/en-us/windows/iot-core/tutorials/rpi" target="_blank" rel="noopener"&#10; &gt;Install&lt;/a&gt; Windows 10 IOT Core on Raspberry Pi 2B and connect the device to a 50&amp;quot; screen TV.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image-5.png"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/Rpi2BOnTV.jpg"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Select ARM in the target platform drop down and Click on Remote Machine to Run/Debug Application on RPi device.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image-1.png"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Select RPi device for deployment.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image-2.png"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Deployment of UWP on RPi is complete.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image-3.png"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;UWP application running on RPi.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image.jpeg"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;I updated the UWP application to include &lt;a class="link" href="https://help.syncfusion.com/uwp/charts/getting-started?cs-save-lang=1&amp;amp;cs-lang=csharp" target="_blank" rel="noopener"&#10; &gt;Syncfusion Chart&lt;/a&gt; control. Did you know that you can get a &lt;a class="link" href="https://www.syncfusion.com/products/communitylicense" target="_blank" rel="noopener"&#10; &gt;Community License&lt;/a&gt; for the entire product line (including Blazor, Xamarin and UWP controls) from Syncfusion?&lt;/p&gt;&#10;&lt;p&gt;UWP application is now running on RPi, attached to the Visual Studio debugger running on the development machine (Windows Surface).&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image-1.jpeg"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;No device specific extension SDKs were referenced, just the core UWP APIs were used.&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://www.tewari.info/wp-content/image-6.png"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Code is on &lt;a class="link" href="https://github.com/ashtewari/CoronaViewer/blob/master/CoronaViewer/MainPage.xaml.cs" target="_blank" rel="noopener"&#10; &gt;github&lt;/a&gt;.&lt;/p&gt;&#10;</description></item></channel></rss>