My new favorite macro in Visual Studio 2008 is control-D then control-K. Hit that key sequence and voila: all code on the page has been formatted. It’s especially helpful when copy-pasting. Just a tip from Tim to make your life easier!
Continue reading about Auto Format Code in Visual Studio 2008
Here’s a cool method for resizing a browser window using a simple shortcut in your bookmarks. This has been especially helpful since I can’t use Firebug at work (we’re forced to use IE6 – I know, it sucks), and the IE Developer toolbar always breaks on my work machine. How ghetto…
Here’s the link.
Cross site scripting can be a tough vulnerability to eliminate, but it doesn’t necessarily have to be. If you’re working on an ASP.NET project, the Microsoft Anti-XSS library is easy to use and freely available. Like a lot of developers, I’ve rolled my own anti-XSS by escaping specific characters, but it’s usually clunky and let’s [...]
Continue reading about Getting Serious About Security – Part 2 – XSS