Errors disappear. Whyasync void cannot be awaited. Fix async Task MethodAsync()
Category: Development
CSS — min-width: 0 Fixes Broken Flex Layouts
Flex items refuse to shrink by default. ✅ Fix min-width: 0;
SQL — ORDER BY Without Index Causes TempDB Spikes
Large sorts spill to TempDB. ✅ Fix Create supporting indexes for ORDER BY columns.
SQL “Zombie TempDB” — The Invisible Performance Killer
TempDB grows silently until EVERYTHING slows. ✔ Fix: Right-size files ALTER DATABASE tempdb MODIFY FILE (NAME=’tempdev’, SIZE=4GB); And create multiple TempDB files: 4–8 files = massive improvement 💡 Why? TempDB is used for: joins sorting hashing version store This tweak alone boosts 90% of sluggish systems.
How to format date in Javascript
function formatDate(date) { var d = new Date(date), month = ” + (d.getMonth() + 1), day = ” + d.getDate(), year = d.getFullYear(); if (month.length < 2) month = ‘0’ + month; if (day.length < 2) day = ‘0’ + day; return [day, month, year].join(‘.’); } OUTPUT: 19.05.2024 NOTE: If you make the return like […]



