-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathposts.html
More file actions
2083 lines (1781 loc) · 120 KB
/
posts.html
File metadata and controls
2083 lines (1781 loc) · 120 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
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="always learning | always growing">
<title>Always Developing - Posts</title>
<link rel="canonical" href="https://alwaysdeveloping.net/posts">
<link type="application/rss+xml" rel="alternate" href="/feed.rss" />
<link type="application/atom+xml" rel="alternate" href="/feed.atom" />
<meta name="application-name" content="Always Developing" />
<meta name="msapplication-tooltip" content="Always Developing" />
<meta name="msapplication-starturl" content="/" />
<meta property="og:title" content="Always Developing - Posts" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://alwaysdeveloping.net/posts" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<!-- Bootstrap core CSS -->
<link href="/vendor/bootstrap/scss/bootstrap.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link href="/vendor/fontawesome-free/css/brands.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css' data-no-mirror>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css' data-no-mirror>
<!-- Custom styles for this template -->
<link href="/scss/always-developing-blog.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.19.0/components/prism-core.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.19.0/plugins/autoloader/prism-autoloader.min.js" data-no-mirror></script>
<script src="https://cdn.jsdelivr.net/npm/quicklink@2.0.0/dist/quicklink.umd.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.19.0/themes/prism.css">
<!-- Lunr search -->
<script src="https://cdn.jsdelivr.net/npm/lunr@2.3.9/lunr.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pako@2.0.3/dist/pako_inflate.min.js"></script>
<script src="/search.js"></script>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand" href="/">
<img src="/images/ad_logo.png" alt="" width="25" height="25" class="d-inline-block align-text-top">
Always Developing
</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/software">Software</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/tags">Tags</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/posts">Posts</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about">About</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0" action="/search" method="GET">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" name="query">
<input type="submit" hidden />
</form>
</div>
</div>
</nav>
<!-- Page Header -->
<header class="masthead">
<div class="container">
<div class="row">
<div class="col-md-2 align-middle">
<div class="post-header-image">
<a href="/">
<img src="/images/ad_logo.png" class="header-image">
</a>
</div>
</div>
<div class="col-md-10">
<div class="site-heading">
<h1>
Posts
</h1>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<div class="container">
<div class="row">
<div id="content" class="col-md-12">
<h1 class="bg-dark text-light p-2">2023</h1>
<div class="post-preview">
<h3 class="post-title"><a href="/p/2023-07-source-gen-toolkit">Introducing the Source Generator Toolkit</a></h3>
<div class="post-subtitle">Source Generators made easier!</div>
<p class="post-meta">Published on Monday, 24 July 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/p/2023-05-interface-extension">Sharing a common method across classes</a></h3>
<div class="post-subtitle">Leverage interfaces and extension methods and to share a common method</div>
<p class="post-meta">Published on Friday, 26 May 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/02/01-daily-drop-wrap">Daily Drop wrap-up</a></h3>
<div class="post-subtitle">A wrap-up on a year's worth of Daily Drop posts</div>
<p class="post-meta">Published on Wednesday, 01 February 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/31-ef-unmapped-types">EF queries on unmapped types</a></h3>
<div class="post-subtitle">Introducing the ability to execute raw queries on unmapped types</div>
<p class="post-meta">Published on Tuesday, 31 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/30-araypool">ArrayPool for frequent array creation</a></h3>
<div class="post-subtitle">Using ArrayPool for performant memory reuse when creating array frequently</div>
<p class="post-meta">Published on Monday, 30 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/27-expression-body-constructor">Expression-body constructor</a></h3>
<div class="post-subtitle">How to write a constructor body as an expression</div>
<p class="post-meta">Published on Friday, 27 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/26-async-constructor">Calling an async method in a constructor</a></h3>
<div class="post-subtitle">Using lazy initialization to call an async method from a constructor</div>
<p class="post-meta">Published on Thursday, 26 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/25-dictionary-comparer">Case-less Dictionary keys</a></h3>
<div class="post-subtitle">How to ignore the case of Dictionary keys when performing operations</div>
<p class="post-meta">Published on Wednesday, 25 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/24-lambda-vs-method">LINQ lambda vs method group</a></h3>
<div class="post-subtitle">Comparing lambda and method groups when using LINQ</div>
<p class="post-meta">Published on Tuesday, 24 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/23-task-delay">Task.Delay accuracy</a></h3>
<div class="post-subtitle">Learning about the accuracy of Task.Delay with small time frames</div>
<p class="post-meta">Published on Monday, 23 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/20-linq-count">LINQ Any/All over Count</a></h3>
<div class="post-subtitle">Use the Any or All methods instead of the Count method</div>
<p class="post-meta">Published on Friday, 20 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/19-elide-await">Eliding await keyword</a></h3>
<div class="post-subtitle">How and why the await keyword should be elided</div>
<p class="post-meta">Published on Thursday, 19 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/18-string-length">Accurate string length</a></h3>
<div class="post-subtitle">String.Length for inaccurate string length and how to get the correct length</div>
<p class="post-meta">Published on Wednesday, 18 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/17-non-to-generic">Non-generic to generic method call</a></h3>
<div class="post-subtitle">How to call into a generic method from a non-generic method</div>
<p class="post-meta">Published on Tuesday, 17 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/16-for-cancellation">Cancelling a collection iteration</a></h3>
<div class="post-subtitle">Using a CancellationToken to exit a collection iteration</div>
<p class="post-meta">Published on Monday, 16 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/13-endpoint-withname">Naming minimal endpoints</a></h3>
<div class="post-subtitle">Naming minimal endpoints for easier link generation</div>
<p class="post-meta">Published on Friday, 13 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/12-endpoint-iparseable">Request binding with IParseable</a></h3>
<div class="post-subtitle">Using IParseable to bind primitive types to more complex entities</div>
<p class="post-meta">Published on Thursday, 12 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/11-is-disinct-from">SQL: IS DISTINCT FROM</a></h3>
<div class="post-subtitle">Comparing two expressions with NULL support in SQL</div>
<p class="post-meta">Published on Wednesday, 11 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/10-mvc-cache">Caching MVC responses</a></h3>
<div class="post-subtitle">How to cache the response from an MVC controller to increase service performance</div>
<p class="post-meta">Published on Tuesday, 10 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/09-ef-startup">Database creation on startup</a></h3>
<div class="post-subtitle">Using dependency injection to create an EF database on startup</div>
<p class="post-meta">Published on Monday, 09 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/06-linq-distinct">LINQ DistinctBy</a></h3>
<div class="post-subtitle">Using DistinctBy to get a unique collection of items</div>
<p class="post-meta">Published on Friday, 06 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/05-new-stopwatch">Efficient Stopwatch usage</a></h3>
<div class="post-subtitle">New .NET 7 feature to make StopWatch usage more efficient</div>
<p class="post-meta">Published on Thursday, 05 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/04-multi-attributes">Combining multiple attributes</a></h3>
<div class="post-subtitle">Combining multiple attributes into a single line</div>
<p class="post-meta">Published on Wednesday, 04 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/03-ef-value-converter">Converting values with EF</a></h3>
<div class="post-subtitle">Converting properties when reading and writing to a database using Entity Framework</div>
<p class="post-meta">Published on Tuesday, 03 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2023/01/02-exception-helpers">.NET 8 Exception helpers</a></h3>
<div class="post-subtitle">Throwing exceptions is becoming much easier in .NET 8</div>
<p class="post-meta">Published on Monday, 02 January 2023</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-group-buffer"><br /></div>
<h1 class="bg-dark text-light p-2">2022</h1>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/16-ef-conventions">Entity Framework conventions</a></h3>
<div class="post-subtitle">Customizing Entity Framework through the use of conventions</div>
<p class="post-meta">Published on Friday, 16 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/p/2022-12-holiday">Holiday Break 2022</a></h3>
<div class="post-subtitle">Taking a break until 2023</div>
<p class="post-meta">Published on Friday, 16 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/15-frozen-collection">.NET8 Frozen collection</a></h3>
<div class="post-subtitle">New Frozen collection (potentially) being introduced with .NET8</div>
<p class="post-meta">Published on Thursday, 15 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/14-http-query">New HTTP methods</a></h3>
<div class="post-subtitle">How to handle new or custom HTTP methods</div>
<p class="post-meta">Published on Wednesday, 14 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/13-ef-tags">EF tags and interceptors</a></h3>
<div class="post-subtitle">Modifying EF generated SQL with tags and interceptors</div>
<p class="post-meta">Published on Tuesday, 13 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/12-enum-iteration">Enum iteration</a></h3>
<div class="post-subtitle">Using Enum.GetValues to iteration through enum values</div>
<p class="post-meta">Published on Monday, 12 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/09-unsafe-add">Fast, potentially unsafe iteration</a></h3>
<div class="post-subtitle">Using CollectionsMarshal, MemoryMarshal and Unsafe for fast looping</div>
<p class="post-meta">Published on Friday, 09 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/08-ef-group-by">EF7 GroupBy support</a></h3>
<div class="post-subtitle">Entity Framework 7 adds supports for GroupBy as the final operator</div>
<p class="post-meta">Published on Thursday, 08 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/07-unreachable-exception">Unreachable code and UnreachableException</a></h3>
<div class="post-subtitle">UnreachableException - the new exception which should never be thrown</div>
<p class="post-meta">Published on Wednesday, 07 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/06-getallocatedbytes">Determining bytes of memory allocated</a></h3>
<div class="post-subtitle">Using GetAllocatedBytesForCurrentThread to get the allocated bytes in a thread</div>
<p class="post-meta">Published on Tuesday, 06 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/05-iparseable">Parse a string to anything</a></h3>
<div class="post-subtitle">Parsing a string to any object type with the IParseable interface</div>
<p class="post-meta">Published on Monday, 05 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/02-compiler-warning">Compiler Warning CS8981</a></h3>
<div class="post-subtitle">Discovering the new C#11 compiler warning CS8981</div>
<p class="post-meta">Published on Friday, 02 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/12/01-context-feature">Custom feature filters</a></h3>
<div class="post-subtitle">Defining custom feature filters to selectively enable functionality</div>
<p class="post-meta">Published on Thursday, 01 December 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/30-short-support">Short and arithmetic operations</a></h3>
<div class="post-subtitle">How arithmetic operators convert short values when performing operations</div>
<p class="post-meta">Published on Wednesday, 30 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/29-dyanmic-linq">Dynamic LINQ with System.Linq.Dynamic.Core</a></h3>
<div class="post-subtitle">How System.Linq.Dynamic.Core can be used to parse strings in LINQ dynamically</div>
<p class="post-meta">Published on Tuesday, 29 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/28-null-coalescing-assoc">Null-coalescing operator and associativity</a></h3>
<div class="post-subtitle">Chaining the null-coalescing operators together</div>
<p class="post-meta">Published on Monday, 28 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/25-preview-attribute">Opting into experimental functionality</a></h3>
<div class="post-subtitle">Using the RequiresPreviewFeatures attribute to create preview functionality</div>
<p class="post-meta">Published on Friday, 25 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/24-distributed-cache">Distributed caching int ASP.NET Core</a></h3>
<div class="post-subtitle">ASP.NET Core has build in distributed caching functionality with multiple providers</div>
<p class="post-meta">Published on Thursday, 24 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/23-thirteen-months">Supporting 13 months</a></h3>
<div class="post-subtitle">.NET has support for 13 months</div>
<p class="post-meta">Published on Wednesday, 23 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/22-ef-faster-delete">Efficient EF deletion</a></h3>
<div class="post-subtitle">Exploring a more efficient method to perform deletes in Entity Framework</div>
<p class="post-meta">Published on Tuesday, 22 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/21-list-convertall">List ConvertAll</a></h3>
<div class="post-subtitle">Converting list data types with ConvertAll</div>
<p class="post-meta">Published on Monday, 21 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/18-succinct-init">Succinct initialization pattern</a></h3>
<div class="post-subtitle">Succinct lazy initialization patterns with newer C# features</div>
<p class="post-meta">Published on Friday, 18 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/17-local-attributes">Local functions and attributes</a></h3>
<div class="post-subtitle">Since C#9, local functions are permitted to be decorated with attributes</div>
<p class="post-meta">Published on Thursday, 17 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/16-implicit-builder">Builder pattern implicit conversions</a></h3>
<div class="post-subtitle">Leveraging implicit conversions to make using the builder pattern easier</div>
<p class="post-meta">Published on Wednesday, 16 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/15-foreach-index">Foreach loops and indexes</a></h3>
<div class="post-subtitle">Using a tuple to keep track of an item index in a foreach loop</div>
<p class="post-meta">Published on Tuesday, 15 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/14-string-comparison">String comparison with StringComparer</a></h3>
<div class="post-subtitle">Using StringComparer.OrdinalIgnoreCase.Equals to compare strings instead of ToLower</div>
<p class="post-meta">Published on Monday, 14 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/11-list-add-performance">List AddRange performance</a></h3>
<div class="post-subtitle">Comparing the performance of the List AddRange and Add methods</div>
<p class="post-meta">Published on Friday, 11 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/10-awaiting-anything">Awaiting anything with GetAwaiter</a></h3>
<div class="post-subtitle">Using a GetAwaiter extension method to await any type</div>
<p class="post-meta">Published on Thursday, 10 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/09-localization-di">Adding localization with dependency injection</a></h3>
<div class="post-subtitle">Adding localization support to ASP.NET Core with dependency injection support</div>
<p class="post-meta">Published on Wednesday, 09 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/08-target-type-new">Target-type new expressions</a></h3>
<div class="post-subtitle">Omitting the target-type when .NET can infer the type</div>
<p class="post-meta">Published on Tuesday, 08 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/07-list-capacity">List capacity and performance</a></h3>
<div class="post-subtitle">How setting a Lists capacity explicitly can improve performance</div>
<p class="post-meta">Published on Monday, 07 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/04-interpolation-switch">Switch expression and string interpolation</a></h3>
<div class="post-subtitle">Switch expressions inside string interpolation expression with C#11</div>
<p class="post-meta">Published on Friday, 04 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/03-value-records">Primitive obsession and Value Records </a></h3>
<div class="post-subtitle">Leveraging records to assist overcoming primitive obsession</div>
<p class="post-meta">Published on Thursday, 03 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/02-directory-separator">Platform specific path separator</a></h3>
<div class="post-subtitle">The Path class contains platform specific characters</div>
<p class="post-meta">Published on Wednesday, 02 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/11/01-list-property-design">Generic List property wrapping</a></h3>
<div class="post-subtitle">Putting a generic List property behind a class to created cleaner code</div>
<p class="post-meta">Published on Tuesday, 01 November 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/31-jagged-array">Jagged array in C#</a></h3>
<div class="post-subtitle">Learning about jagged arrays in C#</div>
<p class="post-meta">Published on Monday, 31 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/28-sql-coalesce">SQL COALESCE uses</a></h3>
<div class="post-subtitle">Having a look at a few uses of SQL COALESCE</div>
<p class="post-meta">Published on Friday, 28 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/27-linq-tolookup">LINQ's ToLookup method</a></h3>
<div class="post-subtitle">Discovering LINQ has a ToLookup method for grouping collection items</div>
<p class="post-meta">Published on Thursday, 27 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/26-xml-swagger">OpenAPI documentation from XML documentation comments</a></h3>
<div class="post-subtitle">How XML documentation comments can be used to populate a swagger document</div>
<p class="post-meta">Published on Wednesday, 26 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/25-file-modifier">File access modifier</a></h3>
<div class="post-subtitle">Discovering the file access modifier in C#11</div>
<p class="post-meta">Published on Tuesday, 25 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/24-data-protection">Protecting sensitive data with data protection api</a></h3>
<div class="post-subtitle">Exploring the built-in C# data protection api</div>
<p class="post-meta">Published on Monday, 24 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/21-math-update">Using math functions on numeric types</a></h3>
<div class="post-subtitle">With .NET 7 the static Math class is no longer required for math functions</div>
<p class="post-meta">Published on Friday, 21 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/20-http-headers">Built in HTTP header properties</a></h3>
<div class="post-subtitle">ASP.NET Core has built-in properties for commonly used HTTP headers</div>
<p class="post-meta">Published on Thursday, 20 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/19-query-array">Binding query string values to an array</a></h3>
<div class="post-subtitle">Automatically binding a query string value to an array</div>
<p class="post-meta">Published on Wednesday, 19 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/18-utf8jsonreader">Performant deserialization with Utf8JsonReader</a></h3>
<div class="post-subtitle">Using Utf8JsonReader to deserialize a JSON string (to get a specific value)</div>
<p class="post-meta">Published on Tuesday, 18 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/17-cache-stats">Access cache stats with MemoryCacheStatistics</a></h3>
<div class="post-subtitle">Using MemoryCacheStatistics to better understand MemoryCache usage in an application</div>
<p class="post-meta">Published on Monday, 17 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/14-newtonsoft-jsonconverter">Deserializing incompatible types using JsonConverter</a></h3>
<div class="post-subtitle">How to deserialize incompatible types using Newtonsoft.Json and JsonConverter</div>
<p class="post-meta">Published on Friday, 14 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/13-objectpool">ObjectPool for resource management</a></h3>
<div class="post-subtitle">Using the ObjectPool class to keep objects in memory for reuse</div>
<p class="post-meta">Published on Thursday, 13 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/12-list-sort-performance">Primitive collection performance</a></h3>
<div class="post-subtitle">Having a look at .NET 7 Linq sort updates and collection sorting performance</div>
<p class="post-meta">Published on Wednesday, 12 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/11-readonly-list">ReadOnlyList and runtime errors</a></h3>
<div class="post-subtitle">Compile vs runtime error occurs with readonly lists</div>
<p class="post-meta">Published on Tuesday, 11 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/10-status-code-pages">Automatic redirect on http status code</a></h3>
<div class="post-subtitle">Using UseStatusCodePagesWithRedirects to automatically redirect to an error endpoint</div>
<p class="post-meta">Published on Monday, 10 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/07-linq-type-performance">Performant LINQ type checks</a></h3>
<div class="post-subtitle">Comparing the performance of type checking items using LINQ</div>
<p class="post-meta">Published on Friday, 07 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/06-string-create">Culture specific strings with String.Create</a></h3>
<div class="post-subtitle">Evaluating interpolated strings to a specific culture using String.Create</div>
<p class="post-meta">Published on Thursday, 06 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/05-middleware-parameter">Manually passing parameters to a middleware component</a></h3>
<div class="post-subtitle">Using manually supplied parameters in conjunction with injected parameters</div>
<p class="post-meta">Published on Wednesday, 05 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/04-app-run">Map all urls with IApplicationBuilder.Run</a></h3>
<div class="post-subtitle">Leveraging the IApplicationBuilder.Run method to map all URLs to an endpoint delegate</div>
<p class="post-meta">Published on Tuesday, 04 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/10/03-server-addresses">Obtaining a list of app URLs</a></h3>
<div class="post-subtitle">Using IServerAddressesFeature to get a list of URLs your app is responding to</div>
<p class="post-meta">Published on Monday, 03 October 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/30-min-api-cancellation">Minimal api's and cancellation tokens</a></h3>
<div class="post-subtitle">How to cancel aborted api calls with cancellation tokens</div>
<p class="post-meta">Published on Friday, 30 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/29-aot-improvements">Native AOT compilation with .NET 7</a></h3>
<div class="post-subtitle">Using ahead-of-time compilation for improved application startup performance and memory usage</div>
<p class="post-meta">Published on Thursday, 29 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/28-typed-middleware">Strongly typed middleware with IMiddleware</a></h3>
<div class="post-subtitle">Using IMiddleware to ensure correctly configured middleware</div>
<p class="post-meta">Published on Wednesday, 28 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/27-expando-property-change">dynamic, ExpandoObject and INotifyPropertyChanged</a></h3>
<div class="post-subtitle">Adding a property changed event handler to a ExpandoObject object</div>
<p class="post-meta">Published on Tuesday, 27 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/26-lazy-injection">Delaying injected dependency instantiation</a></h3>
<div class="post-subtitle">Using Lazy to delay the instantiation of injected dependencies</div>
<p class="post-meta">Published on Monday, 26 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/23-ef-bulk-update">Bulk update (and delete) in EF7</a></h3>
<div class="post-subtitle">New bulk update and delete functionality coming with Entity Framework 7</div>
<p class="post-meta">Published on Friday, 23 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/22-startup-filters">Extend the middleware pipeline with IStartupFilter</a></h3>
<div class="post-subtitle">Automatically extend the start or end of the middleware pipeline with IStartupFilter</div>
<p class="post-meta">Published on Thursday, 22 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/21-commandline-mappings">Simplifying command line argument with switch mappings</a></h3>
<div class="post-subtitle">Exploring switch mappings to simplify (and alias) command line arguments</div>
<p class="post-meta">Published on Wednesday, 21 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/20-taskcompletionsource">Representing an external operation with TaskCompletionSource</a></h3>
<div class="post-subtitle">Using TaskCompletionSource to cancel an external asynchronous operation</div>
<p class="post-meta">Published on Tuesday, 20 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/19-string-literals">UTF8 string literals in C#11</a></h3>
<div class="post-subtitle">How string literals are easily translated into bytes with C#11</div>
<p class="post-meta">Published on Monday, 19 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/16-application-lifetime">Application lifetime events with IHostApplicationLifetime</a></h3>
<div class="post-subtitle">Using IHostApplicationLifetime call back events to handle post-startup and graceful shutdown tasks</div>
<p class="post-meta">Published on Friday, 16 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/15-min-api-yield">Streaming responses from a minimal api </a></h3>
<div class="post-subtitle">How to use IAsyncEnumerable amd yield in a minimal api</div>
<p class="post-meta">Published on Thursday, 15 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/14-struct-default">Auto-default struct property values</a></h3>
<div class="post-subtitle">Struct properties auto defaulting coming in C# 11</div>
<p class="post-meta">Published on Wednesday, 14 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/13-activity-correlation">Correlation using the Activity class</a></h3>
<div class="post-subtitle">Using the Activity class to correlate requests across distributed systems</div>
<p class="post-meta">Published on Tuesday, 13 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/12-constructor-default-value">Constructors with default values</a></h3>
<div class="post-subtitle">Constructors with default values and dependency injection behavior</div>
<p class="post-meta">Published on Monday, 12 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/09-sql-waitfor">Delay SQL execution with WAITFOR</a></h3>
<div class="post-subtitle">Using the SQL WAITFOR command to delay the execution of a SQL statement</div>
<p class="post-meta">Published on Friday, 09 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/08-interpolation-formatting">Formatting interpolated strings</a></h3>
<div class="post-subtitle">How interpolated strings can be formatted without using the ToString method</div>
<p class="post-meta">Published on Thursday, 08 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/07-output-cache">.NET 7 API output caching</a></h3>
<div class="post-subtitle">An introduction into output caching coming with .NET 7</div>
<p class="post-meta">Published on Wednesday, 07 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/06-ef-property">Dynamic EF operations with EF.Property</a></h3>
<div class="post-subtitle">Using EF.Property to dynamically reference entity properties using a string</div>
<p class="post-meta">Published on Tuesday, 06 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/05-ping-programmatically">Performing a ping programmatically</a></h3>
<div class="post-subtitle">C# has a Ping class which enables Ping operations programmatically</div>
<p class="post-meta">Published on Monday, 05 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/02-enhanced-nameof">nameof enhancement in C# 11</a></h3>
<div class="post-subtitle">A look into C# 11 enhancement to the nameof expression</div>
<p class="post-meta">Published on Friday, 02 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/09/01-disposable-exceptions">Dispose vs Exception handling</a></h3>
<div class="post-subtitle">Exploring the sequence of event when using a disposable class inside a try-catch block</div>
<p class="post-meta">Published on Thursday, 01 September 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/31-rate-limiting">.NET 7 Rate limiting</a></h3>
<div class="post-subtitle">An introduction into rate limiting coming with .NET 7</div>
<p class="post-meta">Published on Wednesday, 31 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/30-ef-query-enumerable">Entity Framework: IQueryable vs IEnumerable</a></h3>
<div class="post-subtitle">How different collection types impact Entity Framework queries</div>
<p class="post-meta">Published on Tuesday, 30 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/29-global-namespace">Namespace-less types</a></h3>
<div class="post-subtitle">Reference types without a namespace and handling naming conflicts</div>
<p class="post-meta">Published on Monday, 29 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/26-constructor-out">Constructor out parameters</a></h3>
<div class="post-subtitle">A constructor can contain out and ref parameters</div>
<p class="post-meta">Published on Friday, 26 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/25-arraysegment">Delimit an array with ArraySegment</a></h3>
<div class="post-subtitle">Using ArraySegment to represent only a portion of a larger array</div>
<p class="post-meta">Published on Thursday, 25 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/24-route-filter">Route handler filters in .NET 7</a></h3>
<div class="post-subtitle">Learning about minimal api route handler filters coming in .NET 7</div>
<p class="post-meta">Published on Wednesday, 24 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/23-override-new">Override vs New behavior</a></h3>
<div class="post-subtitle">A look into polymorphism with override and new and their differing behavior</div>
<p class="post-meta">Published on Tuesday, 23 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/22-unsafe-cast">Unsafe cast for performance</a></h3>
<div class="post-subtitle">Performing unsafe casts for performance improvements</div>
<p class="post-meta">Published on Monday, 22 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/19-linq-oftype">Filter IEnumerable with OfType</a></h3>
<div class="post-subtitle">LINQ has a built in method to automatically filter a collection by a specific Type</div>
<p class="post-meta">Published on Friday, 19 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/18-enum-bit-flags">Combining enum values</a></h3>
<div class="post-subtitle">Using bit flags to combine enum values to simplify code</div>
<p class="post-meta">Published on Thursday, 18 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/17-parallelenumerable">Parallel processing with ParallelEnumerable </a></h3>
<div class="post-subtitle">Built in Linq parallel processing with ParallelEnumerable</div>
<p class="post-meta">Published on Wednesday, 17 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/16-redis-pub-sub">Pub/Sub with Redis</a></h3>
<div class="post-subtitle">Redis has pub/sub functionality in addition to being a key/value database</div>
<p class="post-meta">Published on Tuesday, 16 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/15-pattern-keywords">Complex Pattern Matching</a></h3>
<div class="post-subtitle">Pattern matching can contain IS, NOT, AND and OR keywords for more complex statements</div>
<p class="post-meta">Published on Monday, 15 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/12-options-create">Modifying configuration on load</a></h3>
<div class="post-subtitle">How configuration can be modified on load but still leverage the Options pattern</div>
<p class="post-meta">Published on Friday, 12 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/11-interop-services">OS information via Runtime.InteropServices</a></h3>
<div class="post-subtitle">Levering Runtime.InteropServices to execute OS specific functionality</div>
<p class="post-meta">Published on Thursday, 11 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/10-sql-over">An intro to SQL SELECT-OVER</a></h3>
<div class="post-subtitle">How the SQL SELECT-OVER clause can be used to simplify t-sql statements</div>
<p class="post-meta">Published on Wednesday, 10 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/p/2022-08-hashicorp-vault">HashiCorp Vault with C#</a></h3>
<div class="post-subtitle">A step by step guide to integrating into HashiCorp vault with C#</div>
<p class="post-meta">Published on Wednesday, 10 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/09-periodic-timer">Accurate, regular scheduling with PeriodicTimer</a></h3>
<div class="post-subtitle">Using PeriodicTimer to build an accurate, reliable background service</div>
<p class="post-meta">Published on Tuesday, 09 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/08-length-pattern-matching">String null or empty using pattern matching</a></h3>
<div class="post-subtitle">Leveraging pattern matching instead of string.IsNullOrEmpty - with performance benchmarks!</div>
<p class="post-meta">Published on Monday, 08 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/05-windows-service">Windows services with .NET Core</a></h3>
<div class="post-subtitle">Configuring a background service to run as a Windows Service</div>
<p class="post-meta">Published on Friday, 05 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/04-minimal-api-return-type">Dynamically changing minimal api return type</a></h3>
<div class="post-subtitle">Changing minimal api return content types dynamically (including to xml)</div>
<p class="post-meta">Published on Thursday, 04 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/03-string-interpolation-alignment">String interpolation with alignment</a></h3>
<div class="post-subtitle">String interpolation provides a mechanism to align (and pad) interpolated values</div>
<p class="post-meta">Published on Wednesday, 03 August 2022</p>
</div>
<div class="post-buffer-small"><br /></div>
<div class="post-preview">
<h3 class="post-title"><a href="/dailydrop/2022/08/02-activatorutilities">ActivatorUtilities to create instances</a></h3>
<div class="post-subtitle">The ActivatorUtilities class can be used to create instances of classes, in conjunction with DI</div>
<p class="post-meta">Published on Tuesday, 02 August 2022</p>