17
rarelyimpossible.com Follow us @rarelyimpossibl C# and JavaScript RUN ANYWHERE Lee Mallon / @leemallon

C sharp and javascript

Embed Size (px)

Citation preview

Page 1: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

C# and JavaScriptRUN ANYWHERE

Lee Mallon / @leemallon

Page 2: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

rarely impossible

[Play video]

Page 3: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Technologies

• C#• ASP.NET MVC

• Xamarin

• Windows Store/RT/Xbox

• JavaScript• Angular JS

• Html / Less / jQuery / Bootstrap

• D3 / Canvas

Page 4: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Devices

Page 5: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Xamarin

Fully native apps written

entirely in C#

Shared App Logic in C#

Xamarin delivers fully native user interfaces

and app functionality

Complete access to 100% of the native APIs

for iOS, Android and Windows in C#

Share app logic and UI code across device

platforms

Page 6: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Xamarin

Shared App Logic in C#

Shared App Logic Shared App Logic

iOS C# UI Android C# UI Windows C# UI

Shared App Logic Shared App Logic

Xamarin.Forms

Default Xamarin.Forms

Page 7: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Xamarin

Shared App Logic in C#Use a single API to generate native, platform-

specific user interfaces

At runtime, each Xamarin.Forms page and its

controls are mapped to platform-specific

native user interface elements

Xamarin.Forms: Build Native User Interfaces using Shared Code

Page 8: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Xamarin

Shared App Logic in C#Use a single API to generate native, platform-

specific user interfaces

At runtime, each Xamarin.Forms page and its

controls are mapped to platform-specific

native user interface elements

Xamarin.Forms: Build Native User Interfaces using Shared Code

Page 9: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Xamarin – CocosSharp

• Based on Cocos2D

• Open Source

• Gets you familiar with Xamarintools

Page 10: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Kinect

[Play video]

Page 11: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

The Web

Page 12: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

ASP.NET MVC

• 54th ranked site in the world *stackexchange

• 4 million users

• 560 million page views p/m

• 25 servers

• 2600-3000 requests/sec on most weekdays.

Page 13: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Page 14: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Angular JS

• Backed by Google

• Is becoming the de-facto (like jQuery did)

• Two-way data binding

• Once understood, other frameworks will seem easy

• Easy Testing

Page 15: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

D3 Demo

[Play video]

Page 16: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Three.js

Page 17: C sharp and javascript

rarelyimpossible.com Follow us @rarelyimpossibl

Questions