Skip to content

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Tag: Windows optimization

Windows

Windows 11 Power User Secret: How PowerToys Makes You 3x More Productive

- 05.02.26 - ErcanOPAK comment on Windows 11 Power User Secret: How PowerToys Makes You 3x More Productive

Still alt-tabbing between windows like it’s 1995? Microsoft PowerToys transforms Windows 11 into a productivity powerhouse. PowerToys Awesomeness You’re Missing: # Download and install (winget) winget install Microsoft.PowerToys –source winget # Or via GitHub releases # https://github.com/microsoft/PowerToys/releases # Essential modules to enable immediately: FancyZones: Window Management on Steroids Default Windows: Drag window to edge = […]

Read More
Windows

Disable Windows 11 Bloatware and Telemetry with PowerShell (Takes 2 Minutes)

- 01.02.26 | 01.02.26 - ErcanOPAK comment on Disable Windows 11 Bloatware and Telemetry with PowerShell (Takes 2 Minutes)

Fresh Windows 11 install comes with 30+ unnecessary apps and aggressive telemetry. Here’s the nuclear option to clean it all at once. The One-Script Solution: Open PowerShell as Administrator and run: # Remove bloatware apps Get-AppxPackage -AllUsers | Where-Object { $_.Name -like “*Xbox*” -or $_.Name -like “*3DViewer*” -or $_.Name -like “*Solitaire*” -or $_.Name -like “*Spotify*” […]

Read More
Windows

Fix Random UI Lag Without Touching Hardware

- 31.01.26 - ErcanOPAK comment on Fix Random UI Lag Without Touching Hardware

Cause Background apps + power profile mismatch. Fix Settings → Power → Power Mode → Best performance Disable “Startup apps” you don’t need Turn off transparency effects Why this works Windows dynamically downclocks UI threads on balanced mode.

Read More
Windows

Why Windows 11 Randomly Resets Power Plans

- 29.01.26 - ErcanOPAK comment on Why Windows 11 Randomly Resets Power Plans

Laptop suddenly throttles. Fans silent. Performance tanks. Hidden cause Windows Update silently resets: Power plan CPU min/max state PCI Express power management Fix Duplicate your power plan Never use “Balanced” Lock CPU minimum to 100% when plugged

Read More
February 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Jan    

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (935)
  • How to add default value for Entity Framework migrations for DateTime and Bool (832)
  • Get the First and Last Word from a String or Sentence in SQL (826)
  • How to select distinct rows in a datatable in C# (799)
  • How to make theater mode the default for Youtube (717)
  • Add Constraint to SQL Table to ensure email contains @ (574)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (553)
  • Average of all values in a column that are not zero in SQL (520)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (474)
  • Find numbers with more than two decimal places in SQL (436)

Recent Posts

  • C#: Use MemoryPack for 10x Faster Serialization than JSON
  • C#: Use params ReadOnlySpan for Allocation-Free Variable Arguments
  • C#: Use ObjectPool for Reusing Expensive Objects
  • C#: Use Lazy for Expensive Object Initialization
  • SQL: Use STRING_AGG to Concatenate Rows into Comma-Separated List
  • SQL: Use Filtered Indexes to Index Only Subset of Rows
  • .NET Core: Use Result Pattern to Avoid Exceptions for Expected Errors
  • .NET Core: Use IOptions Pattern for Strongly-Typed Configuration
  • Git: Use .gitattributes to Handle Line Endings Across OS
  • Git: Use git notes to Add Comments to Commits Without Changing History

Most Viewed Posts

  • Get the User Name and Domain Name from an Email Address in SQL (935)
  • How to add default value for Entity Framework migrations for DateTime and Bool (832)
  • Get the First and Last Word from a String or Sentence in SQL (826)
  • How to select distinct rows in a datatable in C# (799)
  • How to make theater mode the default for Youtube (717)

Recent Posts

  • C#: Use MemoryPack for 10x Faster Serialization than JSON
  • C#: Use params ReadOnlySpan for Allocation-Free Variable Arguments
  • C#: Use ObjectPool for Reusing Expensive Objects
  • C#: Use Lazy for Expensive Object Initialization
  • SQL: Use STRING_AGG to Concatenate Rows into Comma-Separated List

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com