Posts

Showing posts from January, 2016

Visual Studio Usage: Peek Definition Hotkey

Very nice way to quickly check a definition in Visual Studio (2015). Alt+F12 Sources: How to: View and Edit Code by Using Peek Definition (Alt+F12)

Visual Studio Usage: Visual Scrollbar

Image
In Visual Studio (2013) there is the option to enable a visual scrollbar. Tools / Options Text Editor / All Languages / Scroll Bars Behavior / Use map mode for vertical scroll bar

Visual Studio Usage: Comment / Uncomment Hotkeys

Very nice way to quickly comment and uncomment certain code-parts in Visual Studio (2015). Comment: Ctrl-K, Ctrl-C Uncomment: Ctrl-K, Ctrl-U

HTML: name vs id

Are they the same? Not if there is an article on it: name: identifies the HTML control, if things go up to the server id: identifies the HTML control for client-side scripting Sources: Introduction to ASP.NET MVC (Published: 09 August 2014), Customizing Controllers @~27min

Windows Server Backup: Getting rid of too many backups

Windows Server 2012/R2 manages the backups itself. It claims to not fill the harddisk and manage itself, which backups to keep and which to replace by others. But maybe there is the need to get rid of more backups than the automatic retention decides. To keep e.g. only 30 backups: Run Cmd as admin WBADMIN DELETE BACKUP -keepVersions:30 Or more general: WBADMIN DELETE BACKUP -keepVersion: -BackupTarget: To delete individual backups see the further examples: WBADMIN DELETE BACKUP -version:03/31/2006-10:00 WBADMIN DELETE BACKUP -backupTarget:f: -deleteOldest Note that the time must be given in UTC. So, while it shows up in the user interface as CEST "16:00" it has to be specified as "14:00" on the command line. Sources: Wbadmin