Using C# on Surface

38
Using C# on Surface - Persistent developer’s story - Room metro #15

description

2013/03/30 Room metro #15 セッション資料

Transcript of Using C# on Surface

Page 1: Using C# on Surface

Using C# on Surface- Persistent developer’s story -

Room metro #15

Page 2: Using C# on Surface
Page 3: Using C# on Surface

Name

鈴木孝明

Twitter Account

@xin9le

Award

Microsoft MVP for Visual C#

Blog

http://xin9le.net

About Me

Page 4: Using C# on Surface
Page 5: Using C# on Surface
Page 6: Using C# on Surface
Page 7: Using C# on Surface

Web Articles

連載 : C# 5.0 & VB11.0 新機能「async/await 非同期メソッド」入門

http://www.atmarkit.co.jp/fdotnet/chushin/masterasync_index/

Page 8: Using C# on Surface
Page 9: Using C# on Surface
Page 10: Using C# on Surface

What made me think I wanna write C# on Surface?

Motivator

Page 11: Using C# on Surface
Page 12: Using C# on Surface
Page 13: Using C# on Surface

Image Location

%LocalAppData%¥Packages¥Microsoft.Bing_8wekyb3d8bbwe¥LocalState 固定パス

Page 14: Using C# on Surface

Image Name

横landscapeXX.jpg

縦portraitXX.jpg

XX0 ~ 15

Page 15: Using C# on Surface

I was under the impression that I can do...

Let’s develop!!

Page 16: Using C# on Surface

Application Requirements

Surfaceで実行可能一括取得

大げさなUI不要

開発/保守が容易

Page 17: Using C# on Surface
Page 18: Using C# on Surface

Tools

メモ帳

PowerShell

Page 19: Using C# on Surface

Sample Source

Page 20: Using C# on Surface

PSNotSupportedException

Page 21: Using C# on Surface

Draw upon the wisdom of veteran MVPs.

Pursuit of limitation

Page 22: Using C# on Surface
Page 23: Using C# on Surface
Page 24: Using C# on Surface

Load System.Windows.Forms.dll #1

Page 25: Using C# on Surface

Load System.Windows.Forms.dll #2

Page 26: Using C# on Surface

Create form instance

Page 27: Using C# on Surface

Core Type

Page 28: Using C# on Surface

Load original.dll

Page 29: Using C# on Surface

PowerShell Limitation

DLL

Microsoftの署名が必要

独自型

一時DLLが作られる

インスタンス生成プロパティ/メソッド呼出

許可された一部のモノのみ

Page 30: Using C# on Surface

My last resort...

Over the network

Page 31: Using C# on Surface
Page 32: Using C# on Surface
Page 33: Using C# on Surface
Page 34: Using C# on Surface

Do all on Surface

Azure or VPN

Remote Debug

RemoteApp

Run any apps

Develop Windows Store apps

Do them everywhere!!

Page 35: Using C# on Surface
Page 36: Using C# on Surface
Page 37: Using C# on Surface

Enjoy all on Surface!

Enjoy development on Surface with C#!!

Thank you

Page 38: Using C# on Surface

Click in and write more.

Surface × C#