-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
452 lines (427 loc) · 45.5 KB
/
index.html
File metadata and controls
452 lines (427 loc) · 45.5 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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Learn C# and .NET online, code with Saar</title>
<meta name="description"
content="Get better at C# and .NET by building projects with me! Keep coding, keep improving!">
<link rel="canonical" href="https://www.codewithsaar.com/">
<meta property="og:title" content="Learn C# and .NET online, code with Saar">
<meta property="og:locale" content="en_US">
<meta property="og:url" content="https://www.codewithsaar.com/">
<meta property="og:site_name" content="Learn C# and .NET online, code with Saar">
<meta property="og:type" content="website">
<meta property="og:image"
content="https://raw.githubusercontent.com/xiaomi7732/PortfolioV2/main/images/twitter_card_large_summary.png">
<!-- Twitter card -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Learn C# and .NET online, code with Saar">
<meta name="twitter:site" content="@CodeWithSaar">
<meta name="twitter:creator" content="@SaarShen">
<meta name="twitter:image"
content="https://raw.githubusercontent.com/xiaomi7732/PortfolioV2/main/images/twitter_card_large_summary.png">
<meta name="twitter:image:src"
content="https://raw.githubusercontent.com/xiaomi7732/PortfolioV2/main/images/twitter_card_large_summary.png">
<link rel="icon" href="./images/profile.png" type="image/png">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="./style.dark.css" id="dark-theme-css" />
<!-- Javascript -->
<script src="./app.js" type="module"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/bsky-embed@0.2.2/dist/bsky-embed.es.js" async></script>
</head>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0S3FGWXBX3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-0S3FGWXBX3');
</script>
<!-- Main Body -->
<body>
<div id="page-container">
<div id="main-container">
<div class="fake-header-gap"></div>
<div class="header-container">
<!--googleoff: index-->
<div id="themeToggle" title="toggle between light theme or dark theme (ALT+T)" accesskey="t">
<div id="toggleThemePrompt">Ctrl + D to bookmark. Click this 🤔 => </div>
<span id="sun">
☀️
</span>
<span id="moon">
🌛
</span>
</div>
<div id="search">
<input id="search_input" type="search" accesskey="s" placeholder="Search (Alt + S)" />
</div>
<!--googleon: index-->
<h1 class="header-text">
Learn C#/.NET, Code with Saar
</h1>
<div id="nav-bar" class="nav-bar">
<ul>
<li class="active">
<h2 class="navButton" tag="0">What's new</h2>
</li>
<li>
<h2 class="navButton" tag="1">Video Index</h2>
</li>
<li>
<h2 class="navButton" tag="2">My Projects</h2>
</li>
<li>
<h2 class="navButton" tag="3">Gists</h2>
</li>
</ul>
</div>
</div>
<div class="main-content">
<!-- Page 1 What's New -->
<div id="page1" class="main-page-content active">
<h2 class="page-header">What's new</h2>
<div class="youtube-page-description">
💪 Learn C# and .NET, get better by building projects! Keep coding, keep improving!
</div>
<p>I build .NET projects and I share real-world project experience with you to help improve
your coding skills!</p>
<!-- Top 5 videos -->
<div class="paragraph">
<div class="paragraph-header">
<div title="New videos" class="background-icon new-videos-icon"></div>
<h3>New Videos</h3>
</div>
<!-- start:thumbnail --><a href='https://www.youtube.com/watch?v=x3jRpYORsyc' target='_blank'><img src='https://i1.ytimg.com/vi/x3jRpYORsyc/hqdefault.jpg' alt='A image for ASP.NET Core WebAPI Response Return Types | .NET fullstack dev - 012' title='ASP.NET Core WebAPI Response Return Types | .NET fullstack dev - 012' class='yt-thumbnail' /></a><!-- end:thumbnail -->
<!-- start:new-videos --><ul><li class='searchable-item'><a href='https://www.youtube.com/watch?v=x3jRpYORsyc' target='_blank'>ASP.NET Core WebAPI Response Return Types | .NET fullstack dev - 012</a></li><li class='searchable-item'><a href='https://www.youtube.com/watch?v=OP1gl9KcM1A' target='_blank'>Mastering Web API Attribute Routing in ASP.NET Core | .NET fullstack dev - 011</a></li><li class='searchable-item'><a href='https://www.youtube.com/watch?v=aIbJaAj1vLY' target='_blank'>Pick the right HTTP Verb for the WebAPI | .NET fullstack dev - 010</a></li><li class='searchable-item'><a href='https://www.youtube.com/watch?v=97_XR5Kznj4' target='_blank'>Efficiently Building Minimal and Controller-based WebAPIs | .NET fullstack dev - 009</a></li><li class='searchable-item'><a href='https://www.youtube.com/watch?v=VIObIFg0yS0' target='_blank'>Learn RESTful API by building Fishcard: Core concepts | .NET fullstack dev - 008</a></li></ul><!-- end:new-videos -->
<div>
Go to <a href="#" onclick="navigateTo('/videos')">the index</a> for the full list of videos!
</div>
</div>
<!-- Announcements -->
<div class="paragraph">
<div class="paragraph-header">
<div title="Announcements" class="background-icon announcements-icon"></div>
<h3>Announcements</h3>
</div>
<!-- start:announcements --><ul><li class='searchable-item'>[1/20/2025] Published a new NuGet package: <a href='https://www.nuget.org/packages/PrettyLogging.Console' target='_blank' class='highlight-text'>PrettyLogging</a> - Make Microsoft.Extensions.Logging easier on the eyes! | <a href='https://github.com/xiaomi7732/PrettyLogging' target='_blank'>Source Code</a></li><li class='searchable-item'>[12/20/2022] Published new project: <a href='https://roshambo.codewithsaar.com' target='_blank' class='highlight-text'>Roshambo (Rock, Paper and Scissors)</a> - Play a Roshambo with the computer. | <a href='https://www.github.com/xiaomi7732/Roshambo' target='_blank'>Source Code</a></li><li class='searchable-item'>[10/12/2022] Published new project: <a href='https://dep.codewithsaar.com' target='_blank' class='highlight-text'>.NET Project Dependency Analyzer</a> - Visualize your project dependencies | <a href='https://www.github.com/xiaomi7732/ProjectDependencyViz' target='_blank'>Source Code</a></li><li class='searchable-item'>[9/10/2022] Published new project: <a href='https://theme.codewithsaar.net' target='_blank' class='highlight-text'>JS + CSS light/dark mode</a> - HTML/JS/CSS Switch between light/dark theme | <a href='https://www.github.com/xiaomi7732/jsDarkTheme' target='_blank'>Source Code</a></li><li class='searchable-item'>[8/31/2022] Published new project: <a href='https://clock.codewithsaar.net' target='_blank' class='highlight-text'>The clock</a> - HTML/JS PWA clock application | <a href='https://www.github.com/xiaomi7732/jsClock' target='_blank'>Source Code</a></li><li class='searchable-item'>[8/8/2022] Published new project: <a href='https://fishcard.codewithsaar.net' target='_blank' class='highlight-text'>Fishcard</a> - Search what fish to eat while pregnant - Powered by Blazor WASM | <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/dev/saars/fishcard/FishCard' target='_blank'>Source Code</a></li><li class='searchable-item'>[6/9/2022] Published NuGet package: <a href='https://www.nuget.org/packages/CodeWithSaar.Extensions.ContainerId/0.0.2' target='_blank' class='highlight-text'>CodeWithSaar.Extensions.ContainerId 0.0.2</a> - Get container id by one line of code. | <a href='https://github.com/xiaomi7732/CGroupV2ContainerId' target='_blank'>Source Code</a></li><li class='searchable-item'>[5/22/2022] New CLI tool: <a href='https://github.com/xiaomi7732/CosmosSync' target='_blank' class='highlight-text'>Cosmos Sync CLI</a> - Backup Cosmos DB easily | <a href='https://github.com/xiaomi7732/CosmosSync' target='_blank'>Source Code</a></li><li class='searchable-item'>[5/10/2022] New CLI tool: <a href='https://github.com/xiaomi7732/CodeWithSaar.Extensions.ProjectAssets' target='_blank' class='highlight-text'>NuGet.Dependencies</a> - Visualize project / NuGet dependencies | <a href='https://github.com/xiaomi7732/CodeWithSaar.Extensions.ProjectAssets' target='_blank'>Source Code</a></li><li class='searchable-item'>[4/12/2022] Published a new NuGet package: <a href='https://www.nuget.org/packages/CodeWithSaar.Extensions.Logging.File' target='_blank' class='highlight-text'>CodeWithSaar.Extensions.Logging.File</a> - Writing logs to file by one line of code | <a href='https://github.com/xiaomi7732/CodeWithSaar.Extensions.Logging' target='_blank'>Source Code</a></li><li class='searchable-item'>[3/2/2022] Published a new project: <a href='https://stack.codewithsaar.net' target='_blank' class='highlight-text'>Stack Beauty</a> - Pretty print any stack trace and make stack reading easier | <a href='https://github.com/xiaomi7732/StackBeauty' target='_blank'>Source Code</a></li><li class='searchable-item'>[1/30/2022] Published a new version: <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank' class='highlight-text'>NumberIt (CodeNameK)</a> - 1.0.0-beta2 | <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank'>Source Code</a></li><li class='searchable-item'>[1/8/2022] Published a new version: <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank' class='highlight-text'>NumberIt (CodeNameK)</a> - 1.0.0-beta1 | <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank'>Source Code</a></li><li class='searchable-item'>[12/31/2021] Published a page: <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank' class='highlight-text'>NumberIt Release Page</a> - Detail about NumberIt | <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank'>Source Code</a></li></ul><!-- end:announcements -->
</div>
</div>
<!-- Page 2: Video Index -->
<div id="page2" class="main-page-content">
<h2 class="page-header">Video Index</h2>
<div class="youtube-page-description">
<div class="background-icon youtube-icon" alt="An image of YouTube"></div>C# YouTube videos - organized ... a bit.
</div>
<!-- Getting Started -->
<div class="paragraph">
<div class="paragraph-header">
<h3>Getting Started</h3>
</div>
<!-- start:videos-getting-started --><ul><li class='searchable-item'><a href='https://youtu.be/O_Un6_2mhL0' target='_blank'>How to download .NET</a></li><li class='searchable-item'><a href='https://youtu.be/yJ-buQg09Qc' target='_blank'>How to Build C# Projects</a></li><li class='searchable-item'><a href='https://youtu.be/uQrs6ioZfzs' target='_blank'>C# project</a></li><li class='searchable-item'><a href='https://youtu.be/pJETdpS5PR8' target='_blank'>Project reference</a></li></ul><!-- end:videos-getting-started -->
</div>
<!-- Fundamentals -->
<div class="paragraph">
<div class="paragraph-header">
<h3>Fundamentals</h3>
</div>
<ul>
<li>C# Language Features
<!-- start:videos-language-features --><ul><li class='searchable-item'><a href='https://youtu.be/L5SN2-agGaY' target='_blank'>C# Delegate</a></li><li class='searchable-item'><a href='https://youtu.be/RH4B_i-nq44' target='_blank'>Extension Method</a></li><li class='searchable-item'><a href='https://youtu.be/lO622PQuPBc' target='_blank'>Computed Properties</a></li></ul><!-- end:videos-language-features -->
</li>
<li>ASP.NET Core
<!-- start:videos-aspnetcore --><ul><li class='searchable-item'><a href='https://youtu.be/VIObIFg0yS0' target='_blank'>RESTful API</a></li><li class='searchable-item'><a href='https://youtu.be/97_XR5Kznj4' target='_blank'>Get Started by Create WebAPI (Minimal / Controller-based)</a></li><li class='searchable-item'><a href='https://www.youtube.com/watch?v=aIbJaAj1vLY' target='_blank'>Pick the right HTTP Verb</a></li><li class='searchable-item'><a href='https://youtu.be/OP1gl9KcM1A' target='_blank'>Use Attribute Routing</a></li><li class='searchable-item'><a href='https://youtu.be/x3jRpYORsyc' target='_blank'>Pick correct Response Return Types</a></li><li class='searchable-item'><a href='https://youtu.be/3eFQkchyF2A' target='_blank'>ASP.NET Core WebAPI CORS error fixed and explained</a></li><li class='searchable-item'><a href='https://youtu.be/K9sBI9ZFxRA' target='_blank'>ASP.NET Core Pipeline</a></li></ul><!-- end:videos-aspnetcore -->
</li>
<li>Increase code quality, reduce bugs for debugging
<!-- start:videos-high-quality-code --><ul><li class='searchable-item'><a href='https://youtu.be/IjjHp8PWbn4' target='_blank'>Dispose unmanaged resource correctly by IDisposable</a></li><li class='searchable-item'><a href='https://youtu.be/Ny8us1qb-E0' target='_blank'>Why async void is evil? How to use it safely when needed?</a></li><li class='searchable-item'><a href='https://youtu.be/XBBlicTQjyg' target='_blank'>Design code for change</a></li><li class='searchable-item'><a href='https://youtu.be/qxdVHBO_qxc' target='_blank'>Static Methods are BAD</a></li><li class='searchable-item'><a href='https://youtu.be/pyKKrO2-daY' target='_blank'>Use Empty instead null for all enumerable</a></li><li class='searchable-item'><a href='https://youtu.be/5p8ZXdVP_Lo' target='_blank'>Bug Study: Async Exception escaped the Exception Handler</a></li></ul><!-- end:videos-high-quality-code -->
</li>
<li>Real project experience
<ul>
<li>Feature implementation
<!-- start:videos-implement-features --><ul><li class='searchable-item'><a href='https://youtu.be/NljQx11YqNY' target='_blank'>Graph APIs: How to Use OAuth 2.0 to Access Microsoft GraphAPI/OneDrive</a></li><li class='searchable-item'><a href='https://youtu.be/xh0uu4z9-rE' target='_blank'>Graph APIs: Use Microsoft Graph .NET SDK with Azure.Identity</a></li><li class='searchable-item'><a href='https://youtu.be/yuoAWP3wn80' target='_blank'>Graph APIs: Upload large file w/ progress to OneDrive</a></li><li class='searchable-item'><a href='https://youtu.be/MpM5NIyq18I' target='_blank'>Deep Clone with Serializer</a></li><li class='searchable-item'><a href='https://youtu.be/5R3yXyKWk98' target='_blank'>Benchmark: Manual Serialization vs Json Serializer</a></li></ul><!-- end:videos-implement-features -->
</li>
<li>System design
<!-- start:videos-system-design --><ul><li class='searchable-item'><a href='https://youtu.be/b9PRGqTKCWQ' target='_blank'>How to use C# Channel to implement better syncing experience</a></li><li class='searchable-item'><a href='https://youtu.be/TcHkM5332Ho' target='_blank'>User Options with IOptionsMonitor and JsonSerializer</a></li><li class='searchable-item'><a href='https://youtu.be/-w_b925PSfE' target='_blank'>Encoding Filename by Build an Encoder / Decoder</a></li><li class='searchable-item'><a href='https://youtu.be/g1wyDi254Yw' target='_blank'>Two way data synchronization challenge</a></li><li class='searchable-item'><a href='https://youtu.be/psYWy6KJTyg' target='_blank'>Immutable - an extraordinary strategy for two-way synchronization</a></li></ul><!-- end:videos-system-design -->
</li>
</ul>
</li>
</ul>
</div>
<!-- Advanced topics -->
<div class="paragraph">
<div class="paragraph-header">
<h3>Advanced Topics</h3>
</div>
<ul>
<li>Authentication / Authorization -
<!-- start:videos-auth --><ul><li class='searchable-item'><a href='https://youtu.be/Ph8ddTRQ0eo' target='_blank'>JWT Authentication Overview</a></li><li class='searchable-item'><a href='https://youtu.be/vMJZD3ls7Hc' target='_blank'>Role Based Authorization</a></li><li class='searchable-item'><a href='https://youtu.be/NKNIOxcEOso' target='_blank'>Policy Based Authorization</a></li><li class='searchable-item'><a href='https://youtu.be/TWBXiCS0RYM' target='_blank'>JWT with Refresh Token</a></li><li class='searchable-item'><a href='https://youtu.be/tLgdbTqQp7Q' target='_blank'>End to End Example</a></li><li class='searchable-item'><a href='https://youtu.be/NljQx11YqNY' target='_blank'>GraphAPI Auth: How to Use OAuth 2.0 to Access Microsoft GraphAPI/OneDrive</a></li></ul><!-- end:videos-auth -->
</li>
</ul>
<ul>
<li>Logging <a
href='https://www.youtube.com/playlist?list=PLxWo8vu0UTZ0ili6v2ERQWLJWQlJDP3SH'
target="_blank">Playlist</a> |
<a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/Funds/Logging'
target="_blank">Code</a>
<!-- start:videos-logging --><ul><li class='searchable-item'><a href='https://youtu.be/gRdi7Z-T9JI' target='_blank'>.NET (C#) Logging with ILogger</a></li><li class='searchable-item'><a href='https://youtu.be/NDm_VPwaDjI' target='_blank'>Benchmark: High performance logging in .NET</a></li><li class='searchable-item'><a href='https://youtu.be/3RUpYR4dZM4' target='_blank'>How to implement custom logging provider for file</a></li><li class='searchable-item'><a href='https://youtu.be/3Z3yemyikNc' target='_blank'>How to support user configuration for a logging provider</a></li></ul><!-- end:videos-logging -->
</li>
</ul>
<ul>
<li>Dependency Injection <a
href='https://www.youtube.com/playlist?list=PLxWo8vu0UTZ3gVT-AoDpyOoIS-XnbwS58'
target="_blank">Playlist</a> |
<a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/DI'
target="_blank">Code</a>
<!-- start:videos-di --><ul><li class='searchable-item'><a href='https://youtu.be/YnBPjt2dBWk' target='_blank'>Learn DI by printing a JSON dog</a></li><li class='searchable-item'><a href='https://youtu.be/cYV1JmWiTHQ' target='_blank'>DI in .NET Core & ASP.NET Core</a></li><li class='searchable-item'><a href='https://youtu.be/MkORmRZrljo' target='_blank'>Service lifetime in DI container of ASP.NET Core</a></li><li class='searchable-item'><a href='https://youtu.be/8z1oJSPabLw' target='_blank'>Three Anti-Patterns</a></li><li class='searchable-item'><a href='https://youtu.be/9Ocjb-NLGhw' target='_blank'>Factory Pattern in DI</a></li></ul><!-- end:videos-di -->
</li>
</ul>
<ul>
<li>Configuration / Options
<!-- start:videos-configuration --><ul><li class='searchable-item'><a href='https://youtu.be/fUSuD84Pr0U' target='_blank'>Options pattern</a></li><li class='searchable-item'><a href='https://youtu.be/CnPAhy6M00U' target='_blank'>Option in Depth</a></li><li class='searchable-item'><a href='https://youtu.be/LbPGciA_NDk' target='_blank'>C# Configuration Providers</a></li></ul><!-- end:videos-configuration -->
</li>
</ul>
</div>
<!-- Client WebSite -->
<div class="paragraph">
<div class="paragraph-header">
<h3>Blazor Web Assembly(WASM)</h3>
</div>
<!-- start:videos-blazor-client --><ul><li class='searchable-item'><a href='https://youtu.be/bE0mNuyoLhk' target='_blank'>Learn Blazor by building fishcard | .NET fullstack dev - 001</a></li><li class='searchable-item'><a href='https://youtu.be/4B87xqF1re0' target='_blank'>Learn Blazor Routing and Navigation by building fishcard | .NET fullstack dev - 002</a></li><li class='searchable-item'><a href='https://youtu.be/ByCXGvN5bkU' target='_blank'>Learn Blazor Client Component by building fishcard | .NET fullstack dev - 003</a></li><li class='searchable-item'><a href='https://youtu.be/EpasIuKs5G8' target='_blank'>Build fishcard by Blazor step by step in less than 12 minutes | .NET fullstack dev - 004</a></li><li class='searchable-item'><a href='https://youtu.be/OQ7QR3ysK3s' target='_blank'>Use Event handling, DI, Datalist in building fishcard | .NET fullstack dev - 005</a></li><li class='searchable-item'><a href='https://youtu.be/vAgP_oVKvLs' target='_blank'>Learn CSS Styles and CSS Isolation by building fishcard | .NET fullstack dev - 006</a></li><li class='searchable-item'><a href='https://youtu.be/N3wmKqE_tTY' target='_blank'>Learn Blazor by building Fishcard: looking back, moving forward | .NET fullstack dev - 007</a></li></ul><!-- end:videos-blazor-client -->
</div>
<!-- Mobile Xamarin -->
<div class="paragraph">
<div class="paragraph-header">
<h3>Mobile / Xamarin</h3>
</div>
<!-- start:videos-xamarin --><ul><li class='searchable-item'><a href='https://youtu.be/OzTwh1ZqFM4' target='_blank'>Xamarin Android Layout - what to master or to avoid in 2022</a></li><li class='searchable-item'><a href='https://youtu.be/olVAweQAxys' target='_blank'>Learn Coordinator Layout to build a beautiful activity</a></li><li class='searchable-item'><a href='https://youtu.be/PVTBRHSKB-U' target='_blank'>How to build a Custom Dialog in Xamarin works with lifetime events</a></li><li class='searchable-item'><a href='https://youtu.be/0wywqtTvZqg' target='_blank'>How to use async await to load data in Xamarin Activity</a></li><li class='searchable-item'><a href='https://youtu.be/7YJHBX1abfs' target='_blank'>Access File System</a></li></ul><!-- end:videos-xamarin -->
</div>
</div>
<div id="page3" class="main-page-content">
<h2 class="page-header">My Projects</h2>
<div class="youtube-page-description">
⚒️ Practice! Practice! Practice!
</div>
<!-- start:demo-projects -->
<!-- Roshambo (Rock, Paper and Scissors) -->
<div class='project-container'>
<div class='project-preview-img'><a href='https://roshambo.codewithsaar.com/' target='_blank'><img src='./images/project-preview-roshambo.png' alt='An image of project Roshambo (Rock, Paper and Scissors)'/></a></div>
<div class='project-introduction'>
<div class='project-title'>
<h3>Roshambo (Rock, Paper and Scissors)</h3>
</div>
<div class='project-content'>
<div>
<span class='highlight-text'>Website:</span> <a href='https://roshambo.codewithsaar.com/' target='_blank' title='Click to open https://roshambo.codewithsaar.com/'>Open the website</a>
</div>
<div>
<span class='highlight-text'>Source Code:</span> <a href='https://github.com/xiaomi7732/Roshambo'
target='_blank'>Open it on GitHub</a>
</div>
<div>
<span class='highlight-text'>Highlights:</span> <span>Javascript, .NET 6 Minimal API, RESTful</span>
</div>
<div class='highlight-text'>Description</div>
<div>Play a Roshambo game with the computer.</div>
</div>
</div>
</div>
<!-- .NET Project Dependency Analyzer -->
<div class='project-container'>
<div class='project-preview-img'><a href='https://dep.codewithsaar.com/' target='_blank'><img src='./images/project-preview-dep.png' alt='An image of project .NET Project Dependency Analyzer'/></a></div>
<div class='project-introduction'>
<div class='project-title'>
<h3>.NET Project Dependency Analyzer</h3>
</div>
<div class='project-content'>
<div>
<span class='highlight-text'>Website:</span> <a href='https://dep.codewithsaar.com/' target='_blank' title='Click to open https://dep.codewithsaar.com/'>Open the website</a>
</div>
<div>
<span class='highlight-text'>Source Code:</span> <a href='https://github.com/xiaomi7732/ProjectDependencyViz'
target='_blank'>Open it on GitHub</a>
</div>
<div>
<span class='highlight-text'>Highlights:</span> <span>Blazor WebAssembly, D3</span>
</div>
<div class='highlight-text'>Description</div>
<div>Visualize your application's dependency chains.</div>
</div>
</div>
</div>
<!-- Fishcard -->
<div class='project-container'>
<div class='project-preview-img'><a href='https://fishcard.codewithsaar.net' target='_blank'><img src='./images/project-preview-fishcard.png' alt='An image of project Fishcard'/></a></div>
<div class='project-introduction'>
<div class='project-title'>
<h3>Fishcard</h3>
</div>
<div class='project-content'>
<div>
<span class='highlight-text'>Website:</span> <a href='https://fishcard.codewithsaar.net' target='_blank' title='Click to open https://fishcard.codewithsaar.net'>Open the website</a>
</div>
<div>
<span class='highlight-text'>Source Code:</span> <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/dev/saars/fishcard/FishCard'
target='_blank'>Open it on GitHub</a>
</div>
<div>
<span class='highlight-text'>Highlights:</span> <span>Blazor WebAssembly</span>
</div>
<div class='highlight-text'>Description</div>
<div>Search for safe fish to buy and eat!</div>
</div>
</div>
</div>
<!-- The Clock -->
<div class='project-container'>
<div class='project-preview-img'><a href='https://clock.codewithsaar.net' target='_blank'><img src='./images/project-preview-clock.png' alt='An image of project The Clock'/></a></div>
<div class='project-introduction'>
<div class='project-title'>
<h3>The Clock</h3>
</div>
<div class='project-content'>
<div>
<span class='highlight-text'>Website:</span> <a href='https://clock.codewithsaar.net' target='_blank' title='Click to open https://clock.codewithsaar.net'>Open the website</a>
</div>
<div>
<span class='highlight-text'>Source Code:</span> <a href='https://github.com/xiaomi7732/jsClock'
target='_blank'>Open it on GitHub</a>
</div>
<div>
<span class='highlight-text'>Highlights:</span> <span>Javascript, CSS, PWA(Progress Web Application)</span>
</div>
<div class='highlight-text'>Description</div>
<div>A PWA application that displays a clock with seconds on it. This is a project to address the problem that the timer on Windows 11 Taskbar doesn't show seconds.</div>
</div>
</div>
</div>
<!-- Stack Beauty -->
<div class='project-container'>
<div class='project-preview-img'><a href='https://stack.codewithsaar.net' target='_blank'><img src='./images/project-preview-stackbeauty.png' alt='An image of project Stack Beauty'/></a></div>
<div class='project-introduction'>
<div class='project-title'>
<h3>Stack Beauty</h3>
</div>
<div class='project-content'>
<div>
<span class='highlight-text'>Website:</span> <a href='https://stack.codewithsaar.net' target='_blank' title='Click to open https://stack.codewithsaar.net'>Open the website</a>
</div>
<div>
<span class='highlight-text'>Source Code:</span> <a href='https://github.com/xiaomi7732/StackBeauty'
target='_blank'>Open it on GitHub</a>
</div>
<div>
<span class='highlight-text'>Highlights:</span> <span>.NET WebAPI backend + Javascript Frontend, Dark Mode Light Mode support</span>
</div>
<div class='highlight-text'>Description</div>
<div>Pretty print any stack trace and make stack reading easier.</div>
</div>
</div>
</div>
<!-- NumberIt - CodeNameK -->
<div class='project-container'>
<div class='project-preview-img'><a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank'><img src='./images/project-preview-number-it.png' alt='An image of project NumberIt - CodeNameK'/></a></div>
<div class='project-introduction'>
<div class='project-title'>
<h3>NumberIt - CodeNameK</h3>
</div>
<div class='project-content'>
<div>
<span class='highlight-text'>Website:</span> <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK' target='_blank' title='Click to open https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK'>Open the website</a>
</div>
<div>
<span class='highlight-text'>Source Code:</span> <a href='https://github.com/xiaomi7732/CodeWithSaar/tree/main/CodeNameK'
target='_blank'>Open it on GitHub</a>
</div>
<div>
<span class='highlight-text'>Highlights:</span> <span>WPF, MVVM, Data Sync over OneDrive</span>
</div>
<div class='highlight-text'>Description</div>
<div>Record the numbers for your daily life.</div>
</div>
</div>
</div>
<!-- end:demo-projects -->
<!-- Other projects -->
<div class="paragraph">
<div class="paragraph-header">
<h3>Other projects</h3>
</div>
<!-- start:other-projects --><ul><li class='searchable-item'><a href='https://github.com/xiaomi7732/CodeWithSaar.Extensions.ProjectAssets' target='_blank'>NuGet dependency visualizer</a></li><li class='searchable-item'><a href='https://www.nuget.org/packages/CodeWithSaar.Extensions.Logging.File' target='_blank'>File Logging Extension for ILogger</a></li><li class='searchable-item'><a href='https://www.nuget.org/packages/CodeWithSaar.JWTAuthentication.WebAPI' target='_blank'>JWT Auth for AspNetCore WebAPI</a></li></ul><!-- end:other-projects -->
</div>
</div>
<div id="page4" class="main-page-content">
<h2 class="page-header">Gists</h2>
<div class="youtube-page-description">
<span>
📝 Cheat-sheets, notes, sometimes blogs - on Gists. Open all
on <a href="https://gist.github.com/xiaomi7732" alt="Github Gists"
target="_blank">Github Gists</a>.
</span>
</div>
<div class="paragraph">
<!-- start:gists --><ul><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/d781bbaf39b0425df69d4c41ce4a09f2' target='_blank'>Hidden Bug Caused by Static Member Initialization</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/40750c0765ffd125a833961c355b5bcd' target='_blank'>Run SQL Express in a Container</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/cb6bd0c45a189059183d3991480f01c7' target='_blank'>Deploy .NET 8 to Linux Azure App Service Using ARM Templates</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/c96c427b3d0ac971bc6c012a634d0a0b' target='_blank'>Run asynchronous code before hosting get started</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/2b531bad9a6f88ee49483a1975a47166' target='_blank'>Handling Special Characters in RouteValues for CreatedAtAction</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/07fe85c4fe80387d0318c1740ae8d078' target='_blank'>How to replace a service in C# dependency injection</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/eb097ebcbe7ffe5c568ccbcf3b334c25' target='_blank'>Hash a string into a guid</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/5639a0b17adac3a4dc21bd95c2065486' target='_blank'>Link external file in csproj for compiling</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/9c5ecaf9306632a378699c22d84152fa' target='_blank'>Dockerize an ASP.NET Core Web Application</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/a0cb942121f1bef0d48219260e440f8b' target='_blank'>Bash into containers - docker or k8s</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/a17a17925fb9cb913f921262e43ec501' target='_blank'>My Git Cheatsheet</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/f8fa6c0ea5528310c70fad5687aeeefd' target='_blank'>How to use matrix and condition in GitHub Actions</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/0bac0f9e31fc56e4fbde6b2bf91e2d9a' target='_blank'>Init a submodule in github</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/76ee2cb6d46435872309e491c787b545' target='_blank'>Directory.Build.props example</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/c097c89e4fdf1bf8923c302bcf553930' target='_blank'>Get proper disk space for mounted volume</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/a0af8fc802a4a7624768f09fa0dc0074' target='_blank'>Clean binding options pattern for writing class library</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/834f28034c64af91492392b5b7d36fa5' target='_blank'>How did I leverage .NET 7 Polymorphic Serialization when building Roshambo API</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/b1a20083fc1f7eb980e1eddeca492785' target='_blank'>How to verify SHA256 signature by GitHub WebHooks in ASP.NET Core WebAPI</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/e12f045a805c68b8d30b8c1cdd1cde71' target='_blank'>Customize thread pool defaults, avoid the caveats</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/d4e9b023609322d0414a3790e3df625d' target='_blank'>Make an optional service in .NET DI container</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/2dec34890817d9f1283d65260558878e' target='_blank'>Set default namespace for kubectl</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/591a4b55a380b629d88e1f388f709ec0' target='_blank'>Do not rely on autostart of Blazor wasm</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/5cc70ed3811ff660bdf2e0536319f421' target='_blank'>Get .NET Native Symbols</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/ff189df803f1193db39d5be646b34b0f' target='_blank'>Find a port taken by the process on Windows</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/50da8f8f739a1ed05b2fde667cd9ba9f' target='_blank'>Use HttpFactory for multiple HttpClients in Blazor WASM</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/585c2a7b8cdfb419ae46c2e62d2eccfc' target='_blank'>What happens when you call ConfigureOptions<T> on IServiceCollection</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/20ff2ad11b085a851759d3835b95c8d7' target='_blank'>Configure JWT Bearer Options based on another option</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/9b4632d57b0159c3e887c36ef3fa23df' target='_blank'>Detect duplications in real project scenario</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/4ef6a710c1f5a4dc84ea1963132cdfb7' target='_blank'>Hit K8s pod quickly for testing</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/4dc8a6d6b0c971b82ab96810e637b446' target='_blank'>JWT Multiple Roles</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/b27f53e0473371517ecc0787be68d0c1' target='_blank'>Minimum .editorConfig</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/ebc60425b8cc19ecde28d0564b0be6c9' target='_blank'>Apex custom domain binding for GitHub pages</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/444df06b5de5c047f3e064c18f3393fe' target='_blank'>Custom domain binding for Github pages</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/347f3d75c563205c211ebe22d779151e' target='_blank'>How to debug Azure Function Auto Scale</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/0374a90f8717a5d24894e5632e81c461' target='_blank'>How to enable Azure Function Scale Controller Logs</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/ad69c040c1468682e1d6173ee9b2509e' target='_blank'>Copy files to output folder on build in csproj</a></li><li class='searchable-item'><a href='https://gist.github.com/xiaomi7732/146dd6ea68483b7215e336ca4783d4e6' target='_blank'>Hidden Disposables</a></li></ul><!-- end:gists -->
</div>
</div>
</div>
</div>
<div id="side-bar-container">
<div class="fake-header-gap"></div>
<div class="side-bar-content">
<div id="side-bar-header">
<img src="./images/connect-with-me-icon-24.png" alt="connect with me icon" width="24px"
height="24px" />
<div>Connect with me</div>
</div>
<div id="profile-pic">
<a href="https://www.youtube.com/codewithsaar" target="_blank">
<img src="./images/profile.png" alt="Profile Photo" width="128" height="128" />
</a>
</div>
<div id="social-item-container">
<div class="social-item-column">
<!-- Intended place holder -->
</div>
<div class="social-item-column">
<!-- start:social-media-list -->
<!-- Code w/ Saar -->
<div class='social-item'>
<div class='background-icon social-item-icon social-item-youtube'></div>
<div class='social-item-text'><a href='https://youtube.com/codewithsaar' target='_blank' alt="Code w/ Saar on youtube" title="Code w/ Saar on youtube">Code w/ Saar</a></div>
</div>
<!-- xiaomi7732 -->
<div class='social-item'>
<div class='background-icon social-item-icon social-item-github'></div>
<div class='social-item-text'><a href='https://github.com/xiaomi7732' target='_blank' alt="xiaomi7732 on github" title="xiaomi7732 on github">xiaomi7732</a></div>
</div>
<!-- @codewithsaar.com -->
<div class='social-item'>
<div class='background-icon social-item-icon social-item-bluesky'></div>
<div class='social-item-text'><a href='https://bsky.app/profile/codewithsaar.com' target='_blank' alt="@codewithsaar.com on bluesky" title="@codewithsaar.com on bluesky">@codewithsaar.com</a></div>
</div>
<!-- @saar@twit.social -->
<div class='social-item'>
<div class='background-icon social-item-icon social-item-mastodon'></div>
<div class='social-item-text'><a href='https://twit.social/@saar' target='_blank' alt="@saar@twit.social on mastodon" title="@saar@twit.social on mastodon">@saar@twit.social</a></div>
</div><!-- end:social-media-list -->
</div>
<div class="social-item-column">
<!-- Intended place holder -->
</div>
</div>
<div class='my-social'>
<bsky-embed username="codewithsaar.com" mode="dark" limit="2" link-target="_blank"
link-image="false"
custom-styles=".w-full { width: 85%; }">
</bsky-embed>
</div>
<div class="side-bar-footer">
<div>This site is hosted on GitHub.</div>
<div><a href="https://github.com/xiaomi7732/CodeWithSaar/tree/main/docs" target="_blank">See source
code.</a></div>
</div>
</div>
</div>
</div>
</body>
</html>