Do you think of programming as an art or as a necessity? Do you think of programming as a passion or just something to make money off of? Do you find that when you write a program you are brought to a place that can no longer be called a job, but a life changing experience?
"A man can be an artist… in anything, food, whatever. It depends on how good he is at it. Creasey’s art is death. He’s about to paint his masterpiece." – Man on Fire
In this blog entry, I list the essential tips and tricks that every developer who uses Visual Studio 2008 should know. I wanted to keep this list brief. I also wanted to focus on only those tips and tricks that I use on a daily basis. Almost all of these tips and tricks are just as useful regardless of whether you are building an ASP.NET Web Forms or ASP.NET MVC application.
- You don’t need to select a line to copy or delete it
- You can add a namespace automatically by pressing CTRL-.
- Never create properties by hand
- You can remove and sort unnecessary using statements
- Use CTRL-k+c to comment out code
- You can close all documents except the current one
- You can open a database by double-clicking the database file in App_Data
- You can copy a file or folder into a project by dragging and dropping
- Use CTRL-SPACE to perform statement completion
- Add new items by pressing CTRL-N or CTRL-SHIFT+A
- You don’t need to type file extensions when adding a file
When Netscape started the Mozilla browser, it made the conscious decision to support W3C standards. As a result, Mozilla is not fully backwards-compatible with Netscape Navigator 4.x and Microsoft Internet Explorer legacy code; for example, Mozilla does not support as I will discuss later. Browsers, like Internet Explorer 4, that were built before the conception of W3C standards inherited many quirks. In this article, I will describe Mozilla’s quirks mode, which provides strong backwards HTML compatibility with Internet Explorer and other legacy browsers.