running .net on raspberry pi

9
.Net on Raspberry Pi Paul Fryer | Feb 2014

Upload: paul-fryer

Post on 29-Jun-2015

3.354 views

Category:

Technology


1 download

DESCRIPTION

Quick overview of how you run .Net code on a Raspberry Pi.

TRANSCRIPT

Page 1: Running .Net on Raspberry Pi

.Net on Raspberry Pi

Paul Fryer | Feb 2014

Page 2: Running .Net on Raspberry Pi

Get a Raspberry Pi

Page 3: Running .Net on Raspberry Pi
Page 4: Running .Net on Raspberry Pi
Page 5: Running .Net on Raspberry Pi

http://www.raspberrypi.org/downloads

Get an SD card. Download an OS.

Page 6: Running .Net on Raspberry Pi

Run Wheezey OS

Page 7: Running .Net on Raspberry Pi

sudo apt-get install mono

sudo mozroots

This installs mono.

Mono trusts NO certificates by default. If we are going to use SSL we need to import some. Use the above command to import all the certificates Mozilla trusts.

mono HelloWorld.exeThis is how we run .net executables on Mono.

Linux Foo

sudo apt-get install xrdpOptional step, install a remote desktop server so you can connect to your Pi via the network.

Page 8: Running .Net on Raspberry Pi

Use Xamarin Studio or Visual Studio

https://xamarin.com/studio

Xamarin Studio is a free IDE for developing .Net code for Mono.

It’s compatible with Visual Studio solutions (.sln)

Page 9: Running .Net on Raspberry Pi

Compile .Net code and deploy to Raspberry Pi.