-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday8.html
More file actions
261 lines (261 loc) · 7.89 KB
/
day8.html
File metadata and controls
261 lines (261 loc) · 7.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!DOCTYPE HTML>
<html lang="de">
<head>
<title>Programming C#</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=1274, user-scalable=no">
<link rel="stylesheet" href="themes/styles/style.css">
</head>
<body class="list">
<header class="caption">
<h1>Programming C#</h1>
</header>
<div class="slide cover" id="Cover"><div>
<section>
<header>
<h2>Programming C#</h2>
<h3>Day 8: Project management with Visual Studio, sample projects, other technologies</h3>
</header>
<img src="pictures/cover.jpg" alt="">
</section>
</div></div>
<div class="slide" id="overview"><div>
<section>
<header>
<h2>Content</h2>
</header>
<ul>
<li>The solution explorer</li>
<li>Managing projects</li>
<li>Build rules and events</li>
<li>Using hardware acceleration in WPF</li>
<li>Building dynamic webpages with ASP.NET MVC</li>
<li>Creating simple network services</li>
<li>Games with DirectX or OpenGL</li>
<li>WindowsPhone / Windows store apps</li>
</ul>
</section>
</div></div>
<div class="slide" id="solution-explorer"><div>
<section>
<header>
<h2>The solution explorer</h2>
</header>
<ul>
<li>Add or remove project resources</li>
<li>Set compilation options</li>
<li>Manage dependencies</li>
<li>Setup (remote) debugging</li>
<li>Manage projects</li>
</ul>
</section>
</div></div>
<div class="slide" id="manage-projects"><div>
<section>
<header>
<h2>Manage projects</h2>
</header>
<ul>
<li>A project represents an assembly</li>
<li>There is a huge variety of project templates</li>
<li>Differences: Basic settings, included dependencies, given code</li>
<li>The given code can be a great help</li>
<li>Reduces writing the same code over and over</li>
<li>Also the right target framework is set</li>
</ul>
</section>
</div></div>
<div class="slide" id="build-rules-events"><div>
<section>
<header>
<h2>Build rules and events</h2>
</header>
<ul>
<li>Targets and target CPUs</li>
<li>Debug files</li>
<li>Build order</li>
<li>Generating XML documentation files</li>
<li>Symbols (definitions)</li>
<li>Pre- and post build events</li>
<li>Warning levels</li>
</ul>
</section>
</div></div>
<div class="slide" id="example-project-management"><div>
<section>
<header>
<h2 class="example">→ Example - Project management</h2>
</header>
</section>
</div></div>
<div class="slide" id="wpf"><div>
<section>
<header>
<h2>WPF</h2>
</header>
<ul>
<li>Framework for GUI, based on XAML</li>
<li>Improved binding and styling capabilities</li>
<li>Hardware acceleration of the GUI</li>
<li>Disadvantage: Startup time and memory footprint</li>
<li>Perfect suited for the new MVVM pattern</li>
<li>Distinction: Visual tree and logical tree</li>
<li>Separation is very important</li>
</ul>
</section>
</div></div>
<div class="slide" id="mvvm"><div>
<section>
<header>
<h2>Model-View-ViewModel</h2>
</header>
<img src="pictures/mvvm.png" class="middle r" />
</section>
</div></div>
<div class="slide" id="example-wpf"><div>
<section>
<header>
<h2 class="example">→ Example - WPF</h2>
</header>
<a href="https://github.com/CSharpLecture/Samples/blob/master/day6/WPF" title="Download source" class="example-download">WPF.zip</a>
</section>
</div></div>
<div class="slide" id="asp-net-mvc"><div>
<section>
<header>
<h2>ASP.NET MVC</h2>
</header>
<ul>
<li>ASP introduced the webforms concept</li>
<li>ASP.NET MVC is much closer to the outcome</li>
<li>Very tight control and comfortable flow</li>
<li>Excellent Model-View-Controller implementation</li>
<li>Additionally routes, model helpers, ... included</li>
<li>Very easy to extend and adjust</li>
</ul>
</section>
</div></div>
<div class="slide" id="mvc"><div>
<section>
<header>
<h2>Model-View-Controller</h2>
</header>
<img src="pictures/mvc.png" class="middle r" />
</section>
</div></div>
<div class="slide" id="example-asp-net-mvc"><div>
<section>
<header>
<h2 class="example">→ Example - ASP.NET MVC</h2>
</header>
<a href="https://github.com/CSharpLecture/Samples/blob/master/day6/ASPMVC" title="Download source" class="example-download">ASPMVC.zip</a>
</section>
</div></div>
<div class="slide" id="signalr"><div>
<section>
<header>
<h2>SignalR</h2>
</header>
<ul>
<li>The .NET-Framework offers many ways of writing network services</li>
<li>Very comfortable and powerful: SignalR</li>
<li>Greatest advantage: works perfect with web apps</li>
<li>Here websockets or some fallback like long polling is used</li>
<li>Easy communication between apps</li>
</ul>
</section>
</div></div>
<div class="slide" id="signalr-clients"><div>
<section>
<header>
<h2>A collection of clients</h2>
</header>
<img src="pictures/signalr.png" class="middle r" />
</section>
</div></div>
<div class="slide" id="example-signalr"><div>
<section>
<header>
<h2 class="example">→ Example - SignalR</h2>
</header>
<a href="https://github.com/CSharpLecture/Samples/blob/master/day6/SignalR" title="Download source" class="example-download">SignalR.zip</a>
</section>
</div></div>
<div class="slide" id="games"><div>
<section>
<header>
<h2>Games</h2>
</header>
<ul>
<li>Various game engines exist</li>
<li>Well known and very well working: XNA</li>
<li>For 2D gaming one example is SDL.NET</li>
<li>Cross-platform and established: MonoGame</li>
<li>Another interesting cross-platform engine: WAVE</li>
<li>Under Windows we can use DirectX or OpenGL</li>
</ul>
</section>
</div></div>
<div class="slide" id="example-games"><div>
<section>
<header>
<h2 class="example">→ Example - Games</h2>
</header>
<a href="http://wave.blob.core.windows.net/code/Basic2DPhysics.zip" title="Download source" class="example-download">Basic2DPhysics.zip</a>
</section>
</div></div>
<div class="slide" id="windows-store"><div>
<section>
<header>
<h2>Windows store apps</h2>
</header>
<ul>
<li>C# is one of the official languages for Windows apps</li>
<li>That includes Windows 8, Windows RT, Windows Phone 7 / 8</li>
<li>Windows Store apps are XAML based (like WPF)</li>
<li>However, they can only use the .NET core</li>
<li>They run sandboxed, i.e. with reduced rights</li>
<li>Accessing the filesystem is not (directly) possible</li>
<li>We have to use a new API called WinRT</li>
</ul>
</section>
</div></div>
<div class="slide" id="example-windows-store"><div>
<section>
<header>
<h2 class="example">→ Example - Windows Store apps</h2>
</header>
<a href="https://github.com/CSharpLecture/Samples/blob/master/day6/WindowsStore" title="Download source" class="example-download">WindowsStore.zip</a>
</section>
</div></div>
<div class="slide" id="presentations"><div>
<section>
<header>
<h2>All available presentations</h2>
</header>
<div class="left">
<b>Week 1</b>
<ul>
<li><a href="day1.html">Presentation of Monday</a></li>
<li><a href="day2.html">Presentation of Tuesday</a></li>
<li><a href="day3.html">Presentation of Wednesday</a></li>
<li><a href="day4.html">Presentation of Thursday</a></li>
<li><a href="day5.html">Presentation of Friday</a></li>
</ul>
</div>
<div class="right">
<b>Week 2</b>
<ul>
<li><a href="day6.html">Presentation of Monday</a></li>
<li><a href="day7.html">Presentation of Tuesday</a></li>
<li><a href="day8.html">Presentation of Wednesday</a></li>
<li><a href="day9.html">Presentation of Thursday</a></li>
</ul>
</div>
</section>
</div></div>
<div class="progress"><div></div></div>
<script src="scripts/script.js"></script>
<!-- Copyright © 2013 Florian Rappl, www.florian-rappl.de -->
</body>
</html>