Skip to content
Tips and tricks
NuGet
Initializing search
linkdotnet/tips-and-tricks
Tips and tricks
linkdotnet/tips-and-tricks
Array
Async / Await
Blazor
Collections
Debugging
Dictionary
Exceptions
LINQ
Misc
Strings
ValueTuple
Advanced
Advanced
Advanced
ArrayPools to minimize allocations
Boxing/Unboxing
Iterate through a List
Lambda vs method group
Lazy
SIMD
Span
stackalloc
struct
EF Core
EF Core
EF Core
Detailed Logging
Don't track readonly entities
Define maximum length for strings
LoadAsync
In Memory database with SQLite
Retry on failure
SplitQuery
Logging
Logging
Logging
Compile-time logging source generator
Don't use string interpolation
NuGet
NuGet
NuGet
Use floating versioning
Regular Expressions
Regular Expressions
Regular Expressions
RegExOptions
Right to left search
Source Code Generators
NuGet
¶
This section will look into tips and tricks when working with NuGet.